[lfs-dev] More on static libs
bruce.dubbs at gmail.com
Thu Mar 12 19:36:58 PDT 2015
Ken Moffat wrote:
> On Thu, Mar 12, 2015 at 08:04:37PM -0500, Bruce Dubbs wrote:
>> Bruce Dubbs wrote:
>> $ cat /usr/lib/libc.so
>> /* GNU ld script
>> Use the shared library, but some functions are only in
>> the static library, so try that secondarily. */
>> GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED (
>> /lib64/ld-linux-x86-64.so.2 ) )
>> So libc_nonshared.a is *really* needed.
>> On 686:
>> GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
>> -- Bruce
> As you say, "Interesting", but at the moment my take is "some
> packagages *may* need libc_nonshared.a". My build has started,
> let's see if it gets through chapter 6 without these static libs.
> And worst case, I will find some of the packages where libc_nonshared
> is used.
I can tell you right now. In the adjusting section, cc dummy.c fails.
More information about the lfs-dev