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, 26 Feb 2010, H.J. Lu wrote:

> On Fri, Feb 26, 2010 at 5:29 PM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
> > 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...
> >
> 
> That will happen for all i[34567]86-*-* targets which also require 64bit ISA.
> This patch avoids setting the default arch if 64bit ISA is required and
> i[34567]86-*-* targets don't support 64bit ISA.

If 64-bit support is required, whether for a target with 64-bit multilibs 
by default or where enabled by --enable-targets=all, using an i686-* 
target should mean --with-arch-32=i686 without implying any particular 
--with-arch-64 option.

-- 
Joseph S. Myers
joseph@codesourcery.com

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