Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775149 - x11-libs/gdk-pixbuf-2.42.2 does not respect LDFLAG norelro
Summary: x11-libs/gdk-pixbuf-2.42.2 does not respect LDFLAG norelro
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2021-03-09 21:51 UTC by Agostino Sarubbo
Modified: 2021-03-13 15:57 UTC (History)
1 user (show)

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-09 21:51:19 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/libgdk_pixbuf-2.0.so.0.4200.2
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	  Yes	1		3		/usr/lib64/libgdk_pixbuf-2.0.so.0.4200.2