https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120513

--- Comment #22 from Greg Chandler <chandleg at wizardsworks dot org> ---
Well, I guess the next thing I needed to do was chug my morning cup of cherry
coke to wake up...  Since I was too tired to catch it last night, and clearly
not paying attention this morning.  The linker error was due to the
--diable-shared, and some legacy files.  So with a reverse of that flag, I have
a non-erroring working cross again:

for x in gcc alpha-linux-gnu-gcc alpha-linux-gnu-g++ ; do $x 2.cpp ; file a.out
; rm a.out ; done
a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, with debug_info, not stripped
a.out: ELF 64-bit LSB pie executable, Alpha (unofficial), version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2, with debug_info, not
stripped
a.out: ELF 64-bit LSB pie executable, Alpha (unofficial), version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux.so.2, with debug_info, not
stripped

Guess it's time for the big plunge on the native build..

Reply via email to