Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 775491

Summary: dev-lang/spidermonkey-78.8.0 enables pie on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.