From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 12D333858425; Sun, 9 Oct 2022 14:55:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 12D333858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665327326; bh=F1gMSIGujQq1oRNDRygM4F3blhJqPjjtRR/f8B2Lgr0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RYyy5w3yk/tvJ/ji8Sp95d4HGwkguqQdIFqPetw3wH9WpmNyTCszt53R9CLUecQeT ZgScvRPDTvwhQBLB0VyuH97aBV274G86F0ExS27+63IaslMetVC7yhhZKVR8FNWOqI x1dNqcqana/SlaH23m5QddPVX7sbQjhl34nlHSAA= From: "romain.naour at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/29576] librtld.os: in function `_dl_start_profile': (.text+0x9444): undefined reference to `strcpy' Date: Sun, 09 Oct 2022 14:55:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.naour at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: NOTABUG 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=3D29576 romain.naour at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |romain.naour at gmail dot = com --- Comment #7 from romain.naour at gmail dot com --- Hello, (In reply to Adhemerval Zanella from comment #5) > (In reply to Tomas Kolda from comment #4) > > Not a bug. I have set CFLAGS, CPPFLAGS, CXXFLAGX to use -O2 instead of = -Os. >=20 > Ideally, we should support -Os as well. I think we should add a patch > similar to the one to avoid libcalls [1] also to fix the possible strcpy > call. >=20 > [1] > https://patchwork.sourceware.org/project/glibc/patch/20220811121909.41106= 65- > 1-adhemerval.zanella@linaro.org/ We noticed this issue in the Buildroot gitlab-ci using glibc 2.36-44-g2628500f5dff1dd99c49a09b418b3b1ea3a6b5d3 [1]. Backporting the patch [2] allows to fix the issue. [1] https://gitlab.com/buildroot.org/buildroot/-/jobs/3134229956 [2] https://sourceware.org/git/?p=3Dglibc.git;a=3Dcommitdiff;h=3D9dc4e29f630c6e= f8299120b275e503321dc0c8c7 Best regards, Romain --=20 You are receiving this mail because: You are on the CC list for the bug.=