#2718: Have GCC link to system zlib
-------------------------+--------------------------------------------------
 Reporter:  jhuntwork    |       Owner:  lfs-b...@…                   
     Type:  enhancement  |      Status:  new                          
 Priority:  normal       |   Milestone:  6.7                          
Component:  Book         |     Version:  SVN                          
 Severity:  normal       |    Keywords:                               
-------------------------+--------------------------------------------------

Comment(by matt...@…):

 Replying to [comment:2 jhuntwork]:
 > {{{
 >  # ldd /usr/bin/gcc
 >       linux-vdso.so.1 =>  (0x00007fffcedc2000)
 >       libc.so.6 => /lib64/libc.so.6 (0x00007f38f505b000)
 >       /lib64/ld-linux-x86-64.so.2 (0x00007f38f53b2000)
 > }}}
 >
 > It's using -lz within the build, so I believe all uses are of the static
 library.

 Hmm, I'd be prone to avoid using that switch then, as I'd prefer to avoid
 using static libraries if possible.

 According to my build logs, it's 'cc1' and 'cc1plus' that use libz.
 Jeremy, could you check whether or not those 2 binaries (in
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.0 on my box) are linked to a dynamic
 zlib library on your '--with-system-zlib' build please?

 Thanks,

 Matt.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2718#comment:7>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to