https://sourceware.org/bugzilla/show_bug.cgi?id=26040
Bug ID: 26040 Summary: [2.34 regression] binutils fails to build a cross-GCC 10.1 targeting aarch64-linux-gnu Product: binutils Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: bneumeier at gmail dot com Target Milestone: --- When attempting to build an aarch64 cross-toolchain on an x86_64 system, gcc crashes on some files, e.g. libgcc/unwind-c.c, with error messages from gas: /tmp/cc3usGId.s: Assembler messages: /tmp/cc3usGId.s: Error: invalid operands (*ABS* and *GAS `expr' section* sections) for `*' when setting `.LVU94' /tmp/cc3usGId.s: Error: can't resolve value for symbol `.LVU94' I'm attaching the compiled code for unwind-c as generated by gcc with standard "-O2" optimization settings -- which gas rejects as described -- and with an additional "-fno-align-loops" directive, which gas processes without complaints. I repeated the exact same build process using binutils 2.33.1, and this problem did not occur -- hence my conjecture that this is a regression introduced in 2.34. I originally filed this on the GCC bugzilla at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95318, and some of the detail there may be useful or informative. In particular, Andrew Pinski commented on that bug that the fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95318 may be related. -- You are receiving this mail because: You are on the CC list for the bug.