From 0eed75ff15f0cdd56dce8a570035e713386eb58a Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Sun, 11 Jun 2023 18:05:29 +0200 Subject: [PATCH] php: drop explicite ARM_INSTRUCTION_SET If my git skills don't trick me, forcing ARM mode for PHP dates back to year 2015 with commit e836f8f93. I wondered whether the compile problem still persists and just tested that it compiles fine for qemuarm nowaydays. I also tested the binaries on a physical device, a NXP iMX6ULL based one, and did not notice any problems so far. Signed-off-by: Michael Heimpold Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/php/php_8.2.6.bb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meta-oe/recipes-devtools/php/php_8.2.6.bb b/meta-oe/recipes-devtools/php/php_8.2.6.bb index dad9554523..404ff393b2 100644 --- a/meta-oe/recipes-devtools/php/php_8.2.6.bb +++ b/meta-oe/recipes-devtools/php/php_8.2.6.bb @@ -284,12 +284,3 @@ do_install:append:class-native() { create_wrapper ${D}${bindir}/php \ PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ } - -# Fails to build with thumb-1 (qemuarm) -# | {standard input}: Assembler messages: -# | {standard input}:3719: Error: selected processor does not support Thumb mode `smull r0,r2,r9,r3' -# | {standard input}:3720: Error: unshifted register required -- `sub r2,r2,r0,asr#31' -# | {standard input}:3796: Error: selected processor does not support Thumb mode `smull r0,r2,r3,r3' -# | {standard input}:3797: Error: unshifted register required -- `sub r2,r2,r0,asr#31' -# | make: *** [ext/standard/math.lo] Error 1 -ARM_INSTRUCTION_SET = "arm"