I configured with:

CONFIG_SHELL=/usr/bin/bash CFLAGS="-O9 -maltivec -mabi=altivec" CXXFLAGS="-g
-O9 -maltivec -mabi=altivec" CFLAGS_FOR_TARGET="-O9 -maltivec -mabi=altivec"
LIBCFLAGS="-g -O9 -maltivec -mabi=altivec" LIBCXXFLAGS="-g -O9 -maltivec
-mabi=altivec" LIBGCC2_CFLAGS="-g -O9 -maltivec -mabi=altivec"
/home/devel/build/gcc-4.2.4/configure --enable-threads=aix
--enable-version-specific-runtime-libs --disable-nls --enable-libgcj-debug
--enable-libgcj-multifile --with-x --enable-gtk-cairo
--enable-gather-detailed-mem-stats --enable-languages=all

and built with:

CONFIG_SHELL=/usr/bin/bash BOOT_CFLAGS="-O9 -maltivec -mabi=altivec"
CFLAGS="-O9 -maltivec -mabi=altivec" CXXFLAGS="-O9 -maltivec -mabi=altivec"
LIBCFLAGS="-g -O9 -maltivec -mabi=altivec" LIBCXXFLAGS="-g -O9
-fno-implicit-templates -maltivec -mabi=altivec" LIBGCC2_CFLAGS="-g -O9
-maltivec -mabi=altivec" nohup /usr/local/bin/make -j 4 bootstrap&

(I used bash 3.2.48. The AIX version is 5.2.0.0-10. GCC compiler used for
 the build is 3.4.6)

I got the following error output:

ar cru libcpp.a charset.o directives.o errors.o expr.o files.o identifiers.o
ini
t.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o
ranlib libcpp.a
gcc -g -fkeep-inline-functions -Wl,-bbigtoc -o makedepend \
  makedepend.o libcpp.a ../libiberty/libiberty.a \

checking whether ldgetname is declared... make[3]: Leaving directory
`/home/deve
l/build/objdir.424/libcpp'
yes
checking whether times is declared... yes
checking whether sigaltstack is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
Using `/home/devel/build/gcc-4.2.4/gcc/config/rs6000/rs6000.c' for
machine-speci
fic logic.
Using `/home/devel/build/gcc-4.2.4/gcc/config/rs6000/rs6000.md' as machine
descr
iption file.
Using the following target machine macro files:
        /home/devel/build/gcc-4.2.4/gcc/config/rs6000/rs6000.h
        /home/devel/build/gcc-4.2.4/gcc/config/rs6000/aix.h
        /home/devel/build/gcc-4.2.4/gcc/config/rs6000/aix52.h
        /home/devel/build/gcc-4.2.4/gcc/config/rs6000/xcoff.h
Using host-default.o for host machine hooks.
checking whether NLS is requested... no
checking for as... /usr/bin/as
checking what assembler to use... /usr/bin/as
checking for ld... /usr/bin/ld
checking what linker to use... /usr/bin/ld
/home/devel/build/gcc-4.2.4/gcc/configure: line 13535: test: too many arguments
checking for nm... /usr/bin/nm
checking what nm to use... /usr/bin/nm
checking for objdump... no
checking what objdump to use... not found
checking assembler for .balign and .p2align... no
checking assembler for .p2align with maximum skip... no
checking assembler for working .subsection -1... no
checking assembler for .weak... yes
checking assembler for .weakref... no
checking assembler for .nsubspa comdat... no
checking assembler for .hidden... no
checking linker for .hidden support... no
checking assembler for .sleb128 and .uleb128... no
checking assembler for eh_frame optimization... no
checking assembler for section merging support... no
checking assembler for section merging support... (cached) no
checking assembler for COMDAT group support... no
checking assembler for COMDAT group support... no
checking assembler for thread-local storage support... no
checking linker -Bstatic/-Bdynamic option... no
checking assembler for mfcr field support... no
checking assembler for popcntb support... yes
checking assembler for fp round support... yes
checking assembler for rel16 relocs... no
checking assembler for dwarf2 debug_line support... no
checking assembler for buggy dwarf2 .file directive... no
checking assembler for --gdwarf2 option... no
checking assembler for --gstabs option... no
checking linker read-only and read-write section mixing... unknown
checking linker PT_GNU_EH_FRAME support... no
checking linker position independent executable support... no
checking linker --as-needed support... no
checking linker --sysroot support... no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for powerpc-ibm-aix5.2.0.0.
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating libada-mk
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing default commands
make[3]: Entering directory `/home/devel/build/objdir.424/gcc'


-- 
           Summary: configure: too many arguments
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ltg at zes dot uni-bremen dot de
 GCC build triplet: powerpc-ibm-aix5.2.0.0
  GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38546

Reply via email to