Summary: | dev-lang/php-8.3.0-r1: fails to build with gcc-14 (zend_atomic.h:88:16: error: implicit declaration of function ‘__c11_atomic_exchange’; did you mean ‘__atomic_exchange’? [-Wimplicit-function-declaration]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/php/php-src/pull/12821 https://github.com/php/php-src/issues/13215 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580 | ||
Attachments: | build.log |
Description
Sam James
2023-12-02 06:56:53 UTC
gcc14_tinderbox has reproduced this issue with version 8.3.0-r1 - Updating summary. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41aa2e2135771de335e4487e8e4363b1e75f6aec commit 41aa2e2135771de335e4487e8e4363b1e75f6aec Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2024-02-07 09:20:36 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-02-08 00:29:19 +0000 dev-lang/php: Fix implicit declaration of function '__c11_atomic_load' This is observed with GCC14 and upstream commit[0] fixing the bug is merged only in RC branches. [0]: https://github.com/php/php-src/commit/72526609413e8a8cd768ed4966c17b1a9db6c12c.patch Closes: https://bugs.gentoo.org/919003 Closes: https://github.com/gentoo/gentoo/pull/35210 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../php/files/php-8.2.15-gcc14-build-fix.patch | 16 + dev-lang/php/php-8.2.15-r1.ebuild | 840 +++++++++++++++++++++ dev-lang/php/php-8.3.2-r1.ebuild | 802 ++++++++++++++++++++ 3 files changed, 1658 insertions(+) |