[Clfs-dev] Matching up CLFS snapshot versions with LFS/BLFS releases

Kevin Buckley kevin.m.buckley at gmail.com
Wed Jul 19 17:08:24 PDT 2017


I just posted the following into the LFS-dev list, adding in a
couple email addres that i though would go to the listed author
of the CLFS book, but two of the three have bounced so I
thought to post here as well.

====
Hi again.

been looking to add a Xen environment on top of my LFS/BLFS 8.0
build (very little BLFS if truth be told) and.although I'm not sure I need
the 32-bit parts of Xen, I have seen a couple of references to them, as
the build fails, for example

...
make hvmloader
make[8]: Entering directory '/usr/src/xen/xen-4.9.0/tools/firmware/hvmloader'
gcc   -m32 -march=i686 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict
-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unus
ed-local-typedefs   -O2 -fomit-frame-pointer -D__XEN_INTERFACE_VERSION__=__XEN_L
ATEST_INTERFACE_VERSION__ -MMD -MF .hvmloader.o.d -D_LARGEFILE_SOURCE -D_LARGEFI
LE64_SOURCE -mno-tls-direct-seg-refs  -DNDEBUG -Werror -fno-stack-protector -fno
-exceptions -fno-builtin -msoft-float -I/usr/src/xen/xen-4.9.0/tools/firmware/hv
mloader/../../../tools/include -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFAC
E_VERSION__ -I../../libacpi  -c -o hvmloader.o hvmloader.c
In file included from /usr/include/features.h:434:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/stdint.h:9,
                 from util.h:5,
                 from hvmloader.c:22:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or dire
ctory
 # include <gnu/stubs-32.h>

compilation terminated.


With that in mind, I've cloned the CLFS Git repo, where I note that
the main "toolchains" are

Latest Release 3.0.0
   - CLFS-3.0.0-SYSVINIT-x86_64.html
      - Glibc-2.19
      - Binutils-2.24
      - GCC-4.8.3

Current snapshot
   - CLFS-SYSVINIT-TRUNK-SYSVINIT-20170702/x86_64/
      - Glibc-2.25
      - Binutils-2.28
      - GCC-7.1.0

but that the main LFS/BLFS has a toolchain comprising

LFS-8.0
   - Glibc-2.25
   - Binutils-2.27
   - GCC-6.3.0

so somewhere in between the two easily identifiable CLFS revisions.

The CLFS Git repo's tags appear to be

clfs-1.0.0
clfs-1.0.0-rc1
clfs-1.0.0-rc2
clfs-1.0.0-rc3
clfs-1.0.0-rc4
clfs-1.0.0-rc5
clfs-1.0.0-rc6
clfs-1.1.0
clfs-1.1.0-rc1
clfs-1.1.0-rc2
clfs-1.1.0-rc3
clfs-1.2.0
clfs-2.0.0
clfs-2.0.0-rc1
clfs-2.1.0
clfs-3.0.0-rc1-systemd
clfs-3.0.0-rc1-sysvinit
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit


so nothing that suggests any direct correspondence with LFS/BLFS
release numbers, so, my questions are:

1) Are the any known CLFS "commits"  that can be associated with the
     "mainline"  LFS/BLFS releases
    Or do I just have to wade through them and find one that matches.

2) If I already have a 64-bit LFS/BLFS 8.0 system, can I just retro-fit
     the 32-bit libs (so as to give what I think is then a MultiLib system)
     using the 64-bit (Chapter 6) toolchain ?
    Or do I have to go and build a MultiLib compiler in the "Chapter 5"
     stage

Kevin
===

Apologies for cross-posting if seen as such.



More information about the Clfs-dev mailing list