Arch Linux

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!
Tasklist

FS#35022 - [pacman] CPPFLAGS="-D_FORTIFY_SOURCE=2" makes php-5.2.17 compile fail

Attached to Project: Arch Linux
Opened by 謝致邦 (Red54) - Monday, 29 April 2013, 05:41 GMT
Last edited by Allan McRae (Allan) - Monday, 29 April 2013, 05:54 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In /etc/makepkg.conf, the following default flags makes php-5.2.17 compile fail:

CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"

But the previous default flags works fine:

CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"


Steps to reproduce:

just makepkg the PKGBUILD which I upload.
   PKGBUILD (0.9 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 29 April 2013, 05:54 GMT
Reason for closing:  Not a bug

Loading...