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 libc/30721] 2.38 build fails for  --disable-multiarch --enable-fortify-source , undefined reference to `__GI___memset_chk' and others
Date: Tue, 08 Aug 2023 20:23:05 +0000	[thread overview]
Message-ID: <bug-30721-131-2pLOgwEVun@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30721-131@http.sourceware.org/bugzilla/>

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Siddhesh Poyarekar from comment #1)
> I can't reproduce this on my Fedora box using:
> 
> ../configure CFLAGS="-march=nocona -mtune=native -O2 -pipe" --prefix=/usr
> --disable-multiarch --enable-fortify-source

It should be '--disable-multi-arch'.

> 
> OR even
> 
> ../configure CFLAGS="-march=nocona -mtune=native -O2 -pipe" CC="gcc -m32"
> CXX="g++ -m32" --enable-stack-protector=strong --disable-cet
> --enable-kernel=3.2.0 --without-selinux --disable-werror --enable-bind-now
> --enable-fortify-source --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
> --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr
> --disable-crypt --disable-multi-arch --disable-systemtap --disable-nscd
> ac_cv_path_PERL=no libc_cv_aarch64_sve_asm=yes --disable-timezone-tools
> 
> Maybe the gentoo compiler driver is injecting something that I need to add
> to this mix?

As I noted my proposed fix [1] only x86 is affected.  It is the only
architecture that tries to optimize the fortify wrapper with assembly routines.

[1] https://sourceware.org/pipermail/libc-alpha/2023-August/150746.html

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

  parent reply	other threads:[~2023-08-08 20:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 19:43 [Bug libc/30721] New: " dilfridge at gentoo dot org
2023-08-04 19:43 ` [Bug libc/30721] " dilfridge at gentoo dot org
2023-08-04 19:48 ` sam at gentoo dot org
2023-08-04 19:50 ` sam at gentoo dot org
2023-08-05 11:35 ` siddhesh at sourceware dot org
2023-08-08 16:22 ` siddhesh at sourceware dot org
2023-08-08 20:23 ` adhemerval.zanella at linaro dot org [this message]
2023-08-08 21:02 ` [Bug libc/30721] 2.38 build fails for --disable-multi-arch " sam at gentoo dot org

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-30721-131-2pLOgwEVun@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).