Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775491 - dev-lang/spidermonkey-78.8.0 enables pie on its own
Summary: dev-lang/spidermonkey-78.8.0 enables pie on its own
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 16:47 UTC by Agostino Sarubbo
Modified: 2024-10-09 06:56 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 Agostino Sarubbo gentoo-dev 2021-03-11 16:47:50 UTC
/usr/bin/js78 installed by spidermonkey has pie enabled on its own:

checksec --file=/usr/bin/js78
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      Symbols         FORTIFY Fortified       Fortifiable     FILE
Partial_RELRO   No canary found   NX enabled    PIE_enabled     No RPATH   No RUNPATH   No Symbols        Yes   10              26              /usr/bin/js78


checksec utility comes from app-admin/checksec
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-12 00:00:30 UTC
I don't think we are going to expose "--enable-pie". EXTRA_CONF is your friend.
Comment 2 Joonas Niilola gentoo-dev 2024-10-09 06:56:13 UTC
Hmm indeed there's --enable-pie configure option that's most likely enabled by default. Althoguh I don't know what printing it to the ebuild does, but we can do that if that's what you want? Anwyay please check with current versions and reopen the bug if it's still valid.