public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla@sourceware.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	[thread overview]
Message-ID: <bug-29938-131-ddpRxmTvbm@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29938-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=29938

--- Comment #9 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to john.frankish from comment #8)
> 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=generic -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=/usr/src/glibc-2.36/build/ld.map                \
>           -Wl,-soname=ld-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=glibc.git;a=shortlog;h=refs/heads/release/2.36/master

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2022-12-31 13:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 12:52 [Bug build/29938] New: " john.frankish at outlook dot com
2022-12-24  1:09 ` [Bug build/29938] " goldstein.w.n at gmail dot com
2022-12-25  9:26 ` john.frankish at outlook dot com
2022-12-26 20:23 ` goldstein.w.n at gmail dot com
2022-12-27 14:17 ` john.frankish at outlook dot com
2022-12-27 14:18 ` john.frankish at outlook dot com
2022-12-29 12:59 ` adhemerval.zanella at linaro dot org
2022-12-29 13:00 ` adhemerval.zanella at linaro dot org
2022-12-31 11:35 ` john.frankish at outlook dot com
2022-12-31 13:32 ` adhemerval.zanella at linaro dot org [this message]
2022-12-31 15:50 ` john.frankish at outlook dot com
2023-01-03 15:13 ` adhemerval.zanella at linaro dot org
2023-01-03 16:28 ` john.frankish at outlook dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29938-131-ddpRxmTvbm@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).