Old Bug

Thomas Meyer thomas at m3y3r.de
Sat Aug 4 01:23:57 PDT 2012


Am Freitag, den 03.08.2012, 15:23 +0100 schrieb Andrew Haley:
> On 08/03/2012 03:10 PM, Jiri Vanek wrote:
> > On 08/03/2012 02:13 PM, Jiri Vanek wrote:
> >> On 08/03/2012 12:58 PM, Mark Wielaard wrote:
> >>> On Fri, 2012-08-03 at 11:02 +0100, Andrew Haley wrote:
> >>>> This is nothing to do with debuginfo.  It's to do with exported symbols.
> >>>>
> >>>> nm -D /usr/lib64/IcedTeaPlugin.so
> >>>>
> >>>> IcedTeaPlugin.so should only export the necessary symbols.
> >>>
> >>> This might be helpful:
> >>> http://www.flameeyes.eu/autotools-mythbuster/libtool/symbols.html
> >>>
> >>> And of course lots on symbol visibility is described in:
> >>> http://www.akkadia.org/drepper/dsohowto.pdf
> >>
> >> Yy, I found the same, good learning material
> >>>
> >>
> >> So I'm Working on this.
> > 
> > This is an attempt to remove unluckily exported symbols from icedtea-web plugin.
> > However I do not know which symbols can be hidden and which can not. So this patch is removing the 
> > two originally reported.
> > 
> > If to much symbols will have to be marked or to much should remains unmarked, then I will probably 
> > use blacklist/whitelist for this  de-exporting.
> > 
> > this should go to 1.3 as well.
> 
> We'll have to take all of them out that aren't explicitly required,
> otherwise this bug will bite us again.
> 
> Andrew.
> 

attached patch should do the trick.

with kind regards
thomas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: export-minimum-symbols.patch
Type: text/x-patch
Size: 1780 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120804/a79abfcb/export-minimum-symbols.patch 


More information about the distro-pkg-dev mailing list