|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesfix-asm-constraints-in-aarch64-multiply-macro (last revision 2016-04-25 10:15 UTC by schwab at linux-m68k dot org)X-to-r-to-avoid-macro-expansion-error.patch (last revision 2015-07-10 06:09 UTC by rongqing dot li at windriver dot com) Pull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2018-08-21 22:15 UTC] petk@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: petk
[2018-08-21 22:15 UTC] petk@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 18:00:02 2025 UTC |
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