Skip to content

Commit 350e449

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
2 parents b47a7d4 + 1dfa277 commit 350e449

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.2.8
44

5+
- Core:
6+
. Fixed build for the riscv64 architecture/GCC 12. (Daniil Gentili)
7+
58
- DOM:
69
. Fixed bugs GH-11288 and GH-11289 and GH-11290 and GH-9142 (DOMExceptions
710
and segfaults with replaceWith). (nielsdos)

configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,16 @@ if test "$ac_cv_func_dlopen" = "yes"; then
371371
fi
372372
AC_CHECK_LIB(m, sin)
373373

374+
case $host_alias in
375+
riscv64*)
376+
AC_CHECK_LIB(atomic, __atomic_exchange_1, [
377+
PHP_ADD_LIBRARY(atomic)
378+
], [
379+
AC_MSG_ERROR([Problem with enabling atomic. Please check config.log for details.])
380+
])
381+
;;
382+
esac
383+
374384
dnl Check for inet_aton in -lc, -lbind and -lresolv.
375385
PHP_CHECK_FUNC(inet_aton, resolv, bind)
376386

0 commit comments

Comments
 (0)