Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77109 - aspell-0.60.1.1 fails to compile with CXXFLAG -fvisibility=hidden
Summary: aspell-0.60.1.1 fails to compile with CXXFLAG -fvisibility=hidden
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 21:48 UTC by Nir Lavi
Modified: 2005-01-22 15:55 UTC (History)
0 users

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


Attachments
The patch for the ebuild (aspell-0.60.1.1.ebuild.patch,44 bytes, patch)
2005-01-07 21:49 UTC, Nir Lavi
Details | Diff
Log of the failed compilation (aspell_emerge_log,180.72 KB, application/octet-stream)
2005-01-07 21:51 UTC, Nir Lavi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nir Lavi 2005-01-07 21:48:41 UTC
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"
Comment 1 Nir Lavi 2005-01-07 21:49:41 UTC
Created attachment 47917 [details, diff]
The patch for the ebuild

The patch I've made for the Aspell 0.60.1.1 ebuild
Comment 2 Nir Lavi 2005-01-07 21:51:19 UTC
Created attachment 47918 [details]
Log of the failed compilation

This error I get when I try to compile Aspell with the CXXFLAG
-fvisibility=hidden
Comment 3 Ciaran McCreesh 2005-01-07 21:57:38 UTC
A better idea is to not use silly CFLAGS/CXXFLAGS.
Comment 4 Anders Rune Jensen (RETIRED) gentoo-dev 2005-01-22 15:55:59 UTC
Thank you. Fixed for cvs.