| 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 xry111/mips64el
in repository lfs.
commit 1068a9743c19787323ea91afc60cb8f18be96656
Merge: cbc413997 54cfa41a9
Author: Xi Ruoyao <[email protected]>
AuthorDate: Fri Jan 30 18:16:06 2026 +0800
Merge remote-tracking branch 'origin/trunk' into xry111/mips64el
Makefile | 2 +-
appendices/dependencies.xml | 15 +-
chapter01/changelog.xml | 299 ++++++++++++++++++++++++++++++++++++++++
chapter01/whatsnew.xml | 109 ++++++++-------
chapter03/introduction.xml | 23 ++++
chapter03/patches.xml | 10 +-
chapter05/glibc.xml | 2 +-
chapter06/coreutils.xml | 5 +
chapter06/m4.xml | 10 +-
chapter07/cleanup.xml | 6 +-
chapter07/createfiles.xml | 15 +-
chapter07/gettext.xml | 5 +
chapter08/binutils.xml | 4 +
chapter08/bzip2.xml | 21 +++
chapter08/coreutils.xml | 12 +-
chapter08/flex.xml | 6 +-
chapter08/gcc.xml | 9 +-
chapter08/gettext.xml | 13 +-
chapter08/glibc.xml | 10 +-
chapter08/iana-etc.xml | 2 +-
chapter08/kbd.xml | 9 +-
chapter08/libcap.xml | 9 ++
chapter08/libelf.xml | 12 +-
chapter08/libxcrypt.xml | 4 +
chapter08/m4.xml | 10 +-
chapter08/pcre.xml | 2 +-
chapter08/pkgmgt.xml | 11 +-
chapter08/python.xml | 15 +-
chapter08/readline.xml | 10 ++
chapter08/shadow.xml | 47 +++++--
chapter08/sqlite.xml | 12 +-
chapter08/systemd.xml | 94 +++++++++++--
chapter08/tcl.xml | 8 +-
chapter08/udev.xml | 6 +-
chapter08/util-linux.xml | 15 +-
chapter08/vim.xml | 2 +
chapter10/kernel/highmem.toml | 1 +
chapter10/kernel/highmem.xml | 7 +
chapter10/kernel/kernel.version | 2 +-
chapter10/kernel/systemd.xml | 3 +-
general.ent | 5 +-
lfs-latest-git.php | 6 +-
packages.ent | 218 ++++++++++++++---------------
patches.ent | 16 ++-
44 files changed, 810 insertions(+), 292 deletions(-)
diff --cc chapter08/gcc.xml
index 534f3c061,23f6c8e37..927f72c24
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@@ -41,11 -41,19 +41,15 @@@
<sect2 role="installation">
<title>Installation of GCC</title>
+ <para>First, make some fixes introduced by glibc-2.43:</para>
+
+ <screen><userinput remap="pre">sed -i 's/char [*]q/const &/' libgomp/affinity-fmt.c</userinput></screen>
+
- <para>If building on x86_64, change the default directory name for 64-bit
- libraries to <quote>lib</quote>:</para>
+ <para>For building on 64-bit MIPS, change the default directory name for
+ 64-bit libraries to <quote>lib</quote>:</para>
-<screen><userinput remap="pre">case $(uname -m) in
- x86_64)
- sed -e '/m64=/s/lib64/lib/' \
- -i.orig gcc/config/i386/t-linux64
- ;;
-esac</userinput></screen>
+<screen><userinput remap="pre">sed -e 's/lib64/lib/' \
+ -i.orig gcc/config/mips/{mips.h,t-linux64}</userinput></screen>
<para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
@@@ -194,16 -200,11 +198,19 @@@ su tester -c "PATH=$PATH make -k check"
url="&test-results;"/> and
<ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
+ <para>Hundreds of gcc and g++ tests can fail on MIPS systems, as MIPS
+ is not a primary platform of GCC and many MIPS tests are not written
+ with <option>--enable-default-pie</option> or
+ <option>--enable-default-ssp</option> in mind.</para>
+
+ <para>In libstdc++ tests, the test named
+ <filename>abi_check</filename> is known to fail.</para>
+
<!-- https://gcc.gnu.org/PR118885 -->
- <para>The tests related to <filename>pr90579.c</filename> are known
+ <para>Four tests related to <filename>pr90579.c</filename> are known
+ to fail.</para>
+
+ <para>Five tests related to <filename>analyzer/strchr-1.c</filename> are known
to fail.</para>
<para>A few unexpected failures cannot always be avoided. In some cases
diff --cc chapter08/libelf.xml
index 3ba0834d2,c0c7c5f3a..5c690af47
--- a/chapter08/libelf.xml
+++ b/chapter08/libelf.xml
@@@ -56,14 -57,12 +57,15 @@@ make -C libelf</userinput></screen
<para>To test the results, issue:</para>
- <screen><userinput remap="test">make check</userinput></screen>
+ <screen><userinput remap="test">make -k check</userinput></screen>
- <para>Two tests are known to fail, dwarf_srclang_check and
- run-backtrace-native-core.sh.</para>
+ <para>The above command builds the utilities that are part of the package
+ as well as the unit tests. Two tests are known to fail: dwarf_srclang_check
+ and run-backtrace-native-core.sh.</para>
+ <para>Seven tests are known to fail due to incomplete MIPS
+ support.</para>
+
<para>Install only Libelf:</para>
<screen><userinput remap="install">make -C libelf install
diff --cc chapter08/pkgmgt.xml
index b16894750,daa1040b5..1b38eaec4
--- a/chapter08/pkgmgt.xml
+++ b/chapter08/pkgmgt.xml
@@@ -391,10 -391,19 +391,19 @@@ make DESTDIR=/usr/pkg/libfoo/1.1 instal
overriding the architecture-specific optimization to produce libraries
suitable for both the host system and the system(s) where you'll deploy
the LFS system. Otherwise you'll get <computeroutput>Illegal
- Instruction</computeroutput> errors running LFS.</para></important>
+ Instruction</computeroutput> errors running LFS.</para>
+
+ <para>The GMP build system stores the architecture-specific optimization
+ option used to build GMP into <filename>gmp.h</filename>, and the build
+ system of some package using GMP can read it from the header and use it
+ when building the package itself. At least the MPFR build system is
+ known to do so. Thus simply rebuilding GMP on a complete LFS system
+ is not enough: you'll need to recompile MPFR and maybe other packages
+ using GMP if you want to <quote>convert</quote> a complete LFS system
+ to be used for a different CPU.</para></important>
- <para>Finally, the new system has to be made bootable via <xref
- linkend="ch-bootable-grub"/>.</para>
+ <para>Finally, the new system has to be made bootable by configuring
+ a bootloader correctly.</para>
</sect2>
--
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