Skip to content

Conversation

bkuhls
Copy link
Contributor

@bkuhls bkuhls commented Aug 25, 2024

On arm 32 bit the check succeeds leading to a build error later on:

/home/autobuild/autobuild/instance-3/output-1/build/php-8.3.10/ext/standard/crc32.c:70:12:
error: 'armv8-a' does not support feature 'nothing'
70 | # pragma GCC target ("+nothing+crc")

On arm32 bit the check succeeds leading to a build error later on:

/home/autobuild/autobuild/instance-3/output-1/build/php-8.3.10/ext/standard/crc32.c:70:12:
 error: 'armv8-a' does not support feature 'nothing'
   70 | #   pragma GCC target ("+nothing+crc")

Co-authored-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[http://lists.busybox.net/pipermail/buildroot/2024-August/761151.html]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
@petk
Copy link
Member

petk commented Aug 25, 2024

Thanks for sending the patch. Would you like to see this in the PHP-8.2 branch also or is the upcoming PHP-8.4 enough?

@bkuhls
Copy link
Contributor Author

bkuhls commented Aug 25, 2024

Yes, besides 8.3 the 8.2 branch also needs the fix, see "end log" of the buildroot autobuilder protocols: http://autobuild.buildroot.net/?reason=php-8.2.16

petk added a commit that referenced this pull request Aug 25, 2024
* PHP-8.2:
  Fix GH-15587: Autotools: fix configure check for aarch64 CRC32 API
@petk petk closed this in 5947db6 Aug 25, 2024
petk added a commit that referenced this pull request Aug 25, 2024
* PHP-8.3:
  Fix GH-15587: Autotools: fix configure check for aarch64 CRC32 API
@petk
Copy link
Member

petk commented Aug 25, 2024

Merged to PHP-8.2 via 5947db6

Thank you @bkuhls

@bkuhls bkuhls deleted the master_fix_arm_crc32 branch August 25, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants