Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
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
|
DetailsDescription:
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.
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.