This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12454] Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed!
- From: "cryptooctoploid at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 5 Feb 2011 19:43:37 +0000
- Subject: [Bug libc/12454] Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps: Assertion `nlist > 1' failed!
- Auto-submitted: auto-generated
- References: <bug-12454-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12454
--- Comment #2 from Octoploid <cryptooctoploid at gmail dot com> 2011-02-05 19:43:28 UTC ---
Created attachment 5229
--> http://sourceware.org/bugzilla/attachment.cgi?id=5229
Don't call _dl_sort_fini if there is only one object. (part 2)
Only call _dl_sort_fini in dl-close.c if there is more than one object.
This patch fixes:
gcc -nostdlib -nostartfiles -static -o /var/tmp/glibc-build/elf/tst-tls9-static
-Wl,-O1,--hash-style=gnu,--as-needed /var/tmp/glibc-build/csu/crt1.
o /var/tmp/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o`
/var/tmp/glibc-build/elf/tst-tls9-static.o /var/tmp/glibc-build/dlfcn/libdl.a
/var/tmp/glibc-build/libc.a -lgcc -lgcc_eh /var/tmp/glibc-build/libc.a `gcc
--print-file-name=crtend.o` /var/tmp/glibc-build/csu/crtn.o
/var/tmp/glibc-build/elf/tst-tls9-static.o: In function `do_test':
/var/tmp/glibc/elf/tst-tls9.c:16: warning: Using 'dlopen' in statically linked
applications requires at runtime the shared libraries from the glibc v
ersion used for linking
GCONV_PATH=/var/tmp/glibc-build/iconvdata LC_ALL=C
LD_LIBRARY_PATH=/var/tmp/glibc-build/elf/:/var/tmp/glibc-build/:/var/tmp/glibc-build/dlfcn
/var/t
mp/glibc-build/elf/tst-tls9-static >
/var/tmp/glibc-build/elf/tst-tls9-static.out
tst-tls9-static: dl-fini.c:38: _dl_sort_fini: Assertion `nmaps > 1' failed.
Didn't expect signal from child: got `Aborted'
make[2]: *** [/var/tmp/glibc-build/elf/tst-tls9-static.out] Error 1
make[2]: Leaving directory `/var/tmp/glibc/elf'
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.