sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Thomas Orgis (09a34c8c04441af4f2e016d722d96b6624c066a3)
- From: Thomas Orgis <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Thomas Orgis (09a34c8c04441af4f2e016d722d96b6624c066a3)
- Date: Thu, 20 Feb 2025 20:39:33 +0000
GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:
audio-players/cdparanoia/HISTORY | 3 +
audio-players/cdparanoia/patches/0002-stdint-missing.patch | 22
+++++++++++++
gnu/gcc/DETAILS | 2 -
gnu/gcc/HISTORY | 5 ++
gnu/gcc/patches/0014-lto-plugin-no-la.patch | 11 ++++++
5 files changed, 42 insertions(+), 1 deletion(-)
New commits:
commit 09a34c8c04441af4f2e016d722d96b6624c066a3
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
gcc: fix support for linker plugins (++PATCHLEVEL)
Detection of linker support for plugins during gcc build was broken since
us removing
.la files all around. There's a hardcoded test for a .la plugin file in
configure, but a
.so file is there. Somehow we are messing with the gcc build by making it
only create
gcc/liblto_plugin.so
instead of also the matching .la.
I patched configure itself to not touch anything else in that nested
codebase. I did
not track down the point where we apparently mess with the build. I guess
we break this,
and I am putting a band-aid on.
Result of the broken state was that gcc was built without support for
-fuse-linker-plugin,
despite building a plugin. This broke random other builds, like python3
with lto.
commit 4154bb26220bc0c4880b05cb8ad3dd099d069fdd
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
cdparanoia: fix build
diff --git a/audio-players/cdparanoia/HISTORY
b/audio-players/cdparanoia/HISTORY
index 492ea4a..8c0bd83 100644
--- a/audio-players/cdparanoia/HISTORY
+++ b/audio-players/cdparanoia/HISTORY
@@ -1,3 +1,6 @@
+2025-02-20 Thomas Orgis <sobuku AT sourcemage.org>
+ * patches/0002-stdint-missing.patch: fix build with gcc 14
+
2024-12-27 Ismael Luceno <ismael AT sourcemage.org>
* PRE_BUILD, patches/0001-Fix-werror-format-security.patch:
fixed fprintf usage.
diff --git a/audio-players/cdparanoia/patches/0002-stdint-missing.patch
b/audio-players/cdparanoia/patches/0002-stdint-missing.patch
new file mode 100644
index 0000000..c296fdc
--- /dev/null
+++ b/audio-players/cdparanoia/patches/0002-stdint-missing.patch
@@ -0,0 +1,22 @@
+Just the obvious fix. GCC 14 complains about uint32_t and friends.
+
+--- cdparanoia-III-10.2/utils.h.orig 2025-02-20 08:05:48.243980554 +0100
++++ cdparanoia-III-10.2/utils.h 2025-02-20 08:06:39.288980548 +0100
+@@ -4,6 +4,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
++#include <stdint.h>
+
+ extern long buffering_write(int outf, char *buffer, long num);
+ extern int buffering_close(int fd);
+--- cdparanoia-III-10.2/interface/utils.h.orig 2025-02-20 08:10:05.327980523
+0100
++++ cdparanoia-III-10.2/interface/utils.h 2025-02-20 08:10:13.528980522
+0100
+@@ -2,6 +2,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <string.h>
++#include <stdint.h>
+
+ /* I wonder how many alignment issues this is gonna trip in the
+ future... it shouldn't trip any... I guess we'll find out :) */
diff --git a/gnu/gcc/DETAILS b/gnu/gcc/DETAILS
index 8d92202..60abcb4 100755
--- a/gnu/gcc/DETAILS
+++ b/gnu/gcc/DETAILS
@@ -1,7 +1,7 @@
# Watch: https://ftp.gnu.org/gnu/gcc href="gcc-([0-9.]+)/"
SPELL=gcc
VERSION=14.2.0
- PATCHLEVEL=1
+ PATCHLEVEL=2
ISL_VERSION=0.24
BASE_SOURCE_URL="https://ftp.gnu.org/pub/gnu/gcc/gcc-$VERSION"
SOURCE=gcc-$VERSION.tar.xz
diff --git a/gnu/gcc/HISTORY b/gnu/gcc/HISTORY
index e95e537..a964788 100644
--- a/gnu/gcc/HISTORY
+++ b/gnu/gcc/HISTORY
@@ -1,3 +1,8 @@
+2025-02-20 Thomas Orgis <sobukus AT sourcemage.org>
+ * patches/0014-lto-plugin-no-la.patch: re-enable linker plugin
support for .la-less
+ world
+ * DETAILS: ++PATCHLEVEL
+
2025-01-25 Ismael Luceno <ismael AT sourcemage.org>
* INSTALL: added missing standard symlinks (c89, c99, c17)
diff --git a/gnu/gcc/patches/0014-lto-plugin-no-la.patch
b/gnu/gcc/patches/0014-lto-plugin-no-la.patch
new file mode 100644
index 0000000..0aef288
--- /dev/null
+++ b/gnu/gcc/patches/0014-lto-plugin-no-la.patch
@@ -0,0 +1,11 @@
+--- gcc-14.2.0/gcc/configure.orig 2025-02-20 16:15:18.042977049 +0100
++++ gcc-14.2.0/gcc/configure 2025-02-20 16:14:04.052977058 +0100
+@@ -28001,7 +28001,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker plugin support" >&5
+ $as_echo_n "checking linker plugin support... " >&6; }
+ gcc_cv_lto_plugin=0
+-if test -f liblto_plugin.la; then
++if test -f liblto_plugin.la || test -f liblto_plugin.so; then
+ save_ld_ver="$ld_ver"
+ save_ld_vers_major="$ld_vers_major"
+ save_ld_vers_minor="$ld_vers_minor"
- [[SM-Commit] ] GIT changes to master grimoire by Thomas Orgis (09a34c8c04441af4f2e016d722d96b6624c066a3), Thomas Orgis, 02/20/2025
Archive powered by MHonArc 2.6.24.