#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 jhuntwork):
Replying to [comment:9 matt...@…]:
> Maybe "I'd prefer to avoid using static system libraries if possible."
i.e. if we're going to use a system library we'd benefit most by using the
dynamic libraries. That way, if there's a security issue with zlib, in
this case, we'd be able to fix that vulnerability system-wide by
upgrading/patching Zlib. If GCC uses its internal zlib, or the system's
static zlib, we'd have to recompile GCC after fixing the relevant copy of
zlib.
Yes, thanks for clarifying. And yes, that all sounds reasonable.
> Not sure what you mean here. I only found 4 references to '-lz' in my
build logs, referring to the binaries 'cc1-dummy', 'cc1', 'cc1plus-dummy',
'cc1plus'.
Hmm. I'll need to check my logs again then... Unfortunately, seems I'll
actually have to produce some new logs... will do so in a bit.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2718#comment:10>
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