Re: [LFS Trac] #5705: White space reduction? - LFS r12.3-36-systemd
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
#5705: White space reduction? - LFS r12.3-36-systemd
---------------------------+-----------------------
Reporter: rhubarbpieguy | Owner: lfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 12.4
Component: Book | Version: git
Severity: normal | Resolution:
Keywords: |
---------------------------+-----------------------
Old description:
> Are the following candidates to reduce white space?
>
> {{{
>
> chapter05/gcc-libstdc++.xml
>
> ../libstdc++-v3/configure \
> --host=$LFS_TGT \
> --build=$(../config.guess) \
> --prefix=/usr \
> --disable-multilib \
> --disable-nls \
> --disable-libstdcxx-pch \
>
> ../libstdc++-v3/configure \
> --host=$LFS_TGT \
> --build=$(../config.guess) \
> --prefix=/usr \
> --disable-multilib \
> --disable-nls \
> --disable-libstdcxx-pch \
> -----------------------------------------
>
> chapter06/gcc-pass2.xml
>
> ../configure \
> --build=$(../config.guess) \
> --host=$LFS_TGT \
> --target=$LFS_TGT \
> LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
> --prefix=/usr \
> --with-build-sysroot=$LFS \
> --enable-default-pie \
> --enable-default-ssp \
> --disable-nls \
> --disable-multilib \
> --disable-libatomic \
> --disable-libgomp \
> --disable-libquadmath \
> --disable-libsanitizer \
> --disable-libssp \
> --disable-libvtv \
>
> ../configure \
> --build=$(../config.guess) \
> --host=$LFS_TGT \
> --target=$LFS_TGT \
> LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
> --prefix=/usr \
> --with-build-sysroot=$LFS \
> --enable-default-pie \
> --enable-default-ssp \
> --disable-nls \
> --disable-multilib \
> --disable-libatomic \
> --disable-libgomp \
> --disable-libquadmath \
> --disable-libsanitizer \
> --disable-libssp \
> --disable-libvtv \
> --------------------------------------------------------
>
> chapter06/tar.xml
>
> ./configure --prefix=/usr \
> --host=$LFS_TGT \
>
> ./configure --prefix=/usr \
> --host=$LFS_TGT \
> --------------------------------------
>
> chapter08/acl.xml
>
> ./configure --prefix=/usr \
> --disable-static \
>
> ./configure --prefix=/usr \
> --disable-static \
> ---------------------------------------
>
> chapter08/e2fsprogs.xml
>
> ../configure --prefix=/usr \
> --sysconfdir=/etc \
> --enable-elf-shlibs \
> --disable-libblkid \
> --disable-libuuid \
> --disable-uuidd \
>
> ../configure --prefix=/usr \
> --sysconfdir=/etc \
> --enable-elf-shlibs \
> --disable-libblkid \
> --disable-libuuid \
> --disable-uuidd \
> -------------------------------------------
>
> chapter08/glibc.xml
>
> ../configure --prefix=/usr \
> --disable-werror \
> --enable-kernel=5.4 \
> --enable-stack-protector=strong \
> --disable-nscd \
>
> ../configure --prefix=/usr \
> --disable-werror \
> --enable-kernel=5.4 \
> --enable-stack-protector=strong \
> --disable-nscd \
> -------------------------------------------------------
>
> chapter08/grub.xml
>
> ./configure --prefix=/usr \
> --sysconfdir=/etc \
> --disable-efiemu \
>
> ./configure --prefix=/usr \
> --sysconfdir=/etc \
> --disable-efiemu \
> ----------------------------------------
>
> chapter08/libelf.xml
>
> ./configure --prefix=/usr \
> --disable-debuginfod \
>
> ./configure --prefix=/usr \
> --disable-debuginfod \
> -------------------------------------------
>
> chapter08/libffi.xml
>
> ./configure --prefix=/usr \
> --disable-static \
>
> ./configure --prefix=/usr \
> --disable-static \
> ---------------------------------------
>
> chapter08/pkgconf.xml
>
> ./configure --prefix=/usr \
> --disable-static \
>
> ./configure --prefix=/usr \
> --disable-static \
>
> }}}
New description:
Are the following candidates to reduce white space?
{{{
chapter05/gcc-libstdc++.xml
../libstdc++-v3/configure \
--host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
../libstdc++-v3/configure \
--host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
-----------------------------------------
chapter06/gcc-pass2.xml
../configure \
--build=$(../config.guess) \
--host=$LFS_TGT \
--target=$LFS_TGT \
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
--prefix=/usr \
--with-build-sysroot=$LFS \
--enable-default-pie \
--enable-default-ssp \
--disable-nls \
--disable-multilib \
--disable-libatomic \
--disable-libgomp \
--disable-libquadmath \
--disable-libsanitizer \
--disable-libssp \
--disable-libvtv \
../configure \
--build=$(../config.guess) \
--host=$LFS_TGT \
--target=$LFS_TGT \
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
--prefix=/usr \
--with-build-sysroot=$LFS \
--enable-default-pie \
--enable-default-ssp \
--disable-nls \
--disable-multilib \
--disable-libatomic \
--disable-libgomp \
--disable-libquadmath \
--disable-libsanitizer \
--disable-libssp \
--disable-libvtv \
--------------------------------------------------------
chapter06/tar.xml
./configure --prefix=/usr \
--host=$LFS_TGT \
./configure --prefix=/usr \
--host=$LFS_TGT \
--------------------------------------
chapter08/acl.xml
./configure --prefix=/usr \
--disable-static \
./configure --prefix=/usr \
--disable-static \
---------------------------------------
chapter08/e2fsprogs.xml
../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
-------------------------------------------
chapter08/glibc.xml
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=5.4 \
--enable-stack-protector=strong \
--disable-nscd \
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=5.4 \
--enable-stack-protector=strong \
--disable-nscd \
-------------------------------------------------------
chapter08/grub.xml
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-efiemu \
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-efiemu \
----------------------------------------
chapter08/libelf.xml
./configure --prefix=/usr \
--disable-debuginfod \
./configure --prefix=/usr \
--disable-debuginfod \
-------------------------------------------
chapter08/libffi.xml
./configure --prefix=/usr \
--disable-static \
./configure --prefix=/usr \
--disable-static \
---------------------------------------
chapter08/pkgconf.xml
./configure --prefix=/usr \
--disable-static \
./configure --prefix=/usr \
--disable-static \
}}}
--
Comment (by Xi Ruoyao):
At the very lease, for Glibc we won't remove all the "extra" spaces. We
have:
{{{
<!-- 5.4 EOL is Dec 2025
so for LFS 12.5 we may consider moving to 5.10.
Keep an extra whitespace here to align the trailing "\" in glibc
configure command if y < 10 in x.y. -->
<!ENTITY min-kernel "5.4 ">
}}}
--
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5705#comment:1>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page