From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C656385AC35; Wed, 17 Nov 2021 13:31:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C656385AC35 From: "alex_y_xu at yahoo dot ca" 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 13:31:32 +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: alex_y_xu at yahoo dot ca 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 13:31:33 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28453 --- Comment #3 from alex_y_xu at yahoo dot ca --- (In reply to H.J. Lu from comment #2) > Which linker is used to generate such library? I used binutils 2.37 bfd provided by Gentoo and compiled without vanilla USE flag (i.e. compiled *with* Gentoo patches) when building gcc. gold is not installed. My system-wide LDFLAGS are -Wl,--as-needed,-O1,--hash-style=3Dgnu,-z,relro,-z,now, but as explained in= the description, I believe they are ignored when linking this library. Additionally, gcc is built with lto using --with-build-config=3Dbootstrap-l= to. Let me know if you need some other information. --=20 You are receiving this mail because: You are on the CC list for the bug.=