- Status Unconfirmed
- Percent Complete
- Task Type Bugs
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#13180 - Cross-compiling the toolchain fails with GCC 9.2
Trying to cross-compile GCC for the ipod with GCC 9.2 I keep running into errors:
In file included from ../../gcc-4.4.4/gcc/diagnostic.h:25,
from ../../gcc-4.4.4/gcc/tree-mudflap.c:43:
../../gcc-4.4.4/gcc/pretty-print.h: At top level:
../../gcc-4.4.4/gcc/pretty-print.h:310:6: error: ‘cgraph_node’ is not defined as a type
310 | ATTRIBUTE_GCC_PPDIAG(2,3);
| ^~~~~~~~~~~~~~~~~~~~
This would seem to be the same issue as the one described on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677
The attached patch against GCC seems to fix the problem for me.
THis might help GCC, but the binutils build is still broken.
I haven't had any issues building binutils, only GCC
Looking at the upstream ticket it's apparently fixed in GCC 9.3+ and 10.1+ …
With git master (905e19905) I'm able to successfully build all toolchains on a gcc 10.1-equipped Fedora 32 system. What's the distro you're using? Will they update to gcc 9.3?