From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5FF0C3858C50; Sat, 31 Dec 2022 11:35:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FF0C3858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672486558; bh=x95WZ1gxaBU2uiR85h4/SBSsB94up86w1XLLvx5l644=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wjkGrRM1DduYEFl5R0GHwd3rv0L311sV37GW/xTpUomykD1yitwX5lwA/vokkq1Wg MsUS2P1n/IlAlXfKVh4JDqPuvvQgrjNPkh7FBgYxCFyaMdu9XfP+EZH9EGw9wyIYvp ReLdXYIDoOArWnMKQvhDVdXrzhZg7qK0HG/xE3gI= From: "john.frankish at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/29938] glibc-2.36 fails to build with Os with undefined reference to strcpy Date: Sat, 31 Dec 2022 11:35:57 +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: john.frankish at outlook dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29938 --- Comment #8 from john.frankish at outlook dot com --- glibc-2.36 fails to build with -Os for x86_64 with commit 302bc33bc53c787da6e74162a7092e9c0fb964a8 glibc-2.36 builds with -O2 for x86_64 and it builds with -Os for x86 (i486) gcc -mtune=3Dgeneric -Os -pipe -nostdlib -nostartfiles -shared -o /usr/src/glibc-2.36/build/elf/ld.so.new \ -Wl,-z,relro -Wl,-z,defs \ -Wl,-z,pack-relative-relocs \ /usr/src/glibc-2.36/build/elf/librtld.os -Wl,--version-script=3D/usr/src/glibc-2.36/build/ld.map \ -Wl,-soname=3Dld-linux-x86-64.so.2 /usr/local/bin/ld: /usr/src/glibc-2.36/build/elf/librtld.os: in function `_dl_start_profile': (.text+0x9643): undefined reference to `strcpy' collect2: error: ld returned 1 exit status --=20 You are receiving this mail because: You are on the CC list for the bug.=