From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAC63385842D; Tue, 8 Aug 2023 20:23:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAC63385842D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691526185; bh=uxiyOSeI36fVW7hs+ukZ5aqfBP84PL/pjF1BINMzoa4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TadjOySUj4cR/ikkc2SXXr8VRwoJYh+K/wvd7ChalmuqkYBU6/OKLlZpv8OTDvPbj VfagnRv0EI6K7O80K24FxAIv3/yL0jGjvgD6xlGPHC11HhcwEUZapPkOK+l2VURQOK FztBV7DMPmOkaX0PoVwrHSpKSleerkW3pK4P7W14= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/30721] 2.38 build fails for --disable-multiarch --enable-fortify-source , undefined reference to `__GI___memset_chk' and others Date: Tue, 08 Aug 2023 20:23:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot 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: cc 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=3D30721 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at lina= ro dot o | |rg --- Comment #2 from Adhemerval Zanella --- (In reply to Siddhesh Poyarekar from comment #1) > I can't reproduce this on my Fedora box using: >=20 > ../configure CFLAGS=3D"-march=3Dnocona -mtune=3Dnative -O2 -pipe" --prefi= x=3D/usr > --disable-multiarch --enable-fortify-source It should be '--disable-multi-arch'. >=20 > OR even >=20 > ../configure CFLAGS=3D"-march=3Dnocona -mtune=3Dnative -O2 -pipe" CC=3D"g= cc -m32" > CXX=3D"g++ -m32" --enable-stack-protector=3Dstrong --disable-cet > --enable-kernel=3D3.2.0 --without-selinux --disable-werror --enable-bind-= now > --enable-fortify-source --build=3Di686-pc-linux-gnu --host=3Di686-pc-linu= x-gnu > --disable-profile --without-gd --with-headers=3D/usr/include --prefix=3D/= usr > --disable-crypt --disable-multi-arch --disable-systemtap --disable-nscd > ac_cv_path_PERL=3Dno libc_cv_aarch64_sve_asm=3Dyes --disable-timezone-too= ls >=20 > Maybe the gentoo compiler driver is injecting something that I need to add > to this mix? As I noted my proposed fix [1] only x86 is affected. It is the only architecture that tries to optimize the fortify wrapper with assembly routi= nes. [1] https://sourceware.org/pipermail/libc-alpha/2023-August/150746.html --=20 You are receiving this mail because: You are on the CC list for the bug.=