Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31790

Summary: Compiling gradm failed when hardened-gcc was not installed
Product: Gentoo Linux Reporter: Stephen Cook <siti>
Component: [OLD] UnspecifiedAssignee: solar (RETIRED) <solar>
Status: RESOLVED INVALID    
Severity: normal CC: pappy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen Cook 2003-10-22 21:10:14 UTC
Compiling gradm (1.9.12) failed when hardened-gcc was not installed.  But when
hardened-gcc is installed then it compiles perfectly

Reproducible: Always
Steps to Reproduce:
1. make sure hardened-gcc is not installed
2. install gradm
3.

Actual Results:  
did not compile

Expected Results:  
There needs to be dep in gradm for hardened-gcc
Comment 1 solar (RETIRED) gentoo-dev 2003-10-23 08:42:46 UTC
I don't think that's right.

gradm should never have to depend on hardened-gcc, infact the two are not
even compatible as gradm will link as static no matter what.
I've been told that linking static is a requirement of gradm by (Brad spender@grsecurity.net)

I've unmerged hardened-gcc over here and rebuilt gradm-1.9.12 four times
here with various set of CFLAGS without a single error.

Now what is very possible here is there might be some underlying gcc bugs
(gcc-3.3.x) with static linking that get fixed by pappy's hgcc specs.

What version of gcc are you running with?

I'll keep this bug open for a few days, but I think the end resolution will
be marked as INVALID.
Comment 2 solar (RETIRED) gentoo-dev 2003-11-08 22:49:06 UTC
changing resolution to INVALID