Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136168 - amule-2.1.1 fails to compile with wxGTK and -fvisibility-inlines-hidden
Summary: amule-2.1.1 fails to compile with wxGTK and -fvisibility-inlines-hidden
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 03:19 UTC by Linux Blues
Modified: 2006-06-09 04:41 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 Linux Blues 2006-06-09 03:19:02 UTC
emerge --info

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://147.156.17.151/mirror/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://193.190.198.20/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt cups curl dbus dga dri dts dvd dvdr dvdread eds emboss encode esd exif expat ffmpeg firefox flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 isdnlog java jpeg lcms libcaca libg++ libwww mad mikmod mmap mmx mng motif mp3 mpeg nas ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl pic png posix pppd python quicktime readline reflection sdl session slang spell spl sse ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wxwindows xml xml2 xmms xorg xpm xv xvid zlib video_cards_nvidia linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS


merging wxGTK-2.6.2-r1 with -fvisibility-inlines-hidden CXXFLAG causes amule-2.1.1 to fail at compile time.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 03:37:07 UTC
Completely unsupported flag, remove it from your make.conf.
Comment 2 Linux Blues 2006-06-09 04:32:16 UTC
where is the info about supported/unsupported flags? isn't Gentoo all about the choice?

Well the second is ironic, I need to know the answer to the first question...
Comment 3 Linux Blues 2006-06-09 04:35:40 UTC
btw, http://gcc.gnu.org/wiki/Visibility
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 04:38:28 UTC
(In reply to comment #2)
> where is the info about supported/unsupported flags? isn't Gentoo all about the
> choice?
> 
> Well the second is ironic, I need to know the answer to the first question...

Yeah, our choice is to not support broken flags.  -fvisibility-inlines-hidden is very broken w/ gcc-3.4.6 and only reasonably works w/ gcc-4.1.1, but still will break stuff even there if not handled properly.

Don't use it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 04:41:24 UTC
(In reply to comment #3)
> btw, http://gcc.gnu.org/wiki/Visibility

BTW, if you did actually read it carefully, you'd notice that the wiki article is obviously aimed at _developers_, not at users that are ricing out their CXXFLAGS while their gcc version and/or the application they are trying to compile obviously doesn't support such stuff properly.