Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204093 - sys-apps/v86d doesn't build with CFLAGS=-fstack-protector"
Summary: sys-apps/v86d doesn't build with CFLAGS=-fstack-protector"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 18:06 UTC by Marek Szuba (RETIRED)
Modified: 2008-12-30 01:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
v86d-filter-fstack-protector.patch (v86d-filter-fstack-protector.patch,385 bytes, patch)
2008-01-02 18:06 UTC, Marek Szuba (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2008-01-02 18:06:11 UTC
Hello again,

If -fstack-protector is set in CFLAGS, v86d fails to build - quite obviously I guess, as it gets statically linked against klibc which doesn't offer the necessary features.
Attached you will find a patch which filters this CFLAG at the ebuild level; in the long run it would perhaps be useful to make stack protector work with klibc.
Comment 1 Marek Szuba (RETIRED) archtester gentoo-dev 2008-01-02 18:06:28 UTC
Created attachment 139893 [details, diff]
v86d-filter-fstack-protector.patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-02 18:09:44 UTC
Nope; don't use such flags, use a proper hardened profile instead.
Comment 3 Dennis Schridde 2008-12-30 01:15:48 UTC
Can you please filter that flag anyway? Almost everything builds with it, except v86d...