Build failure with --enable-kernel=2.5.65; `firstcall' undeclared

Andrew Walrond andrew@walrond.org
Fri Mar 21 12:57:00 GMT 2003


This is the build error:

../sysdeps/generic/libc-tls.c: In function `__libc_setup_tls':
../sysdeps/generic/libc-tls.c:199: `firstcall' undeclared (first use in 
this function)
../sysdeps/generic/libc-tls.c:199: (Each undeclared identifier is 
reported only once
../sysdeps/generic/libc-tls.c:199: for each function it appears in.)

I'm running linux 2.5.65, gcc-3_2-rhl8-branch

I configure glibc-HEAD with

export LANGUAGE=C
export LC_ALL=C
export CC=gcc
export CFLAGS="-O2 -march=pentium4 -mno-sse2"
export CXXFLAGS="-O2 -march=pentium4 -mno-sse2"

../libc/configure --prefix=/usr --disable-profile 
--enable-add-ons=linuxthreads --enable-kernel=2.5.65 
--with-headers=/usr/src/linux-2.5.65/include --with-tls --without-cvs

Change to enable-kernel=2.4.20 (but still using 2.5.65 headers) and 
everything works fine.

Hope this is useful

Andrew Walrond



More information about the Libc-alpha mailing list