I am unable to emerge gtk+ 2.8.12 on hardened Gentoo (x86, kernel 2.4.32-hardened-r2, glibc 2.3.5, gcc 3.4.x). PaX kills gdk-pixbuf-query-loaders during emerge Emerge output: creating gdk-pixbuf-query-loaders Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf. /bin/sh: line 1: 14947 Killed ../gdk-pixbuf/gdk-pixbuf-query-loaders $LOADERS >./gdk-pixbuf.loaders make[4]: *** [gdk-pixbuf.loaders] Error 137 make[4]: *** Waiting for unfinished jobs.... i386-pc-linux-gnu-gcc -pipe -O2 -march=pentium3 -mtune=athlon-xp -fomit-frame-pointer -maccumulate-outgoing-args -ftracer -fforce-addr -fpeel-loops -fweb -funit-at-a-time -Wall -Wl,-O1 -Wl,--sort-common -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm creating test-gdk-pixbuf make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: x11-libs/gtk+-2.8.12 failed. !!! Function src_compile, Line 115, Exitcode 2 dmesg output: grsec: signal 11 sent to /usr/bin/python2.4[python:6360] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/python2.4[python:6360] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250 grsec: signal 11 sent to /usr/bin/python2.4[python:24432] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:1928] uid/euid:250/250 gid/egid:250/250 by /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:24432] uid/euid:250/250 gid/egid:250/250 PAX: execution attempt in: <NULL>, 00000000-00000000 00000000 PAX: terminating task: /var/tmp/portage/gtk+-2.8.12/work/gtk+-2.8.12/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders(lt-gdk-pixbuf-q):14616, uid/euid: 250/250, PC: 00000000, SP: 5ba154cc PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? PAX: bytes at SP-4: 4408b802 271b0662 271ef5fc 00000000 5ba158c2 2726ce72 00aad0af 27313574 5ba154f8 27228222 17d22f7c 0000000f 5ba155b4 17d21320 270d7e50 270d0498 5ba15518 270d5eb9 270cffc4 270d0a38 5ba15528 grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/gtk+-2.8.12/work/gtk+-2.8.12/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders[lt-gdk-pixbuf-q:14616] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:13682] uid/euid:250/250 gid/egid:250/250
Created attachment 84101 [details] emerge --info output
Created attachment 84678 [details] strace log Here is the output I got from strace. I checked the directory with scanelf and it seems there is nothing abnormal.
Created attachment 84710 [details] strace on lt-gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders is a shell script wrapping lt-gdk-pixbuf-query-loaders found in the .libs directory and it is the latter one that is crashing. I ran strace directly on it.
Created attachment 84711 [details] scanelf -a output on .libs directory I also ran scanelf -a on the .libs directory. Here is the output.
is this still a problem? for me 2.10.11 emerges fine without any NULL derefs (which was the case here).