Created attachment 418230 [details] build log On my hardened ~amd64 system with gcc-5.2.0 I see the following failure. make[3]: Entering directory '/var/tmp/portage/sci-mathematics/fricas-1.2.7/work/fricas-1.2.7/src/boot' /var/tmp/portage/sci-mathematics/fricas-1.2.7/work/fricas-1.2.7/src/scripts/build_helper --compile_lisp --debug=no --use=/var/tmp/portage/sci-mathematics/fricas-1.2.7/work/fricas-1.2.7/build/x86_64-pc-linux-gnu/bin/lisp --output=stage0/ptyout.fasl compiled/ptyout.clisp mmap: Operation not permitted ensure_space: failed to validate 1040384 bytes at 0x20000000 (hint: Try "ulimit -a"; maybe you should increase memory limits.) Makefile:253: recipe for target 'stage0/ptyout.fasl' failed make[3]: *** [stage0/ptyout.fasl] Error 1
Created attachment 418232 [details] emerge --info
I think I am seeing the same thing (since update to gcc-5)
I had to execute the following commands by hand: paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/build/x86_64-pc-linux-gnu/bin/lisp paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/src/boot/stage0/bootsys paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/src/boot/stage1/bootsys paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/build/x86_64-pc-linux-gnu/bin/bootsys paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/build/x86_64-pc-linux-gnu/bin/interpsys paxctl-ng -mr /var/tmp/portage/sci-mathematics/fricas-1.2.7-r1/work/fricas-1.2.7/target/x86_64-pc-linux-gnu/bin/AXIOMsys Afterwards it merged, but produced the following warning: * QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * http://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart * * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@g.o. * RWX --- --- usr/lib64/fricas/target/x86_64-pc-linux-gnu/bin/AXIOMsys
same here at: ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-plasma-unstable_20160509-225719) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- make.conf: USE="mmx sse sse2 pax_kernel xtpax -cdinstall -oci8 -bindist alisp apache avx btrfs cairo -clang cups dot -fontconfig gnomecanvas gtkstyle haptic hdf5 isag javafx kerberos kvm logrotate melt mng modplug mysql ois openexr policykit postscript printsupport qt3support qt5 ssse3 system-libs -system-llvm theora tk ufed usbredir webkit wxwidgets xvfb" -----------------------------------------------------------------
No longer in the tree