On Wednesday, November 10 2021, Matthias Klose wrote: > $ arm-linux-gnueabihf-gcc-11 -march=armv7-a+fp -c -x c /dev/null ; echo $? > 0 > > that works, contrary what is mentioned in comment #14
I don't understand your statement here. I never claimed that gcc-11 "doesn't work". I never claimed that using -march=armv7-a+fp "never works". I claimed that using this flag to build php8.1 doesn't seem to work. You can look at the build logs here: https://launchpad.net/~sergiodj/+archive/ubuntu/php8.1-armhf/+packages https://launchpadlibrarian.net/568231957/buildlog_ubuntu-jammy-armhf.php8.1_8.1.0~rc4-1ubuntu3~ppa1_BUILDING.txt.gz This is the debdiff used in the PPA above: https://launchpadlibrarian.net/568229387/php8.1_8.1.0~rc4-1ubuntu2_8.1.0~rc4-1ubuntu3~ppa1.diff.gz diff -Nru php8.1-8.1.0~rc4/debian/rules php8.1-8.1.0~rc4/debian/rules --- php8.1-8.1.0~rc4/debian/rules 2021-10-22 23:59:56.000000000 +0000 +++ php8.1-8.1.0~rc4/debian/rules 2021-11-10 17:49:57.000000000 +0000 @@ -146,7 +146,7 @@ endif ifeq (arm-linux-gnueabihf,$(DEB_HOST_GNU_TYPE)) - DEB_CFLAGS_MAINT_APPEND += -mfpu=vfpv3-d16 + DEB_CFLAGS_MAINT_APPEND += -march=armv7-a+fp endif # Enable producing of debugging information The error we have is this: jump_arm_aapcs_elf_gas.S: Assembler messages: jump_arm_aapcs_elf_gas.S:57: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode jump_arm_aapcs_elf_gas.S:68: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode Note that using "-mfpu=vfpv3-d16" does work, and is what php8.1 uses right now in order to properly build in Ubuntu. -- Sergio GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14 ** Changed in: php8.1 (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1939379 Title: ARM kernel builds fail with GCC 11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1939379/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs