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

Bug 775152

Summary: dev-libs/atk-2.36.0 does not respect LDFLAG norelro
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    

Description Agostino Sarubbo gentoo-dev 2021-03-09 21:52:27 UTC
If you compile the package with:
LDFLAGS=" -Wl,--hash-style=gnu -Wl,-z,norelro"
you won't see "No Relro" so it is not respected

To test please use checksec from app-admin/checksec
 ~ $ checksec --file=/usr/lib64/libatk-1.0.so.0.23609.1
RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH	Symbols		FORTIFY	Fortified	Fortifiable	FILE
Full RELRO      No canary found   NX enabled    DSO             No RPATH   No RUNPATH   No Symbols	  No	0		0		/usr/lib64/libatk-1.0.so.0.23609.1