Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346397 - sys-apps/v86d should include -fno-stack-protector
Summary: sys-apps/v86d should include -fno-stack-protector
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 03:27 UTC by Brant Gurganus
Modified: 2010-11-28 18:27 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 Brant Gurganus 2010-11-22 03:27:28 UTC
klibc does not provide the stack smashing protection library components, so you end up with undefined _stack_check functions. Consequently, it should have -fno-stack-protector.

Reproducible: Always

Steps to Reproduce:
1. Compile v86d with CFLAGS="-fstack-protector-all"
Actual Results:  
v86d fails to link.

Expected Results:  
v86d links fine because it can't use stack-protector since klibc doesn't provide the library portions.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2010-11-28 18:27:51 UTC
This should now be fixed in CVS.  Thanks for reporting the problem.