COLLECT_GCC_OPTIONS broken on trunk and gcc-3.0 branch
David Edelsohn
dje@watson.ibm.com
Wed Aug 8 11:45:00 GMT 2001
Rainer's patch has broken COLLET_GCC_OPTIONS. With his patch,
COLLECT_GCC_OPTIONS on AIX is *empty*. When building libgcc2, before his
patch, collect2 shows:
COLLECT_GCC_OPTIONS = '-B./' '-O2' '-DIN_GCC' '-W' '-Wall'
'-Wwrite-strings' '-W strict-prototypes' '-Wmissing-prototypes' '-isystem'
'./include' '-g1' '-DHAVE_G THR_DEFAULT' '-DIN_LIBGCC2'
'-D__GCC_FLOAT_NOT_NEEDED' '-shared' '-nodefaultlibs ' '-o' 'fooshr.o'
'-maix64'
After his patch:
COLLECT_GCC_OPTIONS is not present whatsoever.
This causes errors like:
ld: 0711-738 ERROR: Input file /tmp//ccwSK62O.o:
XCOFF32 object files are not allowed in 64-bit mode.
when bootstrapping on AIX because collect2 does not invoke xgcc with the
-maix64 option.
This is a regression from gcc-3.0. I am opening a PR and marking
it as high priority. This causes build failures on both the trunk and the
branch.
David
More information about the Gcc
mailing list