[Bug go/101246] gccgo cross-compiler targeting arm fails to build with gcc 11. Missing structs in runtime.inc. Using uclibc-ng

lancethepants at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 8 21:20:02 GMT 2021


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

--- Comment #5 from Lance Fredrickson <lancethepants at gmail dot com> ---
Just to check another architecture, I tried building gccgo-11 for x86_64 and
uclibc-ng.  With gcc-11 I get the same build-time error with x86_64 as I did
with arm. 

gccgo-10 for x86_64 & uclibc-ng did build, but when compiling a simple program
I get a few undefined errors I don't have with arm.
undefined reference to `__wrap_pthread_create'
undefined reference to `__morestack_block_signals'
undefined reference to `__generic_morestack'
undefined reference to `__morestack_unblock_signals'

Probably needs to be its own bug report. Not sure if gcc-10 will see more
releases, but I would guess it would still be present in gcc-11 if it built.

I hope uclibc-ng still gets some love from gcc and is supported.  It plays nice
with old kernels, has more supported targets, and is still actively developed.


More information about the Gcc-bugs mailing list