FS#44767 - [mingw-w64-gcc] please remove --disable-libssp from the gcc build flags

Attached to Project: Community Packages
Opened by Thomas Pöchtrager (tp) - Tuesday, 28 April 2015, 17:42 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 April 2015, 21:20 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

libssp is required for -fstack-protector(-all).

$ echo "int main(){return 0;}" | i686-w64-mingw32-gcc -fstack-protector-all -xc -
/usr/lib/gcc/i686-w64-mingw32/5.1.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lssp_nonshared
/usr/lib/gcc/i686-w64-mingw32/5.1.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lssp
collect2: error: ld returned 1 exit status
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 29 April 2015, 21:20 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Wednesday, 29 April 2015, 01:36 GMT
And how would this affect  FS#42313 ?
Comment by Sergej Pupykin (sergej) - Wednesday, 29 April 2015, 07:57 GMT
May be  FS#42313  is a Go problem?
Comment by Thomas Pöchtrager (tp) - Wednesday, 29 April 2015, 15:59 GMT
That really looks like a GO configuration issue to me, like -fstack-protector isn't passed during linking, rather than a GCC bug.

Loading...