Ken Moffat wrote:
On Thu, Mar 12, 2015 at 08:04:37PM -0500, Bruce Dubbs wrote:
Bruce Dubbs wrote:

Interesting:

$ 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.  */
OUTPUT_FORMAT(elf64-x86-64)
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:

OUTPUT_FORMAT(elf32-i386)
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.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to