mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Changes required for gcc-15
This commit is contained in:
parent
013efb0a17
commit
833a5234ff
@ -61,10 +61,10 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Expect GCC14 Patch - <token>&expect-gcc14-patch-size;</token>:</term>
|
<term>Expect GCC15 Patch - <token>&expect-gcc15-patch-size;</token>:</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Download: <ulink url="&patches-root;&expect-gcc14-patch;"/></para>
|
<para>Download: <ulink url="&patches-root;&expect-gcc15-patch;"/></para>
|
||||||
<para>MD5 sum: <literal>&expect-gcc14-patch-md5;</literal></para>
|
<para>MD5 sum: <literal>&expect-gcc15-patch-md5;</literal></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -50,6 +50,8 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen>
|
|||||||
-->
|
-->
|
||||||
<para>Prepare M4 for compilation:</para>
|
<para>Prepare M4 for compilation:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">sed 's/\[\[__nodiscard__]]//' -i lib/config.hin</userinput></screen>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||||
--host=$LFS_TGT \
|
--host=$LFS_TGT \
|
||||||
--build=$(build-aux/config.guess)</userinput></screen>
|
--build=$(build-aux/config.guess)</userinput></screen>
|
||||||
|
@ -43,15 +43,15 @@
|
|||||||
|
|
||||||
<para>Prepare Bc for compilation:</para>
|
<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>
|
<variablelist>
|
||||||
<title>The meaning of the configure options:</title>
|
<title>The meaning of the configure options:</title>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>CC=gcc</parameter></term>
|
<term><parameter>CC='gcc -std=c99'</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>This parameter specifies the compiler to use.</para>
|
<para>This parameter specifies the compiler and the C standard to use.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -67,9 +67,9 @@
|
|||||||
GDBM, and of course Expect itself) will fail catastrophically, and other
|
GDBM, and of course Expect itself) will fail catastrophically, and other
|
||||||
subtle breakages may also happen.</para>
|
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-&expect-version;-gcc15-1.patch</userinput></screen>
|
||||||
|
|
||||||
<para>Prepare Expect for compilation:</para>
|
<para>Prepare Expect for compilation:</para>
|
||||||
|
|
||||||
|
@ -181,10 +181,7 @@ cd build</userinput></screen>
|
|||||||
<para>Now remove/fix several known test failures:</para>
|
<para>Now remove/fix several known test failures:</para>
|
||||||
|
|
||||||
<screen><userinput remap="test">sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
|
<screen><userinput remap="test">sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp
|
||||||
sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c
|
sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c</userinput></screen>
|
||||||
sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c
|
|
||||||
sed -e 's/{ target nonpic } //' \
|
|
||||||
-e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c</userinput></screen>
|
|
||||||
|
|
||||||
<para>Test the results as a non-privileged user, but do not stop at errors:</para>
|
<para>Test the results as a non-privileged user, but do not stop at errors:</para>
|
||||||
|
|
||||||
|
@ -64,6 +64,8 @@
|
|||||||
|
|
||||||
<para>Prepare GMP for compilation:</para>
|
<para>Prepare GMP for compilation:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">sed '/long long t1;/,+1s/()/(...)/' -i configure</userinput></screen>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
@ -47,6 +47,9 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h</userinput></screen>
|
|||||||
-->
|
-->
|
||||||
<para>Prepare M4 for compilation:</para>
|
<para>Prepare M4 for compilation:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">sed 's/\[\[__nodiscard__]]//' -i lib/config.hin</userinput></screen>
|
||||||
|
<screen><userinput remap="pre">sed 's/test-stdalign\$(EXEEXT) //' -i tests/Makefile.in</userinput></screen>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
24
packages.ent
24
packages.ent
@ -47,10 +47,10 @@
|
|||||||
<!ENTITY automake-fin-du "121 MB">
|
<!ENTITY automake-fin-du "121 MB">
|
||||||
<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 1.1 SBU with tests)">
|
<!ENTITY automake-fin-sbu "less than 0.1 SBU (about 1.1 SBU with tests)">
|
||||||
|
|
||||||
<!ENTITY bash-version "5.2.37">
|
<!ENTITY bash-version "5.3-rc1">
|
||||||
<!ENTITY bash-size "10,868 KB">
|
<!ENTITY bash-size "10,868 KB">
|
||||||
<!ENTITY bash-url "&gnu;bash/bash-&bash-version;.tar.gz">
|
<!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-home "&gnu-software;bash/">
|
||||||
<!ENTITY bash-tmp-du "68 MB">
|
<!ENTITY bash-tmp-du "68 MB">
|
||||||
<!ENTITY bash-tmp-sbu "0.2 SBU">
|
<!ENTITY bash-tmp-sbu "0.2 SBU">
|
||||||
@ -210,10 +210,10 @@
|
|||||||
<!ENTITY gawk-fin-du "43 MB">
|
<!ENTITY gawk-fin-du "43 MB">
|
||||||
<!ENTITY gawk-fin-sbu "0.2 SBU">
|
<!ENTITY gawk-fin-sbu "0.2 SBU">
|
||||||
|
|
||||||
<!ENTITY gcc-version "14.2.0">
|
<!ENTITY gcc-version "15.1.0">
|
||||||
<!ENTITY gcc-size "90,144 KB">
|
<!ENTITY gcc-size "93,744 KB">
|
||||||
<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
|
<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;.tar.xz">
|
||||||
<!ENTITY gcc-md5 "2268420ba02dc01821960e274711bde0">
|
<!ENTITY gcc-md5 "e55d13c55428bca27b4d2ea02f883135">
|
||||||
<!ENTITY gcc-home "https://gcc.gnu.org/">
|
<!ENTITY gcc-home "https://gcc.gnu.org/">
|
||||||
<!ENTITY gcc-tmpp1-du "4.8 GB">
|
<!ENTITY gcc-tmpp1-du "4.8 GB">
|
||||||
<!ENTITY gcc-tmpp1-sbu "3.2 SBU">
|
<!ENTITY gcc-tmpp1-sbu "3.2 SBU">
|
||||||
@ -531,8 +531,8 @@
|
|||||||
|
|
||||||
<!ENTITY ncurses-version "6.5">
|
<!ENTITY ncurses-version "6.5">
|
||||||
<!ENTITY ncurses-size "2,156 KB">
|
<!ENTITY ncurses-size "2,156 KB">
|
||||||
<!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;.tar.gz">
|
<!ENTITY ncurses-url "https://invisible-mirror.net/archives/ncurses/ncurses-&ncurses-version;-20250419.tgz">
|
||||||
<!ENTITY ncurses-md5 "ac2d2629296f04c8537ca706b6977687">
|
<!ENTITY ncurses-md5 "6ceb0f9f2389fea01d6ed7ab8a41c3a7">
|
||||||
<!ENTITY ncurses-home "&gnu-software;ncurses/">
|
<!ENTITY ncurses-home "&gnu-software;ncurses/">
|
||||||
<!ENTITY ncurses-tmp-du "53 MB">
|
<!ENTITY ncurses-tmp-du "53 MB">
|
||||||
<!ENTITY ncurses-tmp-sbu "0.4 SBU">
|
<!ENTITY ncurses-tmp-sbu "0.4 SBU">
|
||||||
@ -628,11 +628,11 @@
|
|||||||
<!ENTITY python-docs-md5 "5b65ca5579dac14e425cd247af6fd043">
|
<!ENTITY python-docs-md5 "5b65ca5579dac14e425cd247af6fd043">
|
||||||
<!ENTITY python-docs-size "10,112 KB">
|
<!ENTITY python-docs-size "10,112 KB">
|
||||||
|
|
||||||
<!ENTITY readline-version "8.2.13">
|
<!ENTITY readline-version "8.3">
|
||||||
<!ENTITY readline-soversion "8.2"><!-- used for stripping -->
|
<!ENTITY readline-soversion "8.3"><!-- used for stripping -->
|
||||||
<!ENTITY readline-size "2,974 KB">
|
<!ENTITY readline-size "2,974 KB">
|
||||||
<!ENTITY readline-url "&gnu;readline/readline-&readline-version;.tar.gz">
|
<!ENTITY readline-url "&gnu;readline/readline-&readline-version;-rc1.tar.gz">
|
||||||
<!ENTITY readline-md5 "05080bf3801e6874bb115cd6700b708f">
|
<!ENTITY readline-md5 "65e32c25e6ba871e5b026d22d0b81002">
|
||||||
<!ENTITY readline-home "https://tiswww.case.edu/php/chet/readline/rltop.html">
|
<!ENTITY readline-home "https://tiswww.case.edu/php/chet/readline/rltop.html">
|
||||||
<!ENTITY readline-fin-du "16 MB">
|
<!ENTITY readline-fin-du "16 MB">
|
||||||
<!ENTITY readline-fin-sbu "less than 0.1 SBU">
|
<!ENTITY readline-fin-sbu "less than 0.1 SBU">
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
<!ENTITY coreutils-i18n-patch-md5 "33ebfad32b2dfb8417c3335c08671206">
|
<!ENTITY coreutils-i18n-patch-md5 "33ebfad32b2dfb8417c3335c08671206">
|
||||||
<!ENTITY coreutils-i18n-patch-size "159 KB">
|
<!ENTITY coreutils-i18n-patch-size "159 KB">
|
||||||
|
|
||||||
<!ENTITY expect-gcc14-patch "expect-&expect-version;-gcc14-1.patch">
|
<!ENTITY expect-gcc15-patch "expect-&expect-version;-gcc15-1.patch">
|
||||||
<!ENTITY expect-gcc14-patch-md5 "0b8b5ac411d011263ad40b0664c669f0">
|
<!ENTITY expect-gcc15-patch-md5 "0ca4d6bb8d572fbcdb13cb36cd34833e">
|
||||||
<!ENTITY expect-gcc14-patch-size "7.8 KB">
|
<!ENTITY expect-gcc15-patch-size "11.8 KB">
|
||||||
|
|
||||||
<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
|
<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
|
||||||
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
|
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
|
||||||
|
Loading…
Reference in New Issue
Block a user