Summary: | Imagemagick fails to compile with the hardened USE-flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | His_royal_evilness <his_royal_evilness> |
Component: | Current packages | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | tocharian |
Priority: | High | ||
Version: | 2004.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
His_royal_evilness
2004-09-10 10:32:36 UTC
The hardened herd does not use -fstack-protector in CFLAGS (it's handled by the USE flag automatic) The profile your using is outdated and no longer maintained. The error you got to me looks to almost be of the 32 vs 64bit nature. I see nothing in this bug report that shows any relation to any hardening efforts. So what did you do and why do you think it's related to the hardened USE flag? I had exectly that same problem, also on a k6-2 machine. It was fixed when I changed the cflags to: CFLAGS="-march=k6-2 -O2" (previous, troublesome cflags were the same but with -mcpu instead of -march. and i've generally had better luck and performance across the board with -O2 instead of -O3) Linux xyz.net 2.6.7-hardened-r8 #2 Mon Sep 6 19:34:29 MDT 2004 i586 AMD-K6(tm) 3D processor AuthenticAMD GNU/Linux [ebuild R ] media-gfx/imagemagick-6.0.7.1 +X +cups -debug -graphviz +jbig +jpeg +lcms +mpeg +perl +png +tiff +truetype +wmf -xml2 5,617 kB ok , -O2 works with hardened profile , still leaves open : -O3 works without using hardened profile , why not WITH hardened? -O3 has problems with SSP. python has the same problem. Rule of thumb: if you use -O3 and hardened, if it breaks, it breaks. Sincerely, Alex tocharian Can you add comment #4 to the hardenedfaq.xml please. (it's also documented in the upstream ssp docs) but people seem to miss this point all to often. |