FS#54855 - Makepkg.conf new edition is broken for gcc5

Attached to Project: Arch Linux
Opened by scott (ttoocs) - Monday, 17 July 2017, 22:46 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 17 July 2017, 22:56 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Updated makepkg.conf breaks gcc5/cmake

error from gcc from cmake:
g++-5: error: unrecognized command line option '-fno-plt'

Deleting that argument from the makepkg.conf for gcc/g++ fixed it.

Reproducing:
Update to newest pacman (copy-in makepkg.conf if need be),
try compiling anything with these set, via cmake.
export CC=/usr/bin/gcc-5 ; export CXX=/usr/bin/g++-5;

Alt: simply try running gcc5 with the -fno-plt command argument.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 17 July 2017, 22:56 GMT
Reason for closing:  Won't fix
Additional comments about closing:  PKGBUILDs that require gcc5 are responsible both for making sure gcc5 is actually used, and for making sure that CFLAGS etc. are stripped of incompatible options.
Comment by loqs (loqs) - Monday, 17 July 2017, 22:53 GMT
Provided all relevant packages can be patched gcc5 will be removed from the repositories https://www.archlinux.org/todo/gcc5-removal/

Loading...