Summary: | sys-devel/gcc-14: broken handling of constant expressions for C (was: dev-db/postgresql: build failure with gcc 14) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pgsql-bugs, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://trac.macports.org/ticket/66060 https://bugs.gentoo.org/show_bug.cgi?id=766225 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113776 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580 | ||
Attachments: | build.log |
Description
Sam James
2024-02-05 02:32:24 UTC
an old similar bug: https://trac.macports.org/ticket/66060 or it's glibc-2.39, which feels unlikely too. OK, I see what's happening now: the configure check for a conformant stdbool.h fails w/ gcc-14 because pg injects -Werror=vla. See https://godbolt.org/z/h93TWsb89. Clang and GCC 13 don't warn on it. Not sure if d+f are guaranteed to be constant expressions in C or not yet *** Bug 924052 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=29fc9edc64e0e00a0ade3065238365a4aa46ec59 commit 29fc9edc64e0e00a0ade3065238365a4aa46ec59 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-08 10:48:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-08 10:53:06 +0000 14.0.0: backport more vectorisation fixes & postgres const expression fix Bug: https://gcc.gnu.org/PR113808 Bug: https://gcc.gnu.org/PR113750 Bug: https://gcc.gnu.org/PR113731 Bug: https://gcc.gnu.org/PR113734 (should be same as PR113808) Bug: https://gcc.gnu.org/PR113776 Bug: https://bugs.gentoo.org/923804 Bug: https://bugs.gentoo.org/923936 Signed-off-by: Sam James <sam@gentoo.org> ...fix-ICE-when-moving-statements-to-empty-B.patch | 129 +++++++++++ ...fix-ICE-when-destination-BB-for-stores-st.patch | 250 +++++++++++++++++++++ ...-don-t-cache-restart_loop-in-vectorizable.patch | 93 ++++++++ .../78_all_PR113776-c-boolean-conversion.patch | 117 ++++++++++ 14.0.0/gentoo/README.history | 7 + 5 files changed, 596 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56417a1eb97d1b94d1f22ec87e76f2b47891ae4 commit b56417a1eb97d1b94d1f22ec87e76f2b47891ae4 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-08 11:01:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-08 11:02:16 +0000 sys-devel/gcc: backport more vectorisation fixes & postgres const expression fix Bug: https://gcc.gnu.org/PR113808 Bug: https://gcc.gnu.org/PR113750 Bug: https://gcc.gnu.org/PR113731 Bug: https://gcc.gnu.org/PR113734 (should be same as PR113808) Bug: https://gcc.gnu.org/PR113776 Closes: https://bugs.gentoo.org/923804 Closes: https://bugs.gentoo.org/923936 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-14.0.1_pre20240204-r1.ebuild | 64 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) |