[opensuse-factory] glibc 2.15 coming to Base:System and later Factory
FYI, I've put glibc 2.15 in Base:System and will push in a couple of days to Factory if I don't see any problems. I'm appending the announcement, there's nothing in it that should break stuff so please speak up if you notice something! Dirk, could you check what needs to be done for Arm, please? thanks, Andreas -------- Original Message -------- Subject: glibc 2.15 Date: Mon, 26 Dec 2011 05:31:04 -0500 From: Ulrich Drepper <drepper@gmail.com> To: libc-alpha <libc-alpha@sourceware.org> I have tagged the tree for the 2.15 release. This release saw some changes in additional functionality but mainly optimizations: Version 2.15 * The following bugs are resolved with this release: 6779, 6783, 9696, 10103, 10709, 11589, 12403, 12786, 12840, 12847, 12868, 12852, 12874, 12885, 12892, 12906, 12907, 12922, 12935, 12962, 13007, 13021, 13061, 13062, 13067, 13068, 13085, 13088, 13090, 13092, 13096, 13114, 13118, 13123, 13134, 13138, 13147, 13150, 13166, 13179, 13185, 13189, 13192, 13268, 13276, 13282, 13291, 13305, 13328, 13335, 13337, 13344, 13358, 13367, 13413, 13416, 13423, 13439, 13446, 13472, 13484, 13506, 13515, 13523, 13524, 13538, 13540 * New program pldd to list loaded object of a process Implemented by Ulrich Drepper. * Add nss_db support back to glibc. No more dependency on Berkeley db and support for initgroups lookups. Implemented by Ulrich Drepper. * Optimized strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-32. Contributed by HJ Lu. * Improved strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-64. Contributed by HJ Lu. * Optimized strcat, strncat on x86-64 and optimized wcscmp, wcslen, strnlen on x86-32 and x86-64. Contributed by Liubov Dmitrieva. * Optimized strchr and strrchr for SSE on x86-32. Contributed by Liubov Dmitrieva. * Optimized memchr, memrchr, rawmemchr, memcmp, wmemcmp, wcschr, wcscpy for x86-64 and x86-32. Contributed by Liubov Dmitrieva. * New interfaces: scandirat, scandirat64 Implemented by Ulrich Drepper. * Checking versions of FD_SET, FD_CLR, and FD_ISSET added. Implemented by Ulrich Drepper. * nscd now also caches the netgroup database. Implemented by Ulrich Drepper. * Integrate libm with gcc's -ffinite-math-only option. Implemented by Ulrich Drepper. * Lots of generic, 64-bit, and x86-64-specific performance optimizations to math functions. Implemented by Ulrich Drepper. * Optimized strcasecmp and strncasecmp for AVX on x86-64. Implemented by Ulrich Drepper. * New Linux interfaces: process_vm_readv, process_vm_writev * Optimized strcasecmp and strncasecmp for SSSE3 and SSE4.2 on x86-32. Implemented by Ulrich Drepper. * Optimized nearbyint and strcasecmp for PPC. Implemented by Adhemerval Zanella. * New locales: bho_IN, unm_US, es_CU, ta_LK I'll branch the tree for 2.15 in the next few days after which the development for 2.16 will start. Expect the next release in 6 month-ish. Thanks to everyone who helped with the release, especially Adhemerval Zanella Andreas Jaeger Andreas Krebbel Andreas Schwab David S. Miller H.J. Lu Jakub Jelinek Jiri Olsa Joseph Myers Liubov Dmitrieva Marek Polacek Paul Pluzhnikov Roland McGrath Samuel Thibault Will Schmidt -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 27/12/11 09:58, Andreas Jaeger wrote:
FYI, I've put glibc 2.15 in Base:System and will push in a couple of days to Factory if I don't see any problems.
I'm appending the announcement, there's nothing in it that should break stuff so please speak up if you notice something!
Can you enable 12.1 build somewhere to test it on daily use ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
On 27/12/11 09:58, Andreas Jaeger wrote:
FYI, I've put glibc 2.15 in Base:System and will push in a couple of days to Factory if I don't see any problems.
I'm appending the announcement, there's nothing in it that should break stuff so please speak up if you notice something!
Can you enable 12.1 build somewhere to test it on daily use ?
You should be able to just install the Factory version of glibc, there shouldn't be any extra dependencies - or did I miss anything? Andreas -- Andreas Jaeger, aj@{novell.com,suse.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 28/12/11 05:57, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
On 27/12/11 09:58, Andreas Jaeger wrote:
FYI, I've put glibc 2.15 in Base:System and will push in a couple of days to Factory if I don't see any problems.
I'm appending the announcement, there's nothing in it that should break stuff so please speak up if you notice something!
Can you enable 12.1 build somewhere to test it on daily use ?
You should be able to just install the Factory version of glibc, there shouldn't be any extra dependencies - or did I miss anything?
Yeah, valgrind requires glibc < 2.15 rpm -q --requires valgrind /usr/bin/perl glibc >= 2.14 glibc < 2.15 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
On 28/12/11 05:57, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
On 27/12/11 09:58, Andreas Jaeger wrote:
FYI, I've put glibc 2.15 in Base:System and will push in a couple of days to Factory if I don't see any problems.
I'm appending the announcement, there's nothing in it that should break stuff so please speak up if you notice something!
Can you enable 12.1 build somewhere to test it on daily use ?
You should be able to just install the Factory version of glibc, there shouldn't be any extra dependencies - or did I miss anything?
Yeah, valgrind requires glibc < 2.15
rpm -q --requires valgrind /usr/bin/perl glibc >= 2.14 glibc < 2.15
But AFAIK this will fail with a glibc build for 12.1 as well. So, nothing that I can fix... Btw. valgrind has: # during building the major version of glibc is built into the suppression file %define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f1) %define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut -d. -f2) Requires: glibc >= %glibc_main_version.%glibc_major_version Requires: glibc < %glibc_main_version.%{lua: print(rpm.expand("%glibc_major_version")+1)} % Seems to be related to bnc#700362. I wonder what it solves, Andreas -- Andreas Jaeger, aj@{novell.com,suse.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 28/12/11 17:56, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
Seems to be related to bnc#700362. I wonder what it solves,
Ok, I forced the install, it did not go so well... :oops nscd[1819]: segfault at 3 ip 0000000000000003 sp 00007fff71eeac48 error 14 in libnss_files-2.15.so[7f105e48a000+c000] Yep, unscd crashes with the new libc.. will investigate more later. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 28/12/11 21:45, Cristian Rodríguez wrote:
On 28/12/11 17:56, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
Seems to be related to bnc#700362. I wonder what it solves,
Ok, I forced the install, it did not go so well... :oops
nscd[1819]: segfault at 3 ip 0000000000000003 sp 00007fff71eeac48 error 14 in libnss_files-2.15.so[7f105e48a000+c000]
Yep, unscd crashes with the new libc.. will investigate more later.
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300!\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=62460, ...}) = 0 mmap(NULL, 2148176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7b2b1cb000 mprotect(0x7f7b2b1d7000, 2093056, PROT_NONE) = 0 mmap(0x7f7b2b3d6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f7b2b3d6000 close(3) = 0 mprotect(0x7f7b2b3d6000, 4096, PROT_READ) = 0 munmap(0x7f7b2bd9d000, 145048) = 0 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} (Segmentation fault) --- +++ killed by SIGSEGV +++ [1] 2251 segmentation fault strace nscd So, it crashes just after loading the shared library in question.. bug in the linker then ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 28/12/11 21:45, Cristian Rodríguez wrote:
On 28/12/11 17:56, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
Seems to be related to bnc#700362. I wonder what it solves,
Ok, I forced the install, it did not go so well... :oops
nscd[1819]: segfault at 3 ip 0000000000000003 sp 00007fff71eeac48 error 14 in libnss_files-2.15.so[7f105e48a000+c000]
Yep, unscd crashes with the new libc.. will investigate more later.
(gdb) bt #0 0x0000000000000001 in ?? () #1 0x00007ffff740ec9f in _nss_files_init (cb=0x1) at nss_files/files-init.c:47 #2 0x00007ffff7b2a1ba in nss_load_library (ni=0x55555575e3d0) at nsswitch.c:360 #3 0x00007ffff7b2a9f5 in nss_load_all_libraries (service=<optimized out>, def=<optimized out>) at nsswitch.c:789 #4 0x00007ffff7b2af08 in __nss_disable_nscd (cb=<optimized out>) at nsswitch.c:808 #5 0x00005555555568de in main () (gdb) bt full #0 0x0000000000000001 in ?? () No symbol table info available. #1 0x00007ffff740ec9f in _nss_files_init (cb=0x1) at nss_files/files-init.c:47 No locals. #2 0x00007ffff7b2a1ba in nss_load_library (ni=0x55555575e3d0) at nsswitch.c:360 cb = <optimized out> initlen = <optimized out> init_name = 0x7fffffffd6d0 "_nss_files_init" ifct = <optimized out> shlen = <optimized out> saved_errno = 0 shlib_name = <optimized out> #3 0x00007ffff7b2a9f5 in nss_load_all_libraries (service=<optimized out>, def=<optimized out>) at nsswitch.c:789 ni = 0x55555575e3d0 #4 0x00007ffff7b2af08 in __nss_disable_nscd (cb=<optimized out>) at nsswitch.c:808 No locals. #5 0x00005555555568de in main () No symbol table info available. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/29/2011 01:56 AM, Cristian Rodríguez wrote:
On 28/12/11 21:45, Cristian Rodríguez wrote:
On 28/12/11 17:56, Andreas Jaeger wrote:
Cristian Rodríguez <crrodriguez@opensuse.org> writes:
Seems to be related to bnc#700362. I wonder what it solves,
Ok, I forced the install, it did not go so well... :oops
nscd[1819]: segfault at 3 ip 0000000000000003 sp 00007fff71eeac48 error 14 in libnss_files-2.15.so[7f105e48a000+c000]
Yep, unscd crashes with the new libc.. will investigate more later.
(gdb) bt #0 0x0000000000000001 in ?? () #1 0x00007ffff740ec9f in _nss_files_init (cb=0x1) at nss_files/files-init.c:47 #2 0x00007ffff7b2a1ba in nss_load_library (ni=0x55555575e3d0) at nsswitch.c:360 #3 0x00007ffff7b2a9f5 in nss_load_all_libraries (service=<optimized out>, def=<optimized out>) at nsswitch.c:789 #4 0x00007ffff7b2af08 in __nss_disable_nscd (cb=<optimized out>) at nsswitch.c:808 #5 0x00005555555568de in main () (gdb) bt full #0 0x0000000000000001 in ?? () No symbol table info available. #1 0x00007ffff740ec9f in _nss_files_init (cb=0x1) at nss_files/files-init.c:47 No locals. #2 0x00007ffff7b2a1ba in nss_load_library (ni=0x55555575e3d0) at nsswitch.c:360 cb = <optimized out> initlen = <optimized out> init_name = 0x7fffffffd6d0 "_nss_files_init" ifct = <optimized out> shlen = <optimized out> saved_errno = 0 shlib_name = <optimized out> #3 0x00007ffff7b2a9f5 in nss_load_all_libraries (service=<optimized out>, def=<optimized out>) at nsswitch.c:789 ni = 0x55555575e3d0 #4 0x00007ffff7b2af08 in __nss_disable_nscd (cb=<optimized out>) at nsswitch.c:808 No locals. #5 0x00005555555568de in main () No symbol table info available.
i see in unscd: void __nss_disable_nscd(void); but glibc uses: extern void __nss_disable_nscd (void (*) (size_t, struct traced_file *)); nss_files_init - which crashes - calls the registered function (cb=0x1 in your case) and thus crashes. unscd is using a private interface here and needs to be fixed. I'll contact the author, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andreas Jaeger
-
Andreas Jaeger
-
Cristian Rodríguez