Summary: | sys-kernel/hardened-sources-4.1.7-r1: CONFIG_BUILD_DOCSRC is broken with -fstack-protector | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Yao (RETIRED) <ryao> |
Component: | [OLD] Core system | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | atoth, ccx, genkernel, hardened, kent.f.davis, pageexec, spender |
Priority: | Normal | Keywords: | Bug, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | disable ssp |
Description
Richard Yao (RETIRED)
2015-12-07 19:39:04 UTC
Created attachment 418736 [details, diff]
disable ssp
The problem is that parse_vdso.o get compile with ssp and
vdso_standalone_test_x86.o with no ssp as it should but
vdso_standalone_test_x86 dep on parse_vdso.o
so it fail to link.
It is more a upstream bug.
(In reply to Magnus Granberg from comment #1) > It is more a upstream bug. Okay, let's let pipacs look at this. i don't see any plugin issues here? what's the exact error and how do you reproduce it? I think it was a CFLAG thats coded into the kernel calling -fno-stack-protector. See https://github.com/torvalds/linux/blob/master/Documentation/vDSO/Makefile (In reply to scott from comment #4) > I think it was a CFLAG thats coded into the kernel calling > -fno-stack-protector. > > See https://github.com/torvalds/linux/blob/master/Documentation/vDSO/Makefile yes it is. @pipacs, sorry for the noise, i didn't read the bug carefully enough *** Bug 574214 has been marked as a duplicate of this bug. *** The patch looks like it just moves no-stack-protector from HOSTCFLAGS_vdso_standalone_test_x86.o to plain HOSTCFLAGS. Is it overkill to add it everywhere? should it instead be added only to the other objects that fail? |