Summary: | libtorrent-0.8.0 fails to compile with gcc-3.4.4-hardened | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Deranek <marcin.deranek> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://mail-index.netbsd.org/pkgsrc-bugs/2005/10/23/0007.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Deranek
2005-12-07 08:24:12 UTC
I'm able to reproduce this problem with gcc-3.4.4 Being that the problem is in the c++ handling of ssp you will need to merge the pkg in question with -fno-stack-protector I was able to merge it here using the following command. env CXXFLAGS="-O2 -mtune=i686 -g3 -fforce-addr -fno-stack-protector" \ emerge libtorrent Yes, adding '-fno-stack-protector' to CXXFLAGS fixes the problem, but are there any chances for the real fix ? I'm highly doubtful that this ICE will be fixed ever. gcc-3.4.x is almost not supported upstream anymore. gcc-4.x reintroduces ssp but it's been contorted to the point where it's almost undesirable to want to use at this point in time. I'd suggest snagging a copy of my bashrc and setting up a set of local package.cflags and appending the desired flag for this pkg and any other c++ package that you see failing with the sweep_string_variable ICE. Undertood - thanks for reply. Personally I can live with that.. |