i686-linux-gnu-no-pie build failure

Joseph Myers josmyers@redhat.com
Wed Sep 3 16:36:11 GMT 2025


On Wed, 3 Sep 2025, H.J. Lu wrote:

> On Wed, Sep 3, 2025, 8:28 AM Joseph Myers <josmyers@redhat.com> wrote:
> 
> > With GCC mainline, we have a failure
> >
> > FAIL: glibcs-i686-linux-gnu-no-pie build
> >
> > that appears to result from the GCC change:
> >
> > commit 07d8de9174c421d719649639a1452b8b9f2eee32
> > Author: H.J. Lu <hjl.tools@gmail.com>
> > Date:   Wed Jul 2 08:58:23 2025 +0800
> >
> >     x86-64: Add --enable-x86-64-mfentry
> >
> > This warning "'-pg' without '-mfentry' may be unreliable with shrink
> > wrapping" doesn't have an option to control it.  I suppose we need to
> > change options used to build profiling glibc for i686 to avoid this
> > warning?
> >
> 
> Does it fail for Linux i686? If not, why?

The failure is specific to the no-pie case (i.e. --disable-default-pie), 
presumably because the warning is disabled for PIC.

-- 
Joseph S. Myers
josmyers@redhat.com


More information about the Libc-alpha mailing list