[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

eglibc will not compile on Ubuntu 10.10 using GCC 4.1 or GCC 4.3 or GCC 4.4 or GCC 4.5



I have been trying, without success, to compile the current sources of eglibc, pulled this morning (Sunday, October 17, 2010) from the repository trunk.

I am running a fresh install of Ubuntu 10.10 (not the beta/prerelease/whatever, but the stable released version).

Ubuntu's .deb sources offer up four different GCC versions for 10.10: GCC 4.1, GCC 4.3, GCC 4.4 and GCC 4.5. I have tried *all four*. None will successfully compile eglibc.

Here is what happens when I try each version:

-------------------
GCC 4.1:
-------------------
Make a 'build' dir. cd into said dir. Run ../configure --prefix=/my/chosen/prefix/dir.
'configure' pukes with the following error message:
configure: error: gcc must provide the <cpuid.h> header

-------------------
GCC 4.3:
-------------------
Make a 'build' dir. cd into said dir. Run ../configure --prefix=/my/chosen/prefix/dir.
'configure' works.
Run 'make'. 'make'  pukes with the following error message:
gcc ../sysdeps/unix/sysv/linux/syslog.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2  -Wa,-mtune=i686 -fexceptions   -I../include -I/usr/src/eglibc/libc/build/misc -I/usr/src/eglibc/libc/build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -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../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -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../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /usr/src/eglibc/libc/build/misc/syslog.o -MD -MP -MF /usr/src/eglibc/libc/build/misc/syslog.o.dt -MT /usr/src/eglibc/libc/build/misc/syslog.o
../misc/syslog.c: In function ‘__vsyslog_chk’:
../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to ‘syslog’: function body not available
../misc/syslog.c:155: sorry, unimplemented: called from here
make[2]: *** [/usr/src/eglibc/libc/build/misc/syslog.o] Error 1
make[2]: Leaving directory `/usr/src/eglibc/libc/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/eglibc/libc'
make: *** [all] Error 2



-------------------
GCC 4.4:
-------------------
Make a 'build' dir. cd into said dir. Run ../configure --prefix=/my/chosen/prefix/dir.
'configure' works.
Run 'make'. 'make'  pukes; same exact message as 4.3.

-------------------
GCC 4.5:
-------------------
Make a 'build' dir. cd into said dir. Run ../configure --prefix=/my/chosen/prefix/dir.
'configure' works.
Run 'make'. 'make'  pukes; same exact message as 4.3.


--

As you can imagine, I am rather frustrated by this. To say that Ubuntu is a "common" or "popular" GNU/Linux distribution would be a grotesque understatement. Surely something is very wrong when eglibc won't even compile on such a common distribution-- one which uses eglibc itself?

Any and all pertinent suggestions for how to resolve this issue would be very much appreciated.