current glibc on i686 with kernel 2.2.5

Jakub Jelinek jakub@redhat.com
Mon Aug 11 14:40:00 GMT 2003


On Mon, Aug 11, 2003 at 12:03:55PM +0200, Thorsten Kukuk wrote:
> If I compile the current glibc cvs configured and optimized for i686
> with --enable-kernel=2.4.1, glibc compiles fine.
> 
> But if I change it to --enable-kernel=2.2.5, glibc does not compile
> any longer. Any ideas what goes wrong?
> 
> Configure call is:
> configure --prefix=/usr --libexecdir=/usr/lib --infodir=/usr/share/info --enable-add-ons=yes --srcdir=.. --without-cvs --with-tls --without-__thread --with-headers=/usr/src/packages/BUILD/kernel-headers i686-suse-linux --enable-kernel=2.2.5
> 
> Error message is:
> 
> gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2  -B/usr/src/packages/BUILD/glibc-2.3/cc/csu/  -Wl,--version-script=/usr/src/packages/BUILD/glibc-2
> .3/cc/librt.map -Wl,-soname=librt.so.1 -Wl,-z,combreloc  -L/usr/src/packages/BUILD/glibc-2.3/cc -L/usr/src/packages/BUILD/glibc-2.3/cc/math -L/usr/src/packages/BUILD/glibc-2.3/cc/elf -L/u
> sr/src/packages/BUILD/glibc-2.3/cc/dlfcn -L/usr/src/packages/BUILD/glibc-2.3/cc/nss -L/usr/src/packages/BUILD/glibc-2.3/cc/nis -L/usr/src/packages/BUILD/glibc-2.3/cc/rt -L/usr/src/package
> s/BUILD/glibc-2.3/cc/resolv -L/usr/src/packages/BUILD/glibc-2.3/cc/crypt -L/usr/src/packages/BUILD/glibc-2.3/cc/linuxthreads -Wl,-rpath-link=/usr/src/packages/BUILD/glibc-2.3/cc:/usr/src/
> packages/BUILD/glibc-2.3/cc/math:/usr/src/packages/BUILD/glibc-2.3/cc/elf:/usr/src/packages/BUILD/glibc-2.3/cc/dlfcn:/usr/src/packages/BUILD/glibc-2.3/cc/nss:/usr/src/packages/BUILD/glibc
> -2.3/cc/nis:/usr/src/packages/BUILD/glibc-2.3/cc/rt:/usr/src/packages/BUILD/glibc-2.3/cc/resolv:/usr/src/packages/BUILD/glibc-2.3/cc/crypt:/usr/src/packages/BUILD/glibc-2.3/cc/linuxthread
> s -o /usr/src/packages/BUILD/glibc-2.3/cc/rt/librt.so -T /usr/src/packages/BUILD/glibc-2.3/cc/shlib.lds /usr/src/packages/BUILD/glibc-2.3/cc/csu/abi-note.o -Wl,--whole-archive /usr/src/pa
> ckages/BUILD/glibc-2.3/cc/rt/librt_pic.a -Wl,--no-whole-archive /usr/src/packages/BUILD/glibc-2.3/cc/elf/interp.os 
> /usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_misc.os)(.text+0x62e): In function `__aio_enqueue_request':
> ../sysdeps/pthread/aio_misc.c:410: undefined reference to `pthread_create'
> /usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_misc.os)(.text+0xb04): In function `handle_fildes_io':
> ../sysdeps/pthread/aio_misc.c:613: undefined reference to `pthread_cond_timedwait'
...
Is this really the first error in the build? This seems like librt.so is not
being linked against libpthread or that libpthread has been messed up badly.

	Jakub



More information about the Libc-alpha mailing list