From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B62AE3857C4D; Wed, 5 Jan 2022 22:36:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B62AE3857C4D From: "danglin at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/28749] New: Inconsistency detected by ld.so: rtld.c: 1632: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed! Date: Wed, 05 Jan 2022 22:36:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2022 22:36:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28749 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 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 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 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 # Copy these DSOs first so we can overwrite them with our own. for dso in ` env LD_TRACE_LOADED_OBJECTS=3D1 \ /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/gn= u/gli bc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/dave/gnu/glibc/objdir/re= solv: /home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/glibc/objdir/support:/ho= me/da ve/gnu/glibc/objdir/crypt:/home/dave/gnu/glibc/objdir/nptl \ /home/dave/gnu/glibc/objdir/testroot.pristine/bin/sh \ | sed -n '/\//{s@.*=3D> /@/@;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=3D/home/dave/gnu/glibc/objdir/iconvdata LOCPATH=3D/home/dave/gnu/glib c/objdir/localedata LC_ALL=3DC /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/o= bjdir /nss:/home/dave/gnu/glibc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/d= ave/g nu/glibc/objdir/resolv:/home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/g= libc/ objdir/support:/home/dave/gnu/glibc/objdir/crypt:/home/dave/gnu/glibc/objdi= r/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 --=20 You are receiving this mail because: You are on the CC list for the bug.=