| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<[email protected]> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch gcc15
in repository lfs.
commit 68528292e668ca68b64d14e3fe882d19af09f3c5
Author: Bruce Dubbs <[email protected]>
AuthorDate: Wed May 21 16:46:52 2025 -0500
Changes for gcc15.
---
chapter01/changelog.xml | 26 ++++++++++++++++++++++++++
chapter01/whatsnew.xml | 16 ++++++++--------
chapter03/patches.xml | 16 ++++++++--------
chapter06/bash.xml | 4 ++++
chapter08/bc.xml | 6 +++---
chapter08/expect.xml | 4 ++--
chapter08/gmp.xml | 4 ++++
chapter08/ncurses.xml | 4 ++--
packages.ent | 35 ++++++++++++++++++-----------------
patches.ent | 15 +++++++--------
10 files changed, 82 insertions(+), 48 deletions(-)
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 14f3cb970..403b5f4c4 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,32 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
+ <listitem>
+ <para>2025-06-01</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Update build instructions to accomodate
+ gcc-15 for bc, expect, ncurses, and gmp.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to gcc-15.1.0. Fixes
+ <ulink url='&lfs-ticket-root;5707'>#5707</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to less-678. Fixes
+ <ulink url='&lfs-ticket-root;5724'>#5724</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to readline-8.3-rc1. Fixes
+ <ulink url='&lfs-ticket-root;5726'>#5726</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to bash-5.3-rc1. Fixes
+ <ulink url='&lfs-ticket-root;5718'>#5714</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
<listitem>
<para>2025-05-15</para>
<itemizedlist>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 819b1f243..f21ea40d4 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -38,9 +38,9 @@
<!--<listitem>
<para>Automake-&automake-version;</para>
</listitem>-->
- <!--<listitem>
+ <listitem>
<para>Bash-&bash-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Bc-&bc-version;</para>
</listitem>-->
@@ -89,9 +89,9 @@
<listitem>
<para>Gawk-&gawk-version;</para>
</listitem>
- <!--<listitem>
+ <listitem>
<para>GCC-&gcc-version;</para>
- </listitem>-->
+ </listitem>
<listitem>
<para>GDBM-&gdbm-version;</para>
</listitem>
@@ -140,9 +140,9 @@
<listitem>
<para>Kmod-&kmod-version;</para>
</listitem>
- <!--<listitem>
+ <listitem>
<para>Less-&less-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>LFS-Bootscripts-&lfs-bootscripts-version;</para>
</listitem>-->
@@ -221,9 +221,9 @@
<listitem>
<para>Python-&python-version;</para>
</listitem>
- <!--<listitem>
+ <listitem>
<para>Readline-&readline-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>Sed-&sed-version;</para>
</listitem>-->
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index dd592f663..907f6ed3e 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -26,15 +26,15 @@
</listitem>
</varlistentry>
-->
-<!--
+
<varlistentry>
- <term>Bash Upstream Fixes Patch - <token>&bash-upstream-fixes-patch-size;</token>:</term>
+ <term>Bash Cross Compile Fix Patch - <token>&bash-crosscompile-fix-patch-size;</token>:</term>
<listitem>
- <para>Download: <ulink url="&patches-root;&bash-upstream-fixes-patch;"/></para>
- <para>MD5 sum: <literal>&bash-upstream-fixes-patch-md5;</literal></para>
+ <para>Download: <ulink url="&patches-root;&bash-crosscompile-fix-patch;"/></para>
+ <para>MD5 sum: <literal>&bash-crosscompile-fix-patch-md5;</literal></para>
</listitem>
</varlistentry>
--->
+
<!--
<varlistentry>
<term>Binutils Upstream Fixes Patch - <token>&binutils-upstream-patch-size;</token>:</term>
@@ -61,10 +61,10 @@
</varlistentry>
<varlistentry>
- <term>Expect GCC14 Patch - <token>&expect-gcc14-patch-size;</token>:</term>
+ <term>Expect GCC14 Patch - <token>&expect-gcc15-patch-size;</token>:</term>
<listitem>
- <para>Download: <ulink url="&patches-root;&expect-gcc14-patch;"/></para>
- <para>MD5 sum: <literal>&expect-gcc14-patch-md5;</literal></para>
+ <para>Download: <ulink url="&patches-root;&expect-gcc15-patch;"/></para>
+ <para>MD5 sum: <literal>&expect-gcc15-patch-md5;</literal></para>
</listitem>
</varlistentry>
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index 54fa6f444..ae33f9466 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -43,6 +43,10 @@
<sect2 role="installation">
<title>Installation of Bash</title>
+ <para>First, fix a problem related to cross compilation and gcc-15:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&bash-crosscompile-fix-patch;</userinput></screen>
+
<para>Prepare Bash for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
diff --git a/chapter08/bc.xml b/chapter08/bc.xml
index 3d8cd9983..7df13a963 100644
--- a/chapter08/bc.xml
+++ b/chapter08/bc.xml
@@ -43,15 +43,15 @@
<para>Prepare Bc for compilation:</para>
-<screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3 -r</userinput></screen>
+<screen><userinput remap="configure">CC='gcc -std=c99' ./configure --prefix=/usr -G -O3 -r</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
<varlistentry>
- <term><parameter>CC=gcc</parameter></term>
+ <term><parameter>CC=gcc -std=c99</parameter></term>
<listitem>
- <para>This parameter specifies the compiler to use.</para>
+ <para>This parameter specifies the compiler and C standard to use.</para>
</listitem>
</varlistentry>
diff --git a/chapter08/expect.xml b/chapter08/expect.xml
index d7c6341f4..f23e7d8c4 100644
--- a/chapter08/expect.xml
+++ b/chapter08/expect.xml
@@ -67,9 +67,9 @@
GDBM, and of course Expect itself) will fail catastrophically, and other
subtle breakages may also happen.</para>
- <para>Now, make some changes to allow the package with gcc-14.1 or later:</para>
+ <para>Now, make some changes to allow the package with gcc-15.1 or later:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../expect-&expect-version;-gcc14-1.patch</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&expect-gcc15-patch;</userinput></screen>
<para>Prepare Expect for compilation:</para>
diff --git a/chapter08/gmp.xml b/chapter08/gmp.xml
index 15274cf4b..f0f0a8b3b 100644
--- a/chapter08/gmp.xml
+++ b/chapter08/gmp.xml
@@ -62,6 +62,10 @@
CFLAGS is still automatically set to -march=something. -->
</note>
+ <para>First, make an adjustment for compatibilty with gcc-15 and later:</para>
+
+<screen><userinput remap="pre">sed -i '/long long t1;/,+1s/()/(...)/' configure</userinput></screen>
+
<para>Prepare GMP for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml
index a825f63c9..84970f306 100644
--- a/chapter08/ncurses.xml
+++ b/chapter08/ncurses.xml
@@ -137,8 +137,8 @@
<xref linkend='ch-tools-ncurses'/>):</para>
<screen><userinput remap="install">make DESTDIR=$PWD/dest install
-install -vm755 dest/usr/lib/libncursesw.so.&ncurses-version; /usr/lib
-rm -v dest/usr/lib/libncursesw.so.&ncurses-version;
+install -vm755 dest/usr/lib/libncursesw.so.&ncurses-base-version; /usr/lib
+rm -v dest/usr/lib/libncursesw.so.&ncurses-base-version;
sed -e 's/^#if.*XOPEN.*$/#if 1/' \
-i dest/usr/include/curses.h
cp -av dest/* /</userinput></screen>
diff --git a/packages.ent b/packages.ent
index 6e7985744..159bbc313 100644
--- a/packages.ent
+++ b/packages.ent
@@ -47,10 +47,10 @@
<!ENTITY automake-fin-du "121 MB">
<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 1.1 SBU with tests)">
-<!ENTITY bash-version "5.2.37">
-<!ENTITY bash-size "10,868 KB">
+<!ENTITY bash-version "5.3-rc1">
+<!ENTITY bash-size "10,491 KB">
<!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz">
-<!ENTITY bash-md5 "9c28f21ff65de72ca329c1779684a972">
+<!ENTITY bash-md5 "f58f56196606a0d0cef9b96b733d256c">
<!ENTITY bash-home "&gnu-software;bash/">
<!ENTITY bash-tmp-du "68 MB">
<!ENTITY bash-tmp-sbu "0.2 SBU">
@@ -210,10 +210,10 @@
<!ENTITY gawk-fin-du "43 MB">
<!ENTITY gawk-fin-sbu "0.2 SBU">
-<!ENTITY gcc-version "14.2.0">
-<!ENTITY gcc-size "90,144 KB">
+<!ENTITY gcc-version "15.1.0">
+<!ENTITY gcc-size "95,966 KB">
<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
-<!ENTITY gcc-md5 "2268420ba02dc01821960e274711bde0">
+<!ENTITY gcc-md5 "e55d13c55428bca27b4d2ea02f883135">
<!ENTITY gcc-home "https://gcc.gnu.org/">
<!ENTITY gcc-tmpp1-du "4.8 GB">
<!ENTITY gcc-tmpp1-sbu "3.2 SBU">
@@ -365,10 +365,10 @@
<!ENTITY kmod-fin-du "11 MB">
<!ENTITY kmod-fin-sbu "less than 0.1 SBU">
-<!ENTITY less-version "668">
-<!ENTITY less-size "635 KB">
+<!ENTITY less-version "678">
+<!ENTITY less-size "857 KB">
<!ENTITY less-url "https://www.greenwoodsoftware.com/less/less-&less-version;.tar.gz">
-<!ENTITY less-md5 "d72760386c5f80702890340d2f66c302">
+<!ENTITY less-md5 "19b055a2ee7db1bf910380fd04c41ffc">
<!ENTITY less-home "https://www.greenwoodsoftware.com/less/">
<!ENTITY less-fin-du "14 MB">
<!ENTITY less-fin-sbu "less than 0.1 SBU">
@@ -519,10 +519,11 @@
<!ENTITY mpfr-fin-du "43 MB">
<!ENTITY mpfr-fin-sbu "0.2 SBU">
-<!ENTITY ncurses-version "6.5">
-<!ENTITY ncurses-size "2,156 KB">
-<!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz">
-<!ENTITY ncurses-md5 "ac2d2629296f04c8537ca706b6977687">
+<!ENTITY ncurses-version "6.5-20250517">
+<!ENTITY ncurses-base-version "6.5">
+<!ENTITY ncurses-size "3,700 KB">
+<!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/current/ncurses-&ncurses-version;.tgz">
+<!ENTITY ncurses-md5 "f969398c02415326ca075db69e04f87f">
<!ENTITY ncurses-home "&gnu-software;ncurses/">
<!ENTITY ncurses-tmp-du "53 MB">
<!ENTITY ncurses-tmp-sbu "0.4 SBU">
@@ -618,11 +619,11 @@
<!ENTITY python-docs-md5 "5b65ca5579dac14e425cd247af6fd043">
<!ENTITY python-docs-size "10,112 KB">
-<!ENTITY readline-version "8.2.13">
-<!ENTITY readline-soversion "8.2"><!-- used for stripping -->
-<!ENTITY readline-size "2,974 KB">
+<!ENTITY readline-version "8.3-rc1">
+<!ENTITY readline-soversion "8.3"><!-- used for stripping -->
+<!ENTITY readline-size "3,336 KB">
<!ENTITY readline-url "&gnu;readline/readline-&readline-version;.tar.gz">
-<!ENTITY readline-md5 "05080bf3801e6874bb115cd6700b708f">
+<!ENTITY readline-md5 "65e32c25e6ba871e5b026d22d0b81002">
<!ENTITY readline-home "https://tiswww.case.edu/php/chet/readline/rltop.html">
<!ENTITY readline-fin-du "16 MB">
<!ENTITY readline-fin-sbu "less than 0.1 SBU">
diff --git a/patches.ent b/patches.ent
index c7b2ab19b..d800a74d6 100644
--- a/patches.ent
+++ b/patches.ent
@@ -2,11 +2,10 @@
<!-- Start of Common Patches -->
-<!--
-<!ENTITY bash-upstream-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch">
-<!ENTITY bash-upstream-fixes-patch-md5 "2d1691a629c558e894dbb78ee6bf34ef">
-<!ENTITY bash-upstream-fixes-patch-size "5.9 KB">
--->
+<!ENTITY bash-crosscompile-fix-patch "bash-&bash-version;-cross_compile_fix-1.patch">
+<!ENTITY bash-crosscompile-fix-patch-md5 "62f4cbdf89c2f4e4e453c798874a066a">
+<!ENTITY bash-crosscompile-fix-patch-size "1.5 KB">
+
<!--
<!ENTITY binutils-upstream-patch "binutils-&binutils-version;-upstream_fix-1.patch">
<!ENTITY binutils-upstream-patch-md5 "eddd9860af589ec328541a9ec5e5928e">
@@ -20,9 +19,9 @@
<!ENTITY coreutils-i18n-patch-md5 "33ebfad32b2dfb8417c3335c08671206">
<!ENTITY coreutils-i18n-patch-size "159 KB">
-<!ENTITY expect-gcc14-patch "expect-&expect-version;-gcc14-1.patch">
-<!ENTITY expect-gcc14-patch-md5 "0b8b5ac411d011263ad40b0664c669f0">
-<!ENTITY expect-gcc14-patch-size "7.8 KB">
+<!ENTITY expect-gcc15-patch "expect-&expect-version;-gcc15-1.patch">
+<!ENTITY expect-gcc15-patch-md5 "0ca4d6bb8d572fbcdb13cb36cd34833e">
+<!ENTITY expect-gcc15-patch-size "12 KB">
<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page