[Bug build/22581] glibc-2.26 fails to build for i486 with -Os
adhemerval.zanella at linaro dot org
sourceware-bugzilla@sourceware.org
Mon Dec 18 11:57:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=22581
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |adhemerval.zanella at linaro dot o
| |rg
Resolution|--- |INVALID
--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
The issue is confirparms is not used on configure and for i386 we require to
check if the compiler allows to use ebp in inline assembly (check
sysdeps/unix/sysv/linux/i386/configure.ac).
Instead of using configparms you can try to configure it differently as:
CC="gcc -isystem /usr/lib/gcc/i486-pc-linux-gnu/7.2.0/include -isystem
/usr/include" CFLAGS="-march=i486 -mtune=i686 -Os -pipe" ../configure
--prefix=/usr --libexecdir=/usr/lib/glibc --enable-kernel=4.2.9
--enable-stack-protector=strong libc_cv_slibdir=/lib --disable-werror
There is no plan to support integrate configparms on configure check, although
patches are welcome.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list