This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]