Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47607 - [paxd] g++ segfault

Attached to Project: Community Packages
Opened by Michael Schönitzer (Nudin) - Sunday, 03 January 2016, 17:26 GMT
Last edited by Daniel Micay (thestinger) - Saturday, 09 January 2016, 23:02 GMT
Task Type Feature Request
Category Upstream Bugs
Status Closed
Assigned To Daniel Micay (thestinger)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
With Grsec & PaX compiling webkit-server with pip fails:
$ pip install webkit-server
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Makefile.webkit_server:1470: recipe for target 'build/Version.o' failed
make[1]: *** [build/Version.o] Error 4
make[1]: Leaving directory '/tmp/pip-build-2l7c4w7y/webkit-server/src'
Makefile:42: recipe for target 'sub-src-webkit_server-pro-make_first-ordered' failed
make: *** [sub-src-webkit_server-pro-make_first-ordered] Error 2
error: [Errno 2] No such file or directory: 'src/webkit_server'

----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-2l7c4w7y/webkit-server/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-cel06lps-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2l7c4w7y/webkit-server

Dmesg-Error:
[20110.661330] cc1plus[27639]: segfault at 3cb37211668 ip 00000000010bbd97 sp 0000039409808838 error 4 in cc1plus[400000+14ed000]
This task depends upon

Closed by  Daniel Micay (thestinger)
Saturday, 09 January 2016, 23:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  paxd-32-1
Comment by Daniel Micay (thestinger) - Sunday, 03 January 2016, 17:51 GMT
Does it work with PaX soft mode enabled? That would mean that this is a missing paxd exception. If so, you should check if it works with a RANDMMAP exception set for cc1plus (er).

https://wiki.archlinux.org/index.php/PaX#PaX_exceptions
Comment by Michael Schönitzer (Nudin) - Saturday, 09 January 2016, 01:51 GMT
Works with 'er' for /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/cc1plus.

Loading...