Summary: | patches for gcc-4.1.1 to fix visibility-related bugs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Jitse Venselaar <janjitse> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | CC: | basic, flameeyes, h.mth, m.debruijne, rhill, teidakankan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
first patch
broken of from previous patch in order to apply second patch third patch |
Description
Jan Jitse Venselaar
2006-09-08 03:08:08 UTC
Created attachment 96372 [details, diff]
first patch
Created attachment 96373 [details, diff]
broken of from previous patch in order to apply
Created attachment 96374 [details, diff]
second patch
Created attachment 96375 [details, diff]
third patch
KDE does not require these patches (builds and work fine without them), but there are other cases where these patches can break, will try if these fixes the one I have locally. This does not fix bug #134162. Warning: this might be breaking more visibility support. I've started getting text relocations on FFmpeg where it used to work fine. I'll let you know for sure after a gcc rebuild. Sorry, false warning; visibility support did not change a bit with or without these patches for the software I can test myself. Hmm... I get a compile failure with these patches and mozilla-firefox and mozilla-thunderbird. Might not be worthy of inclusion after all, but maybe the error really is in firefox? Anyone got a clue? nsXPCOMObsolete.o:(.data.rel.ro+0x20): undefined reference to `nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)' nsXPCOMObsolete.o:(.data.rel.ro+0x80): undefined reference to `nsDirectoryIteratorImpl::Create(nsISupports*, nsID const&, void**)' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: libxpcom_compat_c.so: hidden symbol `nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)' isn't defined /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status gmake[3]: *** [libxpcom_compat_c.so] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.7/work/mozilla/xpcom/obsolete/component' gmake[2]: *** [libs] Error 2 not that i have any say in this ;), but i think it'd be better to wait for 4.2 than have to maintain these ourselves. they're fairly invasive and visibility handling got a major overhaul for 4.2. it seems like a bad idea to completely change how visibility works in the middle of a stable series. |