Re: In stage1 bootstrap assembler claims Error: junk at end of line, first unrecognized character is `/'

Simon Richter <[email protected]> Fri, 10 Apr 2026 16:11:19 +0900
Newsgroups gmane.comp.gcc.help
Message-ID <[email protected]>
Hi,

On 4/10/26 3:45 AM, Dennis Clarke via Gcc-help wrote:

>>> centauri# cat alpha-unknown-openbsd7.8/libgcc/qrnnd.vis
>>>           .hidden ../../../gcc-8.5.0/libgcc/config/alpha/qrnnd.S
>>>           .hidden __udiv_qrnnd

>> The slash is what it considers junk. It says so in the error message.

> Yes ... and I SEE THAT. So what is wrong here? Why does the bootstrap
> just fail? Is this the end of the line and no way forwards or around or
> what? There has to be a path forwards somewhere in this mess.

It's trying to declare a hidden symbol with a path name.

Path names should not become symbol names, so I suspect a that this file 
is generated, and this generation step does not adequately process the 
input data (e.g. because it uses objdump or nm output to get a list of 
symbols, and then uses a regex to filter them, and the regex for some 
reason also matches something it shouldn't.

(Disclaimer: I haven't actually looked at what is happening here, but 
that sounds like the most plausible explanation)

    Simon