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]

current glibc on i686 with kernel 2.2.5


Hi,

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'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_misc.os)(.text+0xb77):../sysdeps/pthread/aio_misc.c:651: undefined reference to `pthread_create'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_suspend.os)(.text+0x386): In function `aio_suspend':
../sysdeps/pthread/aio_suspend.c:144: undefined reference to `_pthread_cleanup_push'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_suspend.os)(.text+0x40d):../sysdeps/pthread/aio_suspend.c:164: undefined reference to `pthread_cond_timedwait'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_suspend.os)(.text+0x423):../sysdeps/pthread/aio_suspend.c:168: undefined reference to `_pthread_cleanup_pop'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(aio_notify.os)(.text+0xe2): In function `__aio_notify_only':
../sysdeps/pthread/aio_notify.c:81: undefined reference to `pthread_create'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(clock_gettime.os)(.text+0x108): In function `clock_gettime':
../sysdeps/unix/clock_gettime.c:107: undefined reference to `_rtld_global'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(clock_settime.os)(.text+0x113): In function `clock_settime':
../sysdeps/unix/clock_settime.c:114: undefined reference to `_rtld_global'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_create.os)(.text+0x50): In function `timer_create':
../linuxthreads/sysdeps/pthread/timer_create.c:61: undefined reference to `pthread_once'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_delete.os)(.text+0x110): In function `timer_delete':
../linuxthreads/sysdeps/pthread/timer_delete.c:51: undefined reference to `_pthread_cleanup_push'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_delete.os)(.text+0x128):../linuxthreads/sysdeps/pthread/timer_delete.c:57: undefined reference to `_pthread_cleanup_pop'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_routines.os)(.text+0x221): In function `__timer_init_once':
../linuxthreads/sysdeps/pthread/timer_routines.c:221: undefined reference to `pthread_atfork'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_routines.os)(.text+0x60c): In function `thread_func':
../linuxthreads/sysdeps/pthread/timer_routines.c:382: undefined reference to `_pthread_cleanup_push'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_routines.os)(.text+0x7b0):../linuxthreads/sysdeps/pthread/timer_routines.c:444: undefined reference to `pthread_cond_timedwait'
/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt_pic.a(timer_routines.os)(.text+0x89c): In function `__timer_thread_start':
../linuxthreads/sysdeps/pthread/timer_routines.c:492: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/packages/BUILD/glibc-2.3/cc/rt/librt.so] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/glibc-2.3/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/glibc-2.3'
make: *** [check] Error 2
make: Leaving directory `/usr/src/packages/BUILD/glibc-2.3/cc'
error: Bad exit status from /var/tmp/rpm-tmp.20999 (%build)

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