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: [PATCH] fix glibc-cvs for linux+nptl+static


Jakub Jelinek wrote:

../libc/configure --host=i486-linux --build=i486-linux --without-cvs --enable-add-ons=nptl --with-tls --disable-shared --with-__thread --enable-kernel=2.6.0 --prefix=/usr/local/npltstatic --oldincludedir=/usr/include CC=gcc-3.4 CPPFLAGS='-isystem /usr/src/linux/include' --with-headers=/usr/src/linux/include


This looks wrong, please explain.

Try compiling with the configure option above and it will fail complaining that it vm86.o/vm86.op are missing. I guess the vm86@@GLIBC_2.3.4 does not generate the correct file in static mode...


All these changes are incorrect, please update to current CVS.

Just saw your recent change...


--- libc/sysdeps/unix/sysv/linux/Makefile.~1.144.~	2004-10-05 01:29:06.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/Makefile	2004-11-11 23:39:40.000000000 +0100
@@ -149,6 +149,7 @@
ifeq ($(subdir),rt)
CFLAGS-mq_send.c += -fexceptions
CFLAGS-mq_receive.c += -fexceptions
+sysdep_routines += mq_close mq_notify mq_receive mq_unlink mq_getattr mq_open mq_send shm_open shmat shmctl shmdt shm_open shm_unlink
endif

ifeq ($(subdir),nscd)


And this is incorrect too.  mq_open etc. are in librt.a and librt.so, they
are not supposed to be in libc.

Can you explain a bit? Thrre is a ifeq ($(subdir),rt) if front of this meaning that if applies indeed when compiling librt. Beside, without this the version compiled are the one located in libc/sysdeps/generic that simply return ENOSYS.


NB : I tested all the changes via the Open Posix test suite and found that this indeed fixes the ENOSYS returned by those function and reported by the test suite when compiling with the configure option given above...

Thanks for replying and have a nice day,


-- __ / ` Eric Valette /-- __ o _. 6 rue Paul Le Flem (___, / (_(_(__ 35740 Pace

Tel: +33 (0)2 99 85 26 76	Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette@free.fr




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