Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gettext errors - recompile glibc?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Phil White <cerise AT littlegreenmen.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] gettext errors - recompile glibc?
  • Date: Sat, 8 Feb 2003 17:04:49 -0800

In a round of what could possibly be yet another littlegreenmen-ism,
I find that attempting to recompile glibc (on the test codex) yields:

gcc ../sysdeps/generic/libc-start.c -c -O3 -Os -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -ffast-math -funroll-loops
-march=pentium3 -mfpmath=sse -mmmx -msse -I../include -I. -I..
-I../libio -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.20-xfs/build/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o
libc-start.o
In file included from ../include/libc-symbols.h:56,
from <command line>:1:
../config.h:9:3: #error "glibc must not be compiled with -ffast-math"

I tried a couple of workarounds (pulling out any instance of "-ffast-math" in
my /etc,
writing a shell script which was a go-between for gcc pulling out any
instance of "-ffast-math"
on the way, &c) without any success.

I've been sorely tempted to pull out the preproc directive from config.h, but
I imagine
that it's probably there for a good reason.

Any ideas?

-Phil/CERisE





Archive powered by MHonArc 2.6.24.

Top of Page