From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E39AC3858D1E; Sat, 31 Dec 2022 13:32:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E39AC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672493549; bh=y/L5Lo+GB43QUQVuROPag5JAIWwey8VFGZfTYaRSaj4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KcNY4tlhOZ28DcasSR7JfWBgjQFgzlncl/ofPx7tl3S8cjzxBcj4Lt4pOhcer2aku wiO2Y2Dn+IhSS2prAwY3DUKYN1qMlvBAiVgLerV2mLIJbOFxfu0G6IkzWOHse+yUF1 zR8JaTYs5h8iA4NUTqbabgSHiY/UCV2Zs9C+Nv2Y= From: "adhemerval.zanella at linaro dot org" 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 13:32:29 +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: adhemerval.zanella at linaro dot org 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 #9 from Adhemerval Zanella --- (In reply to john.frankish from comment #8) > glibc-2.36 fails to build with -Os for x86_64 with commit > 302bc33bc53c787da6e74162a7092e9c0fb964a8 >=20 > glibc-2.36 builds with -O2 for x86_64 and it builds with -Os for x86 (i48= 6) >=20 > 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 Does it still happen with 2.36 branch [1]? [1] https://sourceware.org/git/?p=3Dglibc.git;a=3Dshortlog;h=3Drefs/heads/relea= se/2.36/master --=20 You are receiving this mail because: You are on the CC list for the bug.=