This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: current glibc on i686 with kernel 2.2.5


On Mon, Aug 11, Jakub Jelinek wrote:

> 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.

Looks like it was not clear from the log file:

this is "make check", and there is no error in building the glibc
before, only building the tests failed.

And it doesn't make a difference, if I enable or disable TLS.

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]