• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版cbdbaa528f5ab97fa372e3cf7708cd7e441fc33f (tree)
时间2024-06-09 21:47:10
作者matsuand <30614168+matsuand@user...>
Commitermatsuand

Log Message

5gcc.sh

更改概述

差异

--- a/LFS/5libstdc.sh
+++ b/LFS/5libstdc.sh
@@ -2,7 +2,7 @@
22
33 CHAP=5
44 APPNAME=libstdc++
5-VER=13.2.0
5+VER=14.1.0
66 TARGET=$APPNAME-$VER
77 TARGETBALL=gcc-$VER.tar.xz
88 TARGETDIR=gcc-$VER
--- a/LFS/6bash.sh
+++ b/LFS/6bash.sh
@@ -27,6 +27,7 @@ echo \ \ Configuring...
2727 --build=$(sh support/config.guess) \
2828 --host=$LFS_TGT \
2929 --without-bash-malloc \
30+ bash_cv_strtold_broken=no \
3031 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
3132
3233 echo \ \ Making...
--- a/LFS/6gcc.sh
+++ b/LFS/6gcc.sh
@@ -3,7 +3,7 @@
33 CHAP=6
44 APPNAME=gcc
55 APPVER=.2
6-VER=13.2.0
6+VER=14.1.0
77 TARGET=$APPNAME-$VER
88 TARGETBALL=$TARGET.tar.xz
99 TARGETDIR=$TARGET
--- a/LFS/6ncurses.sh
+++ b/LFS/6ncurses.sh
@@ -2,10 +2,10 @@
22
33 CHAP=6
44 APPNAME=ncurses
5-VER=6.4
5+VER=6.5
66 TARGET=$APPNAME-$VER
7-TARGETBALL=$APPNAME-$VER-20230520.tar.xz
8-TARGETDIR=$APPNAME-$VER-20230520
7+TARGETBALL=$TARGET.tar.gz
8+TARGETDIR=$TARGET
99
1010 . ./_lfsset.sh
1111
@@ -48,7 +48,6 @@ echo \ \ Configuring...
4848 --without-debug \
4949 --without-ada \
5050 --disable-stripping \
51- --enable-widec \
5251 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
5352
5453 echo \ \ Making...
@@ -58,7 +57,8 @@ make \
5857 echo \ \ Installing...
5958 make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install \
6059 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1
61-ln -sv libncursesw.so $LFS/usr/lib/libncurses.so
60+ln -sfv libncursesw.so $LFS/usr/lib/libncurses.so \
61+ 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1
6262 sed -e 's/^#if.*XOPEN.*$/#if 1/' \
6363 -i $LFS/usr/include/curses.h
6464
--- a/LFS/7changingowner.sh
+++ b/LFS/7changingowner.sh
@@ -5,8 +5,7 @@ TARGET=changingowner
55
66 LFS=/mnt/lfs
77
8-chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
8+chown --from lfs -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
99 case $(uname -m) in
10- x86_64) chown -R root:root $LFS/lib64 ;;
10+ x86_64) chown --from lfs -R root:root $LFS/lib64 ;;
1111 esac
12-
--- a/LFS/7kernfs.sh
+++ b/LFS/7kernfs.sh
@@ -11,7 +11,7 @@ mkdir -pv $LFS/{dev,proc,sys,run}
1111
1212 mount -v --bind /dev $LFS/dev
1313
14-mount -v --bind /dev/pts $LFS/dev/pts
14+mount -vt devpts devpts -o gid=5,mode=0620 $LFS/dev/pts
1515 mount -vt proc proc $LFS/proc
1616 mount -vt sysfs sysfs $LFS/sys
1717 mount -vt tmpfs tmpfs $LFS/run
--- a/LFS/7libstdc.sh
+++ b/LFS/7libstdc.sh
@@ -2,7 +2,7 @@
22
33 CHAP=7
44 APPNAME=libstdc++
5-VER=13.1.0
5+VER=14.1.0
66 TARGET=$APPNAME-$VER
77 TARGETBALL=gcc-$VER.tar.xz
88 TARGETDIR=gcc-$VER
--- a/LFS/7python.sh
+++ b/LFS/7python.sh
@@ -2,7 +2,7 @@
22
33 CHAP=7
44 APPNAME=python
5-VER=3.12.2
5+VER=3.12.3
66 TARGET=$APPNAME-$VER
77 TARGETBALL=Python-$VER.tar.xz
88 TARGETDIR=Python-$VER
--- a/LFS/7util-linux.sh
+++ b/LFS/7util-linux.sh
@@ -2,7 +2,7 @@
22
33 CHAP=7
44 APPNAME=util-linux
5-VER=2.40
5+VER=2.40.1
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.xz
88 TARGETDIR=$TARGET
--- a/LFS/8bash.sh
+++ b/LFS/8bash.sh
@@ -27,9 +27,10 @@ patch -Np1 -i $DLD/bash-$VER-upstream_fixes-1.patch \
2727 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
2828
2929 echo \ \ Configuring...
30-./configure --prefix=/usr \
31- --without-bash-malloc \
32- --with-installed-readline \
30+./configure --prefix=/usr \
31+ --without-bash-malloc \
32+ --with-installed-readline \
33+ bash_cv_strtold_broken=no \
3334 --docdir=/usr/share/doc/bash-$VER \
3435 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
3536
--- a/LFS/8expect.sh
+++ b/LFS/8expect.sh
@@ -22,10 +22,15 @@ TimeStart
2222
2323 cd $TARGETDIR
2424
25+echo \ \ Patching...
26+patch -Np1 -i $DLD/expect-$VER-gcc14-1.patch \
27+ 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
28+
2529 echo \ \ Configuring...
2630 ./configure --prefix=/usr \
2731 --with-tcl=/usr/lib \
2832 --enable-shared \
33+ --disable-rpath \
2934 --mandir=/usr/share/man \
3035 --with-tclinclude=/usr/include \
3136 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
--- a/LFS/8gcc.sh
+++ b/LFS/8gcc.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=gcc
5-VER=13.2.0
5+VER=14.1.0
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.xz
88 TARGETDIR=$TARGET
@@ -38,6 +38,7 @@ echo \ \ Configuring...
3838 --enable-languages=c,c++ \
3939 --enable-default-pie \
4040 --enable-default-ssp \
41+ --enable-host-pie \
4142 --disable-multilib \
4243 --disable-bootstrap \
4344 --disable-fixincludes \
--- a/LFS/8glibc.sh
+++ b/LFS/8glibc.sh
@@ -27,8 +27,8 @@ cd $TARGETDIR
2727 echo \ \ Patching...
2828 patch -Np1 -i $DLD/glibc-$VER-fhs-1.patch \
2929 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
30-#patch -Np1 -i $DLD/glibc-$VER-upstream_fixes-4.patch \
31-# 1>> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
30+patch -Np1 -i $DLD/glibc-$VER-upstream_fix-2.patch \
31+ 1>> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
3232
3333 mkdir build
3434 cd build
--- a/LFS/8iana-etc.sh
+++ b/LFS/8iana-etc.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=iana-etc
5-VER=20240318
5+VER=20240502
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.gz
88 TARGETDIR=$TARGET
--- a/LFS/8inetutils.sh
+++ b/LFS/8inetutils.sh
@@ -22,6 +22,8 @@ TimeStart
2222
2323 cd $TARGETDIR
2424
25+sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c
26+
2527 echo \ \ Configuring...
2628 ./configure --prefix=/usr \
2729 --bindir=/usr/bin \
--- a/LFS/8jinja2.sh
+++ b/LFS/8jinja2.sh
@@ -1,8 +1,8 @@
11 #!/bin/sh
22
33 CHAP=8
4-APPNAME=Jinja2
5-VER=3.1.3
4+APPNAME=jinja2
5+VER=3.1.4
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.gz
88 TARGETDIR=$TARGET
--- a/LFS/8man-db.sh
+++ b/LFS/8man-db.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=man-db
5-VER=2.12.0
5+VER=2.12.1
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.xz
88 TARGETDIR=$TARGET
--- a/LFS/8ncurses.sh
+++ b/LFS/8ncurses.sh
@@ -2,10 +2,10 @@
22
33 CHAP=8
44 APPNAME=ncurses
5-VER=6.4
5+VER=6.5
66 TARGET=$APPNAME-$VER
7-TARGETBALL=$APPNAME-$VER-20230520.tar.xz
8-TARGETDIR=$APPNAME-$VER-20230520
7+TARGETBALL=$TARGET.tar.gz
8+TARGETDIR=$TARGET
99
1010 echo $TARGET
1111
@@ -30,7 +30,6 @@ echo \ \ Configuring...
3030 --without-normal \
3131 --with-cxx-shared \
3232 --enable-pc-files \
33- --enable-widec \
3433 --with-pkg-config-libdir=/usr/lib/pkgconfig \
3534 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
3635
@@ -41,13 +40,13 @@ make \
4140 echo \ \ Installing...
4241 make DESTDIR=$PWD/dest install \
4342 1> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1
44-porg -lp+ $TARGET -E`pwd` "\
45-install -vm755 dest/usr/lib/libncursesw.so.6.4 /usr/lib" \
43+porg -lp+ $TARGET -E$PWD "\
44+install -vm755 dest/usr/lib/libncursesw.so.6.5 /usr/lib" \
4645 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1
47-rm -v dest/usr/lib/libncursesw.so.6.4
46+rm -v dest/usr/lib/libncursesw.so.6.5
4847 sed -e 's/^#if.*XOPEN.*$/#if 1/' \
4948 -i dest/usr/include/curses.h
50-porg -lp+ $TARGET -E`pwd` "\
49+porg -lp+ $TARGET -E$PWD "\
5150 cp -av dest/* /" \
5251 1>> $LOG/$CHAP.$TARGET.3_install.log 2>&1 || exit 1
5352
--- a/LFS/8ninja.sh
+++ b/LFS/8ninja.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=ninja
5-VER=1.11.1
5+VER=1.12.0
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.gz
88 TARGETDIR=$TARGET
--- a/LFS/8openssl.sh
+++ b/LFS/8openssl.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=openssl
5-VER=3.2.1
5+VER=3.3.0
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$APPNAME-$VER.tar.gz
88 TARGETDIR=$APPNAME-$VER
--- a/LFS/8python.sh
+++ b/LFS/8python.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=python
5-VER=3.12.2
5+VER=3.12.3
66 TARGET=$APPNAME-$VER
77 TARGETBALL=Python-$VER.tar.xz
88 TARGETDIR=Python-$VER
--- a/LFS/8readline.sh
+++ b/LFS/8readline.sh
@@ -25,6 +25,8 @@ cd $TARGETDIR
2525 sed -i '/MV.*old/d' Makefile.in
2626 sed -i '/{OLDSUFF}/c:' support/shlib-install
2727
28+sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf
29+
2830 echo \ \ Patching...
2931 patch -Np1 -i $DLD/readline-$VER-upstream_fixes-3.patch \
3032 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
--- a/LFS/8setuptools.sh
+++ b/LFS/8setuptools.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=setuptools
5-VER=69.2.0
5+VER=69.5.1
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.gz
88 TARGETDIR=$TARGET
--- a/LFS/8stripping.sh
+++ b/LFS/8stripping.sh
@@ -27,7 +27,7 @@ online_usrbin="bash find strip"
2727 online_usrlib="libbfd-2.42.so
2828 libsframe.so.1.0.0
2929 libhistory.so.8.2
30- libncursesw.so.6.4-20230520
30+ libncursesw.so.6.5
3131 libm.so.6
3232 libreadline.so.8.2
3333 libz.so.1.3.1
--- a/LFS/8systemd.sh
+++ b/LFS/8systemd.sh
@@ -26,6 +26,16 @@ cd $TARGETDIR
2626 sed -i -e 's/GROUP="render"/GROUP="video"/' \
2727 -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
2828
29+sed -i '/DEVMEM_MAGIC 0/{n;n;a \
30+/* cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b (6.8) */ \
31+#ifndef PID_FS_MAGIC \
32+#define PID_FS_MAGIC 0x50494446 \
33+#endif
34+}' src/basic/missing_magic.h
35+
36+sed -i '/OVERLAYFS_SUPER_MAGIC/a \
37+pidfs, {PID_FS_MAGIC}' src/basic/filesystems-gperf.gperf
38+
2939 mkdir -p build
3040 cd build
3141
--- a/LFS/8tcl.sh
+++ b/LFS/8tcl.sh
@@ -30,6 +30,7 @@ SRCDIR=$(pwd)
3030 cd unix
3131 ./configure --prefix=/usr \
3232 --mandir=/usr/share/man \
33+ --disable-rpath \
3334 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
3435
3536 echo \ \ Making...
--- a/LFS/8util-linux.sh
+++ b/LFS/8util-linux.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=util-linux
5-VER=2.40
5+VER=2.40.1
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.xz
88 TARGETDIR=$TARGET
@@ -23,7 +23,8 @@ TimeStart
2323 cd $TARGETDIR
2424
2525 echo \ \ Configuring...
26-./configure --libdir=/usr/lib \
26+./configure --bindir=/usr/bin \
27+ --libdir=/usr/lib \
2728 --runstatedir=/run \
2829 --disable-chfn-chsh \
2930 --disable-login \
@@ -32,8 +33,8 @@ echo \ \ Configuring...
3233 --disable-setpriv \
3334 --disable-runuser \
3435 --disable-pylibmount \
35- --disable-static \
3636 --disable-liblastlog2 \
37+ --disable-static \
3738 --without-python \
3839 ADJTIME_PATH=/var/lib/hwclock/adjtime \
3940 --docdir=/usr/share/doc/util-linux-$VER \
--- a/LFS/8vim.sh
+++ b/LFS/8vim.sh
@@ -2,7 +2,7 @@
22
33 CHAP=8
44 APPNAME=vim
5-VER=9.1.0161
5+VER=9.1.0405
66 TARGET=$APPNAME-$VER
77 TARGETBALL=$TARGET.tar.gz
88 TARGETDIR=$TARGET