This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Update default arch for x86


On Fri, Feb 26, 2010 at 05:06:00PM -0500, Jason Merrill wrote:
> On 02/26/2010 03:56 PM, H.J. Lu wrote:
>> Here is the updated patch to replace arch_fpmath_pentium4 with
>> arch_without_sse2.  OK to install?
>
> OK.
>
> Jason

   The current gcc trunk no longer allows darwin10 to build with the
configuration...

../gcc-4.5-20100226/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib --build=i686-apple-darwin10 --host=i686-apple-darwin10 --target=i686-apple-darwin10

The build hangs in the x86_64 libgcc multilib subdirectory with the config.log errors there of...

configure:3019: /sw/src/fink.build/gcc45-4.4.999-20100226/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20100226/darwin_objdir/./gcc/ -B/sw/lib/gcc4.5/i686-apple-darwin10/bin/ -B/sw/lib/gcc4.5/i686-apple-darwin10/lib/ -isystem /sw/lib/gcc4.5/i686-apple-darwin10/include -isystem /sw/lib/gcc4.5/i686-apple-darwin10/sys-include  -m64 -o conftest -g -O2   conftest.c  >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
configure:3022: $? = 1
configure:3210: checking for suffix of object files
configure:3232: /sw/src/fink.build/gcc45-4.4.999-20100226/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20100226/darwin_objdir/./gcc/ -B/sw/lib/gcc4.5/i686-apple-darwin10/bin/ -B/sw/lib/gcc4.5/i686-apple-darwin10/lib/ -isystem /sw/lib/gcc4.5/i686-apple-darwin10/include -isystem /sw/lib/gcc4.5/i686-apple-darwin10/sys-include  -m64 -c -g -O2  conftest.c >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
configure:3236: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3250: error: in `/sw/src/fink.build/gcc45-4.4.999-20100226/darwin_objdir/i686-apple-darwin10/x86_64/libgcc':
configure:3253: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

If I omit the use of "--build=i686-apple-darwin10 --host=i686-apple-darwin10 --target=i686-apple-darwin10" from the
invocation of configure, the problem still remains.
                Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]