GRSecurity releated?

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

GRSecurity releated?

Postby To » Mon Oct 02, 2006 9:11 am

I've having problems copiling wxGTK and wxWidgets on gentoo. This is the only 2 packages that fail to copile and I'm start to think that may be some grsecurity feature that I've may turn on that make s this happends:

Code: Select all
./bk-deps i686-pc-linux-gnu-g++ -c -o basedll_fmapbase.o -I.pch/wxprec_basedll
-D__WX__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC
-DWX_PRECOMP -DNO_GCC_PRAGMA -Ilib/wx/include/base-ansi-release-2.6
-I/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/include
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fno-strict-aliasing -march=pentium4
-O3 -pipe -fno-strict-aliasing -pthread -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -Wall -Wundef -Wno-ctor-dtor-privacy
/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/src/common/fmapbase.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o basedll_fs_zip.o -I.pch/wxprec_basedll
-D__WX__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC
-DWX_PRECOMP -DNO_GCC_PRAGMA -Ilib/wx/include/base-ansi-release-2.6
-I/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/include
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fno-strict-aliasing -march=pentium4
-O3 -pipe -fno-strict-aliasing -pthread -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -Wall -Wundef -Wno-ctor-dtor-privacy
/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/src/common/fs_zip.cpp
/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/src/common/fmapbase.cpp:1:
fatal error: had to relocate PCH
compilation terminated.
/var/tmp/portage/wxGTK-2.6.3.3/work/wxPython-src-2.6.3.3/src/common/fs_zip.cpp:1:
fatal error: had to relocate PCH
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [basedll_fmapbase.o] Error 1
make: *** Waiting for unfinished jobs....
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [basedll_fs_zip.o] Error 1



Any ideas? I don't have any kernel without grsecurity, but I can copile one and give it a try...

Tó
To
 
Posts: 22
Joined: Thu Dec 05, 2002 8:26 am

Re: GRSecurity releated?

Postby PaX Team » Mon Oct 02, 2006 6:08 pm

To wrote:I've having problems copiling wxGTK and wxWidgets on gentoo. This is the only 2 packages that fail to copile and I'm start to think that may be some grsecurity feature that I've may turn on that make s this happends:
precompiled header support (PCH) is not compatible with ASLR, or rather, there's a botched up attempt at handling it but it's not compatible with SEGMEXEC, so your best option is to disable everything on the gcc binaries: paxctl -rspm /usr/bin/i686-pc-linux-gnu* /usr/i686-pc-linux-gnu/gcc-bin/*/i686-pc-linux-gnu* /usr/libexec/gcc/i686-pc-linux-gnu/*/*

if you have softmode, you could enable it while emerging these packages as well.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron