Bug #76392 [Opn]: Error relocating sapi/cli/php: unsupported relocation type 37

From: Date: Wed, 20 Jun 2018 21:32:33 +0000
Subject: Bug #76392 [Opn]: Error relocating sapi/cli/php: unsupported relocation type 37
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215820@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76392&edit=1 ID: 76392 Updated by: cmb@php.net Reported by: peterkokot at gmail dot com Summary: Error relocating sapi/cli/php: unsupported relocation type 37 Status: Open Type: Bug Package: *Compile Issues Operating System: Alpine 3.7 PHP Version: master-Git-2018-05-30 (Git) Block user comment: N Private report: N New Comment: Great, thanks! It seems to me that __attribute__((ifunc(…))) is not supported by this runtime. To verify this, consider to remove the ifunc support detection[1]. [1] <https://github.com/php/php-src/blob/98aa3a65c4e68e4cd50ab62221a409e4b74cec65/build/ax_gcc_func_attribute.m4#L152-L156> Previous Comments: ------------------------------------------------------------------------ [2018-06-20 21:09:03] peterkokot at gmail dot com With the mentioned commit it outputs only one error. With latest master as of this writing it outputs 4 mentioned errors. However, now I've made a bit of a progress in identifying what's one of the problems. The first identified problematic commit is 98aa3a6[1] Before that it works correctly, and with this commit it outputs a single error: Error relocating sapi/cli/php: unsupported relocation type 37 [1] http://git.php.net/?p=php-src.git;a=commit;h=98aa3a65c4e68e4cd50ab62221a409e4b74cec65 If anyone has any clue... I'm checking out what's up with that... ------------------------------------------------------------------------ [2018-06-20 17:11:59] cmb@php.net Peter, does this affect master/PHP 7.3 only? If so, could you please check whether commit a6e86f7[1] is the first one to cause this issue? [1] <http://git.php.net/?p=php-src.git;a=commit;h=a6e86f7a3f954a5cc05508228572e9f1db5d2771> ------------------------------------------------------------------------ [2018-05-30 16:17:35] cmb@php.net Thanks for trying. ------------------------------------------------------------------------ [2018-05-30 14:47:51] peterkokot at gmail dot com It's the same also when adding the --without-pcre-jit This is x86 64bit architecture so the pcre-jit should be an issue only on s390x. ------------------------------------------------------------------------ [2018-05-30 11:47:42] cmb@php.net Please try ./configure --disable-all --without-pcre-jit (see also the respective note in <http://php.net/manual/en/install.unix.php>). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76392 -- Edit this bug report at https://bugs.php.net/bug.php?id=76392&edit=1

« previous php.bugs (#215820) next »