Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149929 - sys-libs/zlib 1.2.3 fails to export post-1.2.2 symbols
Summary: sys-libs/zlib 1.2.3 fails to export post-1.2.2 symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 151190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-03 01:08 UTC by Rafał Mużyło
Modified: 2010-03-28 14:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Above mentioned patch (zlib-1.2.2-mapfile.patch,2.22 KB, patch)
2006-10-03 01:12 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2006-10-03 01:08:51 UTC
Well, zlib.h defines gzdirect, inflateGetheader and more, but zlib-1.2.2-mapfile.patch doesn't have them. Due to that many post-1.2.2 symbols are not exported, resulting in linker errors (undefined reference).
I created zlib-1.2.3-mapfile.patch by reading zlib's Changelog and adding all functions listed as added post 1.2.2. Don't know if it's any good.
Comment 1 Rafał Mużyło 2006-10-03 01:12:15 UTC
Created attachment 98690 [details, diff]
Above mentioned patch

It seems to work.
Comment 2 SpanKY gentoo-dev 2006-10-04 19:25:24 UTC
going the mapfile route isnt really maintainable ... i doubt most people who would bump zlib would even realize they need to update it

i'll see about adding a visibility/hidden test to the configure script and then tagging all the symbols that arent supposed to be exported as hidden ...
Comment 3 SpanKY gentoo-dev 2006-10-06 22:40:30 UTC
should be fixed in 1.2.3-r1 now
Comment 4 SpanKY gentoo-dev 2006-10-23 10:26:43 UTC
*** Bug 151190 has been marked as a duplicate of this bug. ***
Comment 5 Enrico 'nekrad' Weigelt 2010-03-28 14:19:10 UTC
Could anyone please check if it's still needed on zlib-1.2.4 ?