While I was doing emerge -e world, when it reached the aspell emerging, the compilation failed. I've found out it's because of the CXXFLAG -fvisibility=hidden, and I've also made a patch for the ebuild I want to publish here Reproducible: Always Steps to Reproduce: 1. Add -fvisibility=hidden to your CXXFLAGS 2. emerge aspell Actual Results: Aspell fails to compile Expected Results: Aspell should compile successfully Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro4 i686) ================================================================= System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 7 2005, 20:41:51)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -msse2 -mmmx -m32 -fprefetch-loop-arrays -ftracer -mfpmath=sse,387 -fforce-addr -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -msse2 -mmmx -m32 -fprefetch-loop-arrays -ftracer -mfpmath=sse,387 -fforce-addr -frename-registers -fvisibility-inlines-hidden -fvisibility=hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/" LDFLAGS="-Wl,-O2" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="x86 X acl acpi alsa apache2 apm berkdb bidi bitmap-fonts crypt cups encode esd fbcon foomaticdb fortran gdbm gif gpm gtk2 iconv icq imagemagick imap imlib ipv6 jpeg libwww mad maildir mikmod mmx motif mpeg msn mysql ncurses nls nptl oggvorbis opengl pam pam-mysql pdflib perl php png python quicktime readline samba sdl spell sse ssl tcpd tiff truetype unicode xinetd xml xml2 xv zlib linguas_he linguas_en"
Created attachment 47917 [details, diff] The patch for the ebuild The patch I've made for the Aspell 0.60.1.1 ebuild
Created attachment 47918 [details] Log of the failed compilation This error I get when I try to compile Aspell with the CXXFLAG -fvisibility=hidden
A better idea is to not use silly CFLAGS/CXXFLAGS.
Thank you. Fixed for cvs.