Opened 4 weeks ago
Closed 4 days ago
#19755 closed enhancement (fixed)
gcc-14 issues
Reported by: | Bruce Dubbs | Owned by: | blfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.2 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
Just creating a ticket with a reference for easy access:
Change History (20)
follow-up: 2 comment:1 by , 3 weeks ago
follow-up: 3 comment:2 by , 3 weeks ago
Replying to Douglas R. Reno:
Mesa has a crash at runtime when compiled with GCC 14. It happens on AMDGPU cards in the si_llvm_optimize_module function.
It's triggered by LTO: https://gitlab.archlinux.org/archlinux/packaging/packages/mesa/-/commit/c3e9f807291589f75da76aa9ecabe59818139f95
and we don't enable LTO for BLFS Mesa.
comment:3 by , 3 weeks ago
Replying to Xi Ruoyao:
Replying to Douglas R. Reno:
Mesa has a crash at runtime when compiled with GCC 14. It happens on AMDGPU cards in the si_llvm_optimize_module function.
It's triggered by LTO: https://gitlab.archlinux.org/archlinux/packaging/packages/mesa/-/commit/c3e9f807291589f75da76aa9ecabe59818139f95
and we don't enable LTO for BLFS Mesa.
P.S. Anyway they should report it to the upstream instead of just hacking it around in the distro.
follow-up: 5 comment:4 by , 3 weeks ago
comment:5 by , 3 weeks ago
comment:8 by , 2 weeks ago
Replying to Rahul Chandra:
QCA and evolution-data-server FTBFS with GCC 14+
Evolution-data-server builds fine for me.
comment:9 by , 2 weeks ago
Replying to Rahul Chandra:
webkitgtk also FTBFS, but clang seems to fix it
webkitgtk also builds fine for me. Can you post how it FTBFS?
comment:10 by , 2 weeks ago
PLEASE paste the error message for a FTBFS and try to search in the upstream bug tracker if you hit it. And PLEASE do not duplicate a report from another distro w/o investigation.
comment:11 by , 2 weeks ago
Sorry, it was really late last night so I didn't want to report the errors upstream without further investigation, here are the errors,
evolution-data-server (doesn't build with clang either with the same error might be something else): Camel-1.2.gir:42980.7-42982.16: warning: Field `Camel.Provider.auto_detect' conflicts with method of the same name Camel-1.2.gir:55193.7-55196.24: warning: Field `Camel.StoreInfo.path' conflicts with method of the same name Camel-1.2.gir:64312.35-64312.35: error: The type name `off_t' could not be found [ 79%] Built target gir-typelibs-EBook_1_2_gir <type name="off_t" c:type="off_t*"/> ^ Camel-1.2.gir:64563.33-64563.33: error: The type name `off_t' could not be found <type name="off_t" c:type="off_t"/>
Give me a second to get the rest
follow-up: 13 comment:12 by , 2 weeks ago
QCA (Doesn't build with clang, might be a chroot issue):
<command-line>: error: unable to find string literal operator 'operator""C' with 'const char16_t [65]', 'long unsigned int' arguments /blfs/builds/qca-2.3.8/src/qca_core.cpp:466:34: note: in expansion of macro 'QCA_PLUGIN_PATH' 466 | paths << QDir(QStringLiteral(QCA_PLUGIN_PATH)).canonicalPath();
comment:13 by , 2 weeks ago
Replying to Rahul Chandra:
QCA (Doesn't build with clang, might be a chroot issue):
Isn't this a gcc ticket?
comment:14 by , 2 weeks ago
yes, because it doesn't build with gcc or clang, I have confirmed it's not a chroot issue.
comment:16 by , 2 weeks ago
qca build for me with gcc-14, but I had about 150 warnings, most for deprecated usage.
comment:17 by , 2 weeks ago
Interesting I somehow got QCA and Webkitgtk working?? The only thing I can think of is that I gave my system a reboot but I don't see how that would affect anything. evolution-data-server is still broken for me though.
comment:18 by , 2 weeks ago
Sorry for the noise, seems like my vala build was corrupted, rebuilding vala fixed the issue.
comment:19 by , 12 days ago
Use the same Vala version as the book says. Old Vala may build fine but then produce some C code rejected by GCC 14.
comment:20 by , 4 days ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm going to close this ticket. If there are new gcc14 issues that pop up, lets make individual tickets for the affected package.
Mesa has a crash at runtime when compiled with GCC 14. It happens on AMDGPU cards in the si_llvm_optimize_module function.