public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* gcc-11 - arm cross-compiler with golang build error. runtime.inc
@ 2021-06-22 16:19 Lance Fredrickson
0 siblings, 0 replies; only message in thread
From: Lance Fredrickson @ 2021-06-22 16:19 UTC (permalink / raw)
To: gcc-bugs
I build an arm cross-compiler with support for golang, but am getting
build error on gcc-11. I've tried a couple toolchain creators (ie
crosstool-ng) with the same results.
kernel 2.6.36.4
arm soft-float (no fpu)
using uclibc-ng for my c-library
runtime.inc (which I guess is generated because it's not present until
building) seems to be missing a couple struct definitions? I don't see
any includes, so I'm wondering if they somehow get missed in generation?
Please cc me.
thanks,
Lance
In file included from ../../../libgo/runtime/runtime.h:105,
from ../../../libgo/runtime/go-main.c:17:
./runtime.inc:1357:29: error: field ‘__state’ has incomplete type
1357 | struct ___mbstate_t __state;
| ^~~~~~~
./runtime.inc:1360:33: error: field ‘__lock’ has incomplete type
1360 | struct _pthread_mutex_t __lock;
| ^~~~~~
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-22 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 16:19 gcc-11 - arm cross-compiler with golang build error. runtime.inc Lance Fredrickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).