Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287097 - hardened gcc 3.4.6 overlaps stack adresses
Summary: hardened gcc 3.4.6 overlaps stack adresses
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 14:14 UTC by Stephan Fietzek
Modified: 2009-10-14 00:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Fietzek 2009-09-30 14:14:25 UTC
It's seems that the hardened gcc 3.4.6 is bugged when using -fno-strict-aliasing -O2. It overlaps the address of a stack variable with the return address.
This leads to crashing apps like clamav-0.95.2 scanning certain files.

More information here:
http://bugs.gentoo.org/show_bug.cgi?id=275928#c29
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1653#c22


Reproducible: Always
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2009-10-14 00:59:06 UTC
GCC 4.3.4 is stable on hardened.  GCC 3.4.x is frozen/not being worked on. 
Closing as WONTFIX.