glibc build problems
Net Llama!
netllama
Mon May 17 11:55:59 PDT 2004
On 11/23/03 20:02, Net Llama! wrote:
> Greetings,
> I'm trying to build glibc-2.3.2 with gcc-3.3.2, and make keeps bombing
> out with:
>
> /usr/local/bin/gcc3 ../sysdeps/unix/sysv/linux/init-first.c -c
> -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
> -ffast-math -fno-exceptions -funroll-loops -fomit-frame-pointer
> -I../include -I. -I/usr/src/glibc-build/csu -I.. -I../libio
> -I/usr/src/glibc-build -I../sysdeps/i386/elf
> -I../linuxthreads/sysdeps/unix/sysv/linux/i386
> -I../linuxthreads/sysdeps/unix/sysv/linux
> -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
> -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
> -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
> -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
> -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
> -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
> -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I
> /lib/modules/2.4.22-xfs/build/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -o
> /usr/src/glibc-build/csu/init-first.o
> In file included from ../include/libc-symbols.h:56,
> from <command line>:6:
> /usr/src/glibc-build/config.h:9:3: #error "glibc must not be compiled
> with -ffast-math"
> ../stdio-common/_itoa.h:40: warning: inlining failed in call to
> `_itoa_word'
> ../stdio-common/_itoa.h:76: warning: called from here
> make[2]: *** [/usr/src/glibc-build/csu/init-first.o] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.3.2/csu'
> make[1]: *** [csu/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.3.2'
> make: *** [all] Error 2
Nevermind, i figured it out. Seems that I had set some incompatible CFLAGS
in /etc/profile. Unsetting CFLAGS fixed it.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
8:10pm up 8:37, 1 user, load average: 0.61, 0.93, 0.74
More information about the Linux-users
mailing list