[Bug build/20729] glibc-2.24 fails to build for i486 with -Os

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Sun Oct 23 12:46:00 GMT 2016


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to john.frankish from comment #0)
> ../sysdeps/unix/sysv/linux/posix_fallocate.c:39:1: error: bp cannot be used
> in asm here

This is an internal error message from the GCC register allocator.  It reflects
a compiler limitation/bug.  There is not much we can do about this.  The
workaround we have in place assumes that this only happens for profiling (PROF)
builds.  If this is not true, maybe it is time to fix this on the GCC side.

I don't really see how we can set OPTIMIZE_FOR_GCC_5 correctly for assembler
code, which do not see __OPTIMIZE_SIZE__.  The lack of consistency there is
what causes the link failure.

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


More information about the Glibc-bugs mailing list