From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 60B5D3858D1E; Fri, 23 Dec 2022 12:52:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60B5D3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671799952; bh=czurBn1zhipHoXgVyYRU7yRQ2fnN1AsKcBWEhcVS0qE=; h=From:To:Subject:Date:From; b=u74NcUifeYgHfSC75PfA61A1A+uoCqGXgK2Dj29PbQMxguEZxUnAWs2chILDjdEwZ sC7Hol/GOAwjksRUPH7PFxG4ICJM1BByTFZUeubkyY50pl5qSWbAyC25soG5FF/baw GXShJENVZvvLOUErljWuTwD79khaOZWuZzydCnTc= From: "john.frankish at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/29938] New: glibc-2.36 fails to build with Os with undefined reference to strcpy Date: Fri, 23 Dec 2022 12:52:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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 Bug ID: 29938 Summary: glibc-2.36 fails to build with Os with undefined reference to strcpy Product: glibc Version: 2.36 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: john.frankish at outlook dot com CC: carlos at redhat dot com Target Milestone: --- glibc-2.36 fails to build with Os, but builds without error with O2. Built using: echo "rootsbindir=3D/usr/sbin" > configparms CC=3D"gcc -mtune=3Dgeneric -Os -pipe" ../configure --prefix=3D/usr --disabl= e-werror --enable-kernel=3D5.4.3 --enable-stack-protector=3Dstrong --with-headers=3D/usr/include libc_cv_slibdir=3D/lib --enable-obsolete-rpc --libexecdir=3D/usr/lib/glibc find . -name config.make -type f -exec sed -i 's/-g -O2//g' {} \; find . -name config.status -type f -exec sed -i 's/-g -O2//g' {} \; find ../ -name Makeconfig -type f -exec sed -i 's/-g -O2//g' {} \; make /usr/lib/gcc/x86_64-tc-linux-gnu/12.2.0/../../../../x86_64-tc-linux-gnu/bin= /ld: /sources/glibc-2.36/build/elf/librtld.os: in function `_dl_start_profile': (.text+0x9587): undefined reference to `strcpy' /usr/lib/gcc/x86_64-tc-linux-gnu/12.2.0/../../../../x86_64-tc-linux-gnu/bin= /ld: /sources/glibc-2.36/build/elf/librtld.os: in function `_dl_load_cache_looku= p': (.text+0xe5fd): undefined reference to `strcpy' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1346: /sources/glibc-2.36/build/elf/ld.so] Error 1 --=20 You are receiving this mail because: You are on the CC list for the bug.=