[lfs-dev] static libs

Bruce Dubbs bruce.dubbs at gmail.com
Thu Mar 12 14:29:02 PDT 2015


Fernando de Oliveira wrote:
> On 09-03-2015 17:54, Fernando de Oliveira wrote:
>> Not much progress, today.
>>
>> 1) 6.33. Bison-3.0.4
>>
>> Directory missing in "Installed directories:"
>> /usr/share/doc/bison-3.0.4
>>
>> 2) It seems that sh was installed earlier in
>>
>> 6.6. Creating Essential Files and Symlinks
>>
>> but it is mentioned in
>>
>> 6.36.2. Contents of Bash
>> Installed programs: bash, bashbug, and sh (link to bash)
>>
>> 3) Bc tests results
>> Number of tests:             12144
>> Number of failed tests:      8
>> Percentage of failed tests:  0.0658761528326746
>>
>> 4) Libtool only installs /usr/lib/libltdl.so, with --disable-static,
>> that you both suggested. Mentioning, because there was some doubt yesterday.
>>
>
> 5) 6.45. Automake-1.15
> a) Programs under usr/share/automake-1.15 are listed in "Installed
> programs".
>
> b) replace sed in the book by:
>
>                  sed -e '/lex-clean-cxx.sh/d' \
>                      -e '/lex-depend-cxx.sh/d' \
>                      -i Makefile
> --
> Testsuite summary for GNU Automake 1.15
> ============================================================================
> # TOTAL: 2897
> # PASS:  2702
> # SKIP:  154
> # XFAIL: 41
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> Tests END
>
> 6) 6.47. Gawk-4.1.1
> # ls -i usr/bin/gawk*
> 395596 usr/bin/gawk  395596 usr/bin/gawk-4.1.1
>
> hardlinked to each other
>
> 7)  6.50. Intltool-0.50.2
>
> configure: WARNING: unrecognized options: --disable-static
>
> 8) 6.52. Groff-1.22.3
>
> needs -j1
>
> 9) 6.28. E2fsprogs-1.42.12
>
> I've got no libquota.a, /usr/include/quota, and mklost+found is not
> listed in Installed Programs.
>
> 10) 6.57. IPRoute2-3.19.0
> /usr/lib/tc is listed twice in Installed directories.
>
> 11) 6.67. Eudev-2.1.1
> Needs --disable-static, or /usr/lib/libudev.a is installed.
> Notice that neither are mentioned in the book (switch and static lib).
>
> BTW, Makefile.lfs is very good: honours DESTDIR!
>
> 12) Finished install of Chpter 6, still have to strip, but I'm too
> tired. Only static libraries are from gcc and before.
>
> As I fixed E2fsprogs, parts regarding uuid and blkid from a previous
> post can erased from the lines.
>
> Used instructions by Bruce (08-03-2015 23:26, Bruce Dubbs), most of the
> time, unless above I have some difference.
>
> Final result:
> # ls /usr/lib/*.a
> /usr/lib/libBrokenLocale.a  /usr/lib/libopcodes.a
> /usr/lib/libanl.a	    /usr/lib/libporg-log.a
> /usr/lib/libasan.a	    /usr/lib/libpthread.a
> /usr/lib/libatomic.a	    /usr/lib/libpthread_nonshared.a
> /usr/lib/libbfd.a	    /usr/lib/libquadmath.a
> /usr/lib/libc.a		    /usr/lib/libresolv.a
> /usr/lib/libc_nonshared.a   /usr/lib/librpcsvc.a
> /usr/lib/libcilkrts.a	    /usr/lib/librt.a
> /usr/lib/libcrypt.a	    /usr/lib/libssp.a
> /usr/lib/libdl.a	    /usr/lib/libssp_nonshared.a
> /usr/lib/libg.a		    /usr/lib/libstdc++.a
> /usr/lib/libgomp.a	    /usr/lib/libsupc++.a
> /usr/lib/libieee.a	    /usr/lib/libtsan.a
> /usr/lib/libitm.a	    /usr/lib/libubsan.a
> /usr/lib/liblsan.a	    /usr/lib/libutil.a
> /usr/lib/libm.a		    /usr/lib/libvtv.a
> /usr/lib/libmcheck.a	    /usr/lib/libz.a
> /usr/lib/libnsl.a
>
> Perhaps some could have been removed, but only after gcc, I started trying.
>
> Hope this will serve for something

Very nice report Fernando.  Thanks, but please see my proposal in the other 
thread (More on static libs)

   -- Bruce



More information about the lfs-dev mailing list