public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!
@ 2022-01-05 22:36 danglin at gcc dot gnu.org
2022-01-07 8:58 ` [Bug libc/28749] " fweimer at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2022-01-05 22:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28749
Bug ID: 28749
Summary: Inconsistency detected by ld.so: rtld.c: 1632:
dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: danglin at gcc dot gnu.org
CC: drepper.fsp at gmail dot com, fweimer at redhat dot com
Target Milestone: ---
Host: hppa*-*-linux*
Target: hppa*-*-linux*
Build: hppa*-*-linux*
This change cause build issues and test fails on hppa:
commit 4fb4e7e821e36180835bf88e363f9f13b5797e3a (HEAD)
Author: Florian Weimer <fweimer@redhat.com>
Date: Sun Dec 5 13:50:17 2021 +0100
csu: Always use __executable_start in gmon-start.c
Current binutils defines __executable_start as the lowest text
address, so using the entry point address as a fallback is no
longer necessary. As a result, overriding <entry.h> is only
necessary if the entry point is not called _start.
The previous approach to define __ASSEMBLY__ to suppress the
declaration breaks if headers included by <entry.h> are not
compatible with __ASSEMBLY__. This happens with rseq integration
because it is necessary to include kernel headers in more places.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
# Copy these DSOs first so we can overwrite them with our own.
for dso in ` env LD_TRACE_LOADED_OBJECTS=1 \
/home/dave/gnu/glibc/objdir/elf/ld.so.1 --library-path
/home/dave/gnu/gl
ibc/objdir:/home/dave/gnu/glibc/objdir/math:/home/dave/gnu/glibc/objdir/elf:/hom
e/dave/gnu/glibc/objdir/dlfcn:/home/dave/gnu/glibc/objdir/nss:/home/dave/gnu/gli
bc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/dave/gnu/glibc/objdir/resolv:
/home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/glibc/objdir/support:/home/da
ve/gnu/glibc/objdir/crypt:/home/dave/gnu/glibc/objdir/nptl \
/home/dave/gnu/glibc/objdir/testroot.pristine/bin/sh \
| sed -n '/\//{s@.*=> /@/@;s/^[^/]*//;s/ .*//p;}'` ;\
do \
test -d `dirname /home/dave/gnu/glibc/objdir/testroot.pristine$dso` || \
mkdir -p `dirname /home/dave/gnu/glibc/objdir/testroot.pristine$dso` ;\
cp $dso /home/dave/gnu/glibc/objdir/testroot.pristine$dso ;\
done
Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion
`GL(dl_rtld_map).l_libname' failed!
env GCONV_PATH=/home/dave/gnu/glibc/objdir/iconvdata
LOCPATH=/home/dave/gnu/glib
c/objdir/localedata LC_ALL=C /home/dave/gnu/glibc/objdir/elf/ld.so.1
--library
-path
/home/dave/gnu/glibc/objdir:/home/dave/gnu/glibc/objdir/math:/home/dave/gn
u/glibc/objdir/elf:/home/dave/gnu/glibc/objdir/dlfcn:/home/dave/gnu/glibc/objdir
/nss:/home/dave/gnu/glibc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/dave/g
nu/glibc/objdir/resolv:/home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/glibc/
objdir/support:/home/dave/gnu/glibc/objdir/crypt:/home/dave/gnu/glibc/objdir/npt
l /home/dave/gnu/glibc/objdir/csu/test-as-const-rtld-sizes >
/home/dave/gnu/gli
bc/objdir/csu/test-as-const-rtld-sizes.out; \
../scripts/evaluate-test.sh csu/test-as-const-rtld-sizes $? false false >
/home/
dave/gnu/glibc/objdir/csu/test-as-const-rtld-sizes.test-result
Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion
`GL(dl_rtld_map).l_libname' failed!
Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion
`GL(dl_rtld_map).l_libname' failed!
FAIL: csu/test-as-const-rtld-sizes
original exit status 127
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28749] Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!
2022-01-05 22:36 [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed! danglin at gcc dot gnu.org
@ 2022-01-07 8:58 ` fweimer at redhat dot com
2022-01-07 9:02 ` fweimer at redhat dot com
2022-01-07 13:48 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-01-07 8:58 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28749
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
Status|NEW |ASSIGNED
Assignee|unassigned at sourceware dot org |fweimer at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28749] Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!
2022-01-05 22:36 [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed! danglin at gcc dot gnu.org
2022-01-07 8:58 ` [Bug libc/28749] " fweimer at redhat dot com
@ 2022-01-07 9:02 ` fweimer at redhat dot com
2022-01-07 13:48 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-01-07 9:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28749
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted:
https://sourceware.org/pipermail/libc-alpha/2022-January/135034.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/28749] Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!
2022-01-05 22:36 [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed! danglin at gcc dot gnu.org
2022-01-07 8:58 ` [Bug libc/28749] " fweimer at redhat dot com
2022-01-07 9:02 ` fweimer at redhat dot com
@ 2022-01-07 13:48 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2022-01-07 13:48 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28749
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.35
Status|ASSIGNED |RESOLVED
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed via:
commit 6b0978c14acc2a6b5f5dbd8e8ef75fddc6656483
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Jan 7 14:47:31 2022 +0100
Restore ENTRY_POINT definition on hppa, ia64 (bug 28749)
ENTRY_POINT is still needed for elf/rtld.c. Fixes commit 4fb4e7e821e3
("csu: Always use __executable_start in gmon-start.c").
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-07 13:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 22:36 [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed! danglin at gcc dot gnu.org
2022-01-07 8:58 ` [Bug libc/28749] " fweimer at redhat dot com
2022-01-07 9:02 ` fweimer at redhat dot com
2022-01-07 13:48 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).