https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126128
Bug ID: 126128
Summary: GCC/AIX doesn't build with '--disable-multilib'
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: build
Severity: minor
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
CC: dje at gcc dot gnu.org
Target Milestone: ---
Target: AIX
This is possibly going to become RESOLVED, WONTFIX -- but as I've recently run
into the following issue, and could find a handful of similar reports (in
various PRs, mailing list posts), but never the reason/solution posted, I'm now
raising this here.
A GCC/AIX build on cfarm119 stopped due to:
[...]
ar -X64 x ../ppc64/libgcc/libgcc_s.a shr.o
ar: 0707-100 ../ppc64/libgcc/libgcc_s.a does not exist.
make[2]: *** [../../../source-gcc/libgcc/config/rs6000/t-slibgcc-aix:102:
all] Error 1
make[2]: Leaving directory '[...]/build-gcc/powerpc-ibm-aix7.3.1.0/libgcc'
make[1]: *** [Makefile:13290: all-target-libgcc] Error 2
make[1]: Leaving directory '[...]/build-gcc'
make: *** [Makefile:1102: all] Error 2
Turns out, I had '--disable-multilib' on the 'configure' command line (copied
form other GCC configurations I was building). Remove that, re-'configure',
and it proceeds.
Should '--disable-multilib' be supported for GCC/AIX? If not, should it be
rejected at 'configure'-time?