Re: In stage1 bootstrap assembler claims Error: junk at end of line, first unrecognized character is `/'
Dennis Clarke via Gcc-help <[email protected]> Fri, 10 Apr 2026 03:47:48 -0400
| Newsgroups | gmane.comp.gcc.help |
|---|---|
| Organization | GENUNIX |
| Message-ID | <[email protected]> |
On 4/10/26 03:11, Simon Richter wrote: > 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 Thank you kind Sir ! Some other people have gathered around and are involved in this and a really top notch computer scientist type guy ( the real thing ! ) says to me that I am chewing way too much in one bite. I was directed to : https://github.com/just-buildsystem/bootstrappable-toolchain/blob/master/doc/BOOTSTRAP.md There is a procedure wherein a person could bootstrap GCC on a toaster if needed. I have gone back to just trying a trivial compile of nothing more than GCC 4.7.4 with the very minimal configuration. Also with the correct "infrastructure" bits for that version. That has been working well up until the linker has a fit looking for the dreaded crt1.o file : configure:3664: checking for C compiler default output file name configure:3686: /opt/bw/build/gcc-4.7.4_OpenBSD_alpha_21164.001/./gcc/xgcc -B/opt/bw/build/gcc-4.7.4_OpenBSD_alpha_21164.001/./gcc/ -B/opt/bw/imed/gcc4/alpha-unknown-openbsd7.8/bin/ -B/opt/bw/imed/gcc4/alpha-unknown-openbsd7.8/lib/ -isystem /opt/bw/imed/gcc4/alpha-unknown-openbsd7.8/include -isystem /opt/bw/imed/gcc4/alpha-unknown-openbsd7.8/sys-include -g -O2 -mieee conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: error: ld returned 1 exit status That is in the GNU OpenMP Runtime Library directory. So now I am trying to figure out how to get past that hurdle. -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken