| Summary: | hardened-sources-2.6.36 (PAX) has a bad binutils test during compilation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | 7v5w7go9ub0o <7v5w7go9ub0o> |
| Component: | New packages | Assignee: | The Gentoo Linux Hardened Kernel Team (OBSOLETE) <hardened-kernel+disabled> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | .config and emerge --info files. thanks. | ||
|
Description
7v5w7go9ub0o
2010-11-08 18:15:10 UTC
Can you post your kernel config file. (In reply to comment #1) > Can you post your kernel config file. > Actually, now that I think of it, I'd better see your emerge --info too. Created attachment 254553 [details]
.config and emerge --info files. thanks.
Here 'tis, as an attachment.
It has happened again with r1. THANKS for looking into this.
(p.s. I'm pretty much a newbie; if you notice anything questionable, PLEASE ask or comment)
Okay a couple of things: 1) your problem is happing because you have CONFIG_CROSS_COMPILE=n. I should be #CONFIG_CROSS_COMPILE not set. That's adding the n in front of gcc which makes it fail: make: ngcc: Command not found. The problem has nothing to do with hardening. This was also hit in bug #345417. 2) Unrelated to the bug but a problem on your system. If your using the hardened profile, you should emerge the stable gcc which is currently gcc-4.4.4-r2 and use gcc-config to choose the default compiler, x86_64-pc-linux-gnu-4.4.4. Make sure to emerge -e world with that compiler to get full hardening. *** This bug has been marked as a duplicate of bug 345417 *** Yep....... vim .config; change CONFIG_CROSS_COMPILE="" fixed it. The PAX comment made me think it was hardened; now I guess that is where it was when it came across the ngcc. Thanks for your quick reply; thanks for the comments about gcc version! |