Bug #78268 [Com]: Incompatible LDFlags with arm

From: Date: Wed, 10 Jul 2019 11:33:27 +0000
Subject: Bug #78268 [Com]: Incompatible LDFlags with arm
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221677@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78268&edit=1 ID: 78268 Comment by: cyril dot pascal_php at m4x dot org Reported by: cyril dot pascal_php at m4x dot org Summary: Incompatible LDFlags with arm Status: Open Type: Bug Package: Compile Failure Operating System: linux PHP Version: 7.4.0alpha2 Block user comment: N Private report: N New Comment: According to https://en.wikipedia.org/wiki/Page_(computer_memory)#Multiple_page_sizes , the value set to 2^21 (2MB) is to high for some processors but ok with x86 / x86_64 processors. For instance, for ARMv7, 2^16 (64KB) is fine, but higher value is not Previous Comments: ------------------------------------------------------------------------ [2019-07-10 06:41:55] cyril dot pascal_php at m4x dot org Description: ------------ The following commit introduced a regression in raspberry compilation host arm-linux-gnueabihf : https://github.com/php/php-src/commit/62ded6efbcb41e24a505117f8de5b70d56a98f57 The linker flags do not seem compatible with my arch and produce a badly linked executable. Test script: --------------- ./configure CFLAGS= CXXFLAGS= --enable-cli --disable-phpdbg --disable-all --build=arm-linux-gnueabihf --disable-cgi && make -j4 sapi/cli/php --version Expected result: ---------------- PHP 8.0.0-dev (cli) (built: Jul 9 2019 08:04:41) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies Actual result: -------------- Segmentation fault $ ldd sapi/cli/php not a dynamic executable ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78268&edit=1

« previous php.bugs (#221677) next »