FS#30494 - [libx11] 1.5.0 building with CFLAGS="-Os" problem

Attached to Project: Arch Linux
Opened by max compress (maxcompress) - Saturday, 30 June 2012, 15:07 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 30 June 2012, 17:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

before upgrade to 1.5.0, libx11 never conflict with "-Os" flag. i compile old libx11's always with
CFLAGS="-march=amdfam10 -mtune=amdfam10 -pipe -fomit-frame-pointer -mfpmath=sse
-Os -ffast-math"
and working perfectly.

if libx11 1.5.0-1 build with -Os, most (all?) libx11 depended programs (such as xterm) can not be built.

building packages fail with this messages:
libx11: undefined reference to `__pow_finite'
libx11: undefined reference to `pow'

Additional info:
* package version(s)
libx11 1.5.0 , gcc 4.7.1
* config and/or log files etc.

Steps to reproduce:
-add "-Os" to CFLAGS in /etc/makepkg.conf
-compile libx11 1.5.0 with 'makepkg' and install.
-compiling any xwindow program (like xterm) will fail.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 30 June 2012, 17:06 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Arch doesn't use -Os optimisation. If it's broken it can be a compiler issue or libx11 itself. Anyway it's an upstream issue. But doesn't touch official Arch packages in any way.

Loading...