Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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
Attached to Project: Rockbox
Opened by cockroach - 2019-11-04
Last edited by speachy - 2020-10-20

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.

Closed by  speachy
2020-10-20 21:27
Reason for closing:  Out of Date
Additional comments about closing:  

I'm going to close this, we've updated all toolchains to GCC 4.9.4, and there are no known toolchain build issues at this time.

Admin

THis might help GCC, but the binutils build is still broken.

I haven't had any issues building binutils, only GCC

Admin

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?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing