Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225473 - x11-libs/wxGTK-2.8.7.1-r1 needs to filter CXXFLAG -fvisibility-inlines-hidden
Summary: x11-libs/wxGTK-2.8.7.1-r1 needs to filter CXXFLAG -fvisibility-inlines-hidden
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-08 22:48 UTC by haarp
Modified: 2008-06-09 15:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2008-06-08 22:48:23 UTC
The lib needs to filter the CXXFLAG -fvisibility-inlines-hidden. If this CXXFLAG is used, some apps that build against wxGTK fail to compile, complaining about problems with wxColor.
Problematic apps I discovered so far are: games-strategy/scorched3d-41.3-r1 ; games-util/springlobby (not in official portage tree)

Reproducible: Always

Steps to Reproduce:
1. Enable offending CXXFLAGS="-fvisibility-inlines-hidden" in make.conf
2. Emerge x11-libs/wxGTK-2.8.7.1-r1
3. eselect wxwidgets set gtk2-unicode-release-2.8
4. Try to emerge games-strategy/scorched3d-41.3-r1

Actual Results:  
Compilation aborts with error regarding wxColor. I'm going to post the exact error tomorrow, as I do not have time to reproduce again right now. Or you could try it yourself.

Expected Results:  
Successful compilation

The CXXFLAG should be filtered to circumvent this problem.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-08 23:05:05 UTC
Instead filing such a bug here, you should ask upstream to actually fix this. We do not support arbitrary gcc flags and the maintainer is fine to say no, he won't filter, as it means essentially to hide bugs, not fixing them.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-06-08 23:48:49 UTC
don't use fvisibility-inlines-hidden.  it breaks ABI.
Comment 3 haarp 2008-06-09 15:05:57 UTC
Well, I'm not using it. I would be insane to.

Why _not_ filter it? It's one line in the ebuild, and it won't hurt. Nothing breaks. People who are dumb enough to use that CXXFLAG will have one less thing to be afraid of, that's all