From aj@suse.de Sat Jul 8 09:57:00 2006 From: aj@suse.de (Andreas Jaeger) Date: Sat, 08 Jul 2006 09:57:00 -0000 Subject: current glibc does not build Message-ID: building glibc fails for me with: pthread_mutex_init.c: In function ?__pthread_mutex_init?: pthread_mutex_init.c:84: error: ?PTHREAD_MUTEX_PRIO_INHERIT_NP? undeclared (first use in this function) pthread_mutex_init.c:84: error: (Each undeclared identifier is reported only once pthread_mutex_init.c:84: error: for each function it appears in.) pthread_mutex_init.c:88: error: ?PTHREAD_MUTEX_PRIO_PROTECT_NP? undeclared (first use in this function) The constant is not defined anywhere in current glib cvs, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/ SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 188 bytes Desc: not available URL: From jakub@redhat.com Wed Jul 12 10:21:00 2006 From: jakub@redhat.com (Jakub Jelinek) Date: Wed, 12 Jul 2006 10:21:00 -0000 Subject: [PATCH] Fix FD_CLOEXEC comment typos Message-ID: <20060712102123.GV3823@sunsite.mff.cuni.cz> Hi! FD_CLOEXEC is F_SETFD/F_GETFD flag, F_SETFL/F_GETFL work with O_* bits. 2006-07-12 Jakub Jelinek * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (FD_CLOEXEC): Fix comment. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (FD_CLOEXEC): Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (FD_CLOEXEC): Likewise. --- libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h 2006-07-12 12:07:40.000000000 +0200 @@ -94,7 +94,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* for F_[GET|SET]FL */ +/* for F_[GET|SET]FD */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf() */ --- libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/s390/bits/fcntl.h 2006-07-12 12:07:49.000000000 +0200 @@ -114,7 +114,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h 2006-07-12 12:07:54.000000000 +0200 @@ -99,7 +99,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h 2006-07-12 12:08:00.000000000 +0200 @@ -116,7 +116,7 @@ # define F_SETLKW64 14 /* Set record locking info (blocking). */ #endif -/* for F_[GET|SET]FL */ +/* for F_[GET|SET]FD */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/sh/bits/fcntl.h 2006-07-12 12:08:05.000000000 +0200 @@ -99,7 +99,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/i386/bits/fcntl.h 2006-07-12 12:08:09.000000000 +0200 @@ -99,7 +99,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h.jj 2006-05-10 14:03:55.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h 2006-07-12 12:08:14.000000000 +0200 @@ -95,7 +95,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ --- libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h.jj 2006-05-10 14:03:57.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h 2006-07-12 12:08:19.000000000 +0200 @@ -113,7 +113,7 @@ # define F_NOTIFY 1026 /* Request notfications on a directory. */ #endif -/* For F_[GET|SET]FL. */ +/* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ Jakub From munroesj@us.ibm.com Fri Jul 21 19:14:00 2006 From: munroesj@us.ibm.com (Steven Munroe) Date: Fri, 21 Jul 2006 19:14:00 -0000 Subject: [PATCH] fix run-iconv-test.sh Message-ID: <44C12858.7030502@us.ibm.com> The implementation of run-iconv-test.sh will run icong_prov specifying a GCONV_PATH for the current glibc build. Then run the cmp (from the base install) to check the results. This can be a problem because currently cmp will run with the same GCONV_PATH as iconv_prog and cmp does try to load ISO8859-1.so. Since GCONV_PATH is pointing into the current build it will try to load from there. This really gets sticky when there is a ABI or symbol version difference between the glibc build and the base install. For example if there are new relocations which ld.so from the base install does not understand (i.e. the new relocations associated with -msecure-plt). This will cause cmp to fail (segfault in the loader associated with cmp) and all the iconv-tests to fail. The attached patch resolves this by temporarily resetting GCONV_PATH for cmp commands. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ppc-iconv-test-20060713.txt URL: