Hi Art, > My builds on my X86 solaris box have failed since yesterday, and > I've just found bug 43615 in Bugzilla which indicates a different > but similar issue for an x86-64 build.I'm running Solaris 10 on an > older Dell box with a Pentium4 chip, and have been building > gcc with the '--disable-multilib' argument for quite some time. > > Here's the config info from the last build which worked: > > $ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/i386-pc-solaris2.10/4.5.0/lto-wrapper > Target: i386-pc-solaris2.10 > Configured with: /home/ahaas/gnu/gcc.git/configure > --prefix=/export/home/arth/local --enable-languages=c,c++,objc,fortran > --disable-nls --with-gmp=/export/home/arth/local > --with-mpfr=/export/home/arth/local --enable-checking=release > --enable-threads --with-gnu-as --with-as=/export/home/arth/local/bin/as > --with-gnu-ld --with-ld=/export/home/arth/local/bin/ld --disable-multilib > --disable-libstdcxx-pch --enable-objc-gc --build=i386-pc-solaris2.10 > --with-arch=pentium4 --with-tune=pentium4 > Thread model: posix > gcc version 4.5.0 20100330 (experimental) (GCC) > > Here's the last bits of today's build log - the '--disable-multilib' configure > option should have skipped the 'amd64' stuff below ...
The --disable-multilib option has been broken by a recent patch. This is a known bug and will hopefully be fixed soon. Configuring with --with-arch=pentium4 --with-tune=pentium4 is wrong and doesn't work in the general case, as you've discovered, since it breaks the 64-bit support. You just didn't notice the problem before due to --disable-multilib. Use --with-arch_32=pentium4 --with-tune_32=pentium4 instead, or simply update to current mainline: my patch to default the i?86-*-solaris2* configurations to pentium4 just went in. As for the other configure options: --enable-threads is superfluous, it's the default. What are you trying to achieve with --disable-libstdcxx-pch? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University