pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
php73 build failure
I see a repeatable build failure in php73 on 9.99.x/amd64 (currently
x=12). It seems that e.g. mef and taca can build it fine.
It looks like this for me:
Generating phar.php
gmake: *** [Makefile:364: ext/phar/phar.php] Segmentation fault (core dumped)
gmake: *** Deleting file 'ext/phar/phar.php'
*** Error code 2
# gdb /scratch/lang/php73/work/php-7.3.9/sapi/cli/php /scratch/lang/php73/work/php-7.3.9/php.core
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /scratch/lang/php73/work/php-7.3.9/sapi/cli/php...
[New process 1]
Core was generated by `php'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _rtld_call_ifunc (obj=0x7b89f5f35000, mask=mask@entry=0x7f7fffd37de0, cur_objgen=cur_objgen@entry=1) at /usr/src/libexec/ld.elf_so/reloc.c:298
298 *where = target;
(gdb) bt
#0 _rtld_call_ifunc (obj=0x7b89f5f35000, mask=mask@entry=0x7f7fffd37de0, cur_objgen=cur_objgen@entry=1) at /usr/src/libexec/ld.elf_so/reloc.c:298
#1 0x00007f7e97a02efb in _rtld_call_ifunc_functions (cur_objgen=1, obj=<optimized out>, mask=0x7f7fffd37de0) at /usr/src/libexec/ld.elf_so/rtld.c:271
#2 _rtld_call_init_functions (mask=mask@entry=0x7f7fffd37de0) at /usr/src/libexec/ld.elf_so/rtld.c:306
#3 0x00007f7e97a03b7a in _rtld (sp=<optimized out>, relocbase=<optimized out>) at /usr/src/libexec/ld.elf_so/rtld.c:782
#4 0x00007f7e97a007d3 in rtld_start () from /usr/libexec/ld.elf_so
#5 0x0000000000000000 in ?? ()
I thought it might be related to the switch from pcre to pcre2
(compared to php72) and the corresponding possible issue with PaX
mprotect, but
# sysctl -w security.pax.mprotect.enabled=0
does not fix the build.
Does anyone else see this?
Any ideas?
(The other php versions build fine.)
Thomas
Home |
Main Index |
Thread Index |
Old Index