Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718054 - dev-lang/go: consider enabling PIE by default for go toolchain via USE=pie
Summary: dev-lang/go: consider enabling PIE by default for go toolchain via USE=pie
Status: RESOLVED DUPLICATE of bug 702598
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 13:55 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-04-18 16:16 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 Sergei Trofimovich (RETIRED) gentoo-dev 2020-04-18 13:55:31 UTC
sys-devel/gcc[pie] generates PIE binaries by default. gccgo also does.

People occasionally manually inject -buildmode=pie into ebuilds to keep consistent with defaults.

WDYT of making dev-lang/go default to PIE execuatbles as well?
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-18 13:58:03 UTC
bug 702598 looks to be similar
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-04-18 16:16:17 UTC
Youa re right! Closing as a duplicate.

*** This bug has been marked as a duplicate of bug 702598 ***