#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 bdu...@…):
I am not in favor of changing the tool chain in this way.
1. It creates another potential way to break gcc.
{{{
$ ldd `which gcc`
linux-vdso.so.1 => (0x00007fff21fff000)
libc.so.6 => /lib/libc.so.6 (0x00007f7860660000)
/lib64/ld-linux-x86-64.so.2 (0x00007f78609b3000)
}}}
is simple.
2. On my system:
{{{
[zlib]
Build time is: 0 minutes and 5 seconds
Build time in seconds is: 5
Approximate SBU time is: 0.1
}}}
That time is hardly is worth saving.
3. It would require moving zlib to a position before gcc in Chapter 6.
I don't see other distros doing this and the potential to do harm is
greater than what appears to be a negligible benefit.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2718#comment:1>
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