From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 050FF3858400; Wed, 17 Nov 2021 14:58:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 050FF3858400 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/28453] ld.so segfaults when relocating x86 libstdc++.so compiled with -fno-plt Date: Wed, 17 Nov 2021 14:58:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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, 17 Nov 2021 14:58:21 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28453 --- Comment #7 from H.J. Lu --- (In reply to Florian Weimer from comment #5) > I suspect this needs -mtls-dialect=3Dgnu2 to materialize. I got Dynamic section at offset 0x2015c0 contains 31 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000e (SONAME) Library soname: [libstdc++.so.6] 0x0000000c (INIT) 0x78000 0x0000000d (FINI) 0x17c9cc 0x00000019 (INIT_ARRAY) 0x1fd96c 0x0000001b (INIT_ARRAYSZ) 48 (bytes) 0x0000001a (FINI_ARRAY) 0x1fd99c 0x0000001c (FINI_ARRAYSZ) 4 (bytes) 0x6ffffef5 (GNU_HASH) 0x194 0x00000005 (STRTAB) 0x20b30 0x00000006 (SYMTAB) 0x8e00 0x0000000a (STRSZ) 299702 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000003 (PLTGOT) 0x2026d8 0x00000002 (PLTRELSZ) 24 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x77794 0x00000011 (REL) 0x6d5c4 0x00000012 (RELSZ) 41424 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffc (VERDEF) 0x6cd8c 0x6ffffffd (VERDEFNUM) 48 0x00000018 (BIND_NOW)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 0x6ffffffb (FLAGS_1) Flags: NOW 0x6ffffffe (VERNEED) 0x6d424 0x6fffffff (VERNEEDNUM) 3 0x6ffffff0 (VERSYM) 0x69de6 0x6ffffffa (RELCOUNT) 904 0x00000000 (NULL) 0x0 I couldn't reproduce the issue on Fedora 35. --=20 You are receiving this mail because: You are on the CC list for the bug.=