https://sourceware.org/bugzilla/show_bug.cgi?id=30006
Bug ID: 30006 Summary: Failure to build binutils-2.40 on i686 Product: binutils Version: 2.40 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: satadru at gmail dot com Target Milestone: --- Trying to build binutils 2.40 with GCC 12.2.1 and binutils 2.39 on i686 (Linux/Chromebrew). I have no issues building for x86_64 or armv7l. I get this: lto-wrapper: note: see the ‘-flto’ option documentation for more information ../libiberty/../../libiberty/cp-demangle.c: In function ‘d_demangle_callback.constprop’: ../libiberty/../../libiberty/cp-demangle.c:6729:1: warning: stack usage might be unbounded [-Wstack-usage=] 6729 | d_demangle_callback (const char *mangled, int options, | ^ ../libiberty/../../libiberty/cp-demangle.c: In function ‘d_demangle’: ../libiberty/../../libiberty/cp-demangle.c:6846: warning: stack usage might be unbounded [-Wstack-usage=] 6846 | d_demangle (const char *mangled, int options, size_t *palc) | ../libiberty/../../libiberty/cp-demangle.c: In function ‘is_ctor_or_dtor’: ../libiberty/../../libiberty/cp-demangle.c:7052: warning: stack usage might be unbounded [-Wstack-usage=] 7052 | is_ctor_or_dtor (const char *mangled, | ../libiberty/../../libiberty/cp-demangle.c: In function ‘d_demangle’: ../libiberty/../../libiberty/cp-demangle.c:6846: warning: stack usage might be unbounded [-Wstack-usage=] 6846 | d_demangle (const char *mangled, int options, size_t *palc) | ../libiberty/../../libiberty/cp-demangle.c: In function ‘cplus_demangle_print_callback.constprop’: ../libiberty/../../libiberty/cp-demangle.c:4589: warning: stack usage might be unbounded [-Wstack-usage=] 4589 | cplus_demangle_print_callback (int options, | ../libiberty/../../libiberty/cp-demangle.c: In function ‘cplus_demangle_print_callback.constprop’: ../libiberty/../../libiberty/cp-demangle.c:4589: warning: stack usage might be unbounded [-Wstack-usage=] 4589 | cplus_demangle_print_callback (int options, | make[4]: Leaving directory '/usr/local/tmp/crew/binutils.20230115032530.dir/binutils-2.40/build/gold' make[3]: Leaving directory '/usr/local/tmp/crew/binutils.20230115032530.dir/binutils-2.40/build/gold' make[2]: Leaving directory '/usr/local/tmp/crew/binutils.20230115032530.dir/binutils-2.40/build/gold' make[1]: Leaving directory '/usr/local/tmp/crew/binutils.20230115032530.dir/binutils-2.40/build' make: *** [Makefile:1005: all] Error 2 -- You are receiving this mail because: You are on the CC list for the bug.