Bug #70015 [NEW]: Compilation failure on aarch64 when --enable-debug

From: Date: Wed, 08 Jul 2015 02:23:20 +0000
Subject: Bug #70015 [NEW]: Compilation failure on aarch64 when --enable-debug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194194@lists.php.net to get a copy of this message
From: lrq2001 at 163 dot com Operating system: linux PHP version: 5.5.26 Package: Compile Failure Bug Type: Bug Bug description:Compilation failure on aarch64 when --enable-debug Description: ------------ 1. -O0 of gcc will be used to compile the math.c when enable debug, and lead to the below error aarch64-wrs-linux-gcc --sysroot=/buildarea1/lirq/wrlinux-8.0/a64/bitbake_build/tmp/sysroots/qemuarm64 -DPHP_ATOM_INC -D_REENTRANT -pipe -g -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -O0 -Wall -DZTS -c /buildarea1/lirq/wrlinux-8.0/a64/bitbake_build/tmp/work/aarch64-wrs-linux/php/5.5.26-r0/php-5.5.26/ext/standard/math.c -fPIC -DPIC -o ext/standard/.libs/math.o | {standard input}: Assembler messages: | {standard input}:2977: Error: operand 2 should be an integer register -- `mul x1,[x29,200],[x29,192]' | {standard input}:2978: Error: operand 2 should be an integer register -- `smulh x0,[x29,200],[x29,192]' | {standard input}:3042: Error: operand 2 should be an integer register -- `mul x1,[x29,192],[x29,192]' | {standard input}:3043: Error: operand 2 should be an integer register -- `smulh x0,[x29,192],[x29,192]' 2. if -O2 of gcc is used, not this building failure. Expected result: ---------------- pass the building on aarch64 when enable debug -- Edit bug report at https://bugs.php.net/bug.php?id=70015&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70015&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70015&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70015&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70015&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70015&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70015&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70015&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70015&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70015&r=support Expected behavior: https://bugs.php.net/fix.php?id=70015&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70015&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70015&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70015&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70015&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70015&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70015&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70015&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70015&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70015&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70015&r=mysqlcfg

« previous php.bugs (#194194) next »