LFS 11.3 x86_64 zlib warning in binutils configure phase
I'm currently in the middle of a LFS build. I'm following the LFS 11.3 book on my x86_64 computer, except for six deviations.
One. As I did in my previous LFS 8.0, 8.1 and 11.2 installs, I am using the Slackware package tools as the package manager for my LFS. This is verified stable technology that I've used before. For LFS 11.2 on, a newer version of the tools was used, with the advantage of not needing a special version of tar as previous versions did. The Slackware package manager is briefly mentioned in Section 8.2.2.7, paragraph four of the LFS 11.3 book. Naturally this means the packages will not be compiled in the $LFS/sources directory but in a different directory tree, in which each package is compiled and packed in its own directory, while the package contents are installed to the usual locations. Two. The "which" command is a dependency of one of the Slackware tools. I installed the shell script version from the BLFS book, along with the Slackware tools, before the first package of Chapter 8. Three. This LFS build, as was done in previous successful builds, is being done in multiple sessions. $LFS is defined for all required users and scripting was created for mistake-free chrooting. The LFS volume is in /etc/fstab and is mounted at boot time. Four. I'll be installing my text editor instead of vim. Five. Before the system is bootable, cryptsetup, cpio and lvm-related programs will need to be compiled, because all Linux distros on my computer reside on thin-provisioned LVM partitions. Six. I'm using the 5.15.86 version of the kernel, because that worked so well with my hardware in my LFS 11.2 system. A pause to quote from Chapter One of the LFS 11.3 book: Quote:
In chapter 8, specifically 8.18. "Binutils-2.40", when checking the configure log (my slack-build for this package logs the output of the configure phase) I found the following warning: Code:
*** This configuration is not supported in the following subdirectories: Code:
./gold/testsuite/test-suite.log:FAIL: weak_undef_test From the configure of Pass 2 of GCC in 6.18.1.: Code:
../configure \ Is that configure warning from binutils something I should be concerned about? To phrase my question another way: does this mean that the binutils configure phase did not use the existing already installed zlib? Thank you. |
From the way the warning is worded, I think these flags are a deviation from protocol that some people are expected to make out of necessity. In other words, the errors are expected failures, like the ones you often get with gcc. I don't know about the zlib thing.
|
Quote:
In LFS 11.2, my script didn't log the configure, just the tests, so I can't compare the 11.3 configure log against it. So today, I de-tarred and ran a configure of binutils 2.39 from LFS 11.2 in my regular Linux. It produced the exact same warning message. Hmm! I looked through my 11.3 Slackbuild script again, ensuring that yes it corresponds to the LFS 11.3 book. It does. I'd be curious, if anyone else has had that zlib warning. |
I de-tarred the (not yet installed) binutils slack package to a temp directory. Used ldd to see what libraries the programs of binutils needed and got this result:
Code:
/lib64/ld-linux-x86-64.so.2 Code:
(lfs chroot) root:~# grep libz /var/lib/pkgtools/packages/* |
All times are GMT -5. The time now is 07:09 PM. |