#2329: Zlib FPIC patch
---------------------+------------------------------------------------------
Reporter: willimm | Owner: bdu...@…
Type: task | Status: reopened
Priority: normal | Milestone: 6.5
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Changes (by rob...@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
The zlib-1.2.3-fPIC-1.patch patch builds the static library with -fPIC.
Some of the advantages of static linking are lost with this. Fedora uses
this patch:[[BR]]
[http://cvs.fedoraproject.org/viewvc/devel/zlib/zlib-1.2.3-autotools.patch][[BR]]
Fedora's patch builds each object twice, once with -fPIC, and again
without.
The downside is that Fedora's patch becomes 1.3MB after autoreconf is
run.[[BR]]
I suggest we use neither patch and go back to how it was before. The
current patch compiles libz.a incorrectly.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2329#comment:4>
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