From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7113A3895FED; Fri, 16 Sep 2022 15:39:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7113A3895FED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663342787; bh=KCYTZ+kgBR/ae6reT2K5nEtPUI0ycxMRtxZ1KzgMxW8=; h=From:To:Subject:Date:From; b=X6zQoTWzG0sE9PMSeQ++Mh0rmGvn8zJw1YdxoAVkVj11LpM5agu3xP6bMdUg9jdkt 20i67AwDGKwSTOKtNJzbQOAtiNC61KeROJOG5E7tgYkuaeD1HuOKb3gYq1U4H30sa1 AK4AVOrPUvZEVwdXXNNqQlG0TB9P8m0AEz7Agy84= From: "koldat at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/29576] New: librtld.os: in function `_dl_start_profile': (.text+0x9444): undefined reference to `strcpy' Date: Fri, 16 Sep 2022 15:39:46 +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: koldat at gmail 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=3D29576 Bug ID: 29576 Summary: librtld.os: in function `_dl_start_profile': (.text+0x9444): undefined reference to `strcpy' Product: glibc Version: 2.36 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: koldat at gmail dot com CC: carlos at redhat dot com Target Milestone: --- When building glibc 2.36 I started to see "undefined reference to `strcpy'". This was working for 2.36. I have found similar issue #29454 that have fixed one problem of strcpy. Second one is still there. I have tried very latest = 2.36 commit in release branch with same result (I have seen patch was backborted there to fix one of strcpy issues). I even replaced strcpy wiht stpccy in sprof.c (only place with strcpy withi= ng elf directory), but did not help. Anyone any idea what can be done? mv -f /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/rtld-libc.aT /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/rtld-libc.a make[3]: Leaving directory '/home/abuild/aports/main/glibc/src/glibc-2.36/e= lf' gcc -Wl,--as-needed,-O1,--sort-common -nostdlib -nostartfiles -r -o /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/librtld.os '-Wl,-(' /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/dl-allobjs.os /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/rtld-libc.a -lgcc '-Wl,-)' \ =20=20=20=20=20=20=20=20=20 -Wl,-Map,/home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/librtld.os= .map gcc -Wl,--as-needed,-O1,--sort-common -nostdlib -nostartfiles -shared -o /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/ld.so.new \ -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \ -Wl,-z,pack-relative-relocs \ /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/librtld.os -Wl,--version-script=3D/home/abuild/aports/main/glibc/src/glibc-2.36/build/= ld.map \ -Wl,-soname=3Dld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-alpine-linux-gnu/11.2.1/../../../../x86_64-alpine-linux= -gnu/bin/ld: /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/librtld.os: in func= tion `_dl_start_profile': (.text+0x9444): undefined reference to `strcpy' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:1346: /home/abuild/aports/main/glibc/src/glibc-2.36/build/elf/ld.so] Error 1 make[2]: Leaving directory '/home/abuild/aports/main/glibc/src/glibc-2.36/e= lf' make[1]: *** [Makefile:484: elf/subdir_lib] Error 2 make[1]: Leaving directory '/home/abuild/aports/main/glibc/src/glibc-2.36' --=20 You are receiving this mail because: You are on the CC list for the bug.=