From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C8E43384B0D2; Wed, 14 Sep 2022 07:03:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8E43384B0D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663139010; bh=C7jZnUhfjQR71iFfdEOQeVzAKOxlPEtEISc/wtOSzCA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pIqTOUSnWEfbGPrKdeyKEPOLZUkM36KwnPuCV2woCl92+YmfG4ExV3jV9hrt+qiGB coJDD37j0oFtjUMtufCNb2l0aLj9DhOpb7TfcLPWKU/xTwdyK1XmF/7ivwVBAl2QkF WCM4o2Raw7dtj6eTtJeNNYgh10l4koHEVJ1bdmtQ= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29567] when `dlopen` glibc itself, it needs `__ctype_init` Date: Wed, 14 Sep 2022 07:03:30 +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: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: bug_status resolution 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29567 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Florian Weimer --- I'm afraid this is expected: the dynamic loader from the system libc is not able to load libc.so.6 from the version you just built. Dynamic loader and libc.so.6 must come from the exact same build. You need to run your application with the new dynamic loader, too. Use an explicit ld.so invocation (see the testrun.sh in the build tree for an example), or set the loader with the -Wl,--dynamic-linker=3D option. You ma= y also have to link to the new glibc startup files, has the details. --=20 You are receiving this mail because: You are on the CC list for the bug.=