This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: build failure on i[56]86


Ben Collins <bcollins@debian.org> writes:

> On Sat, Feb 10, 2001 at 06:52:58PM +0100, Andreas Jaeger wrote:
> > Ben Collins <bcollins@debian.org> writes:
> > 
> > > On Sat, Feb 10, 2001 at 09:14:34AM -0800, Ulrich Drepper wrote:
> > > > Ben Collins <bcollins@debian.org> writes:
> > > > 
> > > > > Compiler is gcc 2.95.3-test. This has worked in the past (with 2.2 and
> > > > > 2.2.1), but not with current CVS (and no, there are no empty files
> > > > > laying around now :)
> > > > 
> > > > Must again be a problem in your tree, though.  It definitely works for
> > > > me (and Jakub and I think Andreas) on many different machines.  If the
> > > > file is not build at all there either is a problem with make or the
> > > > makefiles in your tree.
> > > 
> > > Then that would fail for everything I did. Since it works for an i386
> > > build, and not for -mcpu=i[56]86 (from the exact same source tree), I
> > > am sure it is not an error in my tree (I did a clean CVS checkout to be
> > > sure).
> > 
> > Tell us exact the options you're using - I don't see a problem on i686
> > with:
> > 
> > CFLAGS = -march=pentiumpro -mcpu=i686 -O3 -g -fssa -freorder-blocks -Wall -Wbad-function-cast -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wcomment -Wcomments -Wtrigraphs -Wmultichar -Wmissing-format-attribute -Wstrict-prototypes -Winline -Wsign-compare
> 
> CFLAGS=-g0 -O6 -fomit-frame-pointer -D__USE_STRING_INLINES -Wall -mcpu=i586
> 
> > /cvs/libc/configure  --prefix=/usr/src/test/glibc-2.2 --enable-add-ons --disable-profile --without-cvs --enable-kernel=2.2.16 --with-gd-include=/usr/include/ --with-headers=/usr/src/linux-2.4.x/include
> 
> ./configure --host=i386-linux --prefix=/usr --without-cvs --enable-add-ons=linuxthreads \
> 	--with-headers=/usr/src/kernel-headers-2.4.2/include

You're building in the source directory?  That's something that's AFAIK none
of the glibc developers does.  It might be your problem.  Ok, I'll try
it now with gcc 2.95.2 and make 3.79.0.2 on my i686 SuSE Linux
system.  I'm using the same CFLAGS (they shouldn't change anything)
and a similar configure line,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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