Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100141

Summary: aspell-0.60.3 fails to compile with gcc-4.0.1
Product: Gentoo Linux Reporter: Real Name <gslicer>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Real Name 2005-07-24 10:58:41 UTC
i686-pc-linux-gnu-g++ -shared -nostdlib
/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../crti.o
/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/crtbeginS.o  lib/.libs/dummy.o  -Wl,--rpath
-Wl,/var/tmp/portage/aspell-0.60.3/work/aspell-0.60.3/.libs
-L/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/ -L/usr/i686-pc-linux-gnu/bin
-L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/4.0.1
-L/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/../../.. -lgpm ./.libs/libaspell.so -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/libstdc++.so -lm -lc -lgcc_s
/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/crtendS.o
/usr/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../crtn.o  -march=athlon-xp
-Wl,-soname -Wl,libpspell.so.15 -o .libs/libpspell.so.15.1.3
(cd .libs && rm -f libpspell.so.15 && ln -s libpspell.so.15.1.3 libpspell.so.15)
(cd .libs && rm -f libpspell.so && ln -s libpspell.so.15.1.3 libpspell.so)
creating libpspell.la
(cd .libs && rm -f texinfo-filter.la && ln -s ../texinfo-filter.la
texinfo-filter.la)
/bin/sh ./libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -march=athlon-xp
-O3 -pipe -fno-exceptions  -lgpm -o aspell  prog/aspell.o prog/check_funs.o
prog/checker_string.o libaspell.la -lncurses -ldl -ldl 
(cd .libs && rm -f libpspell.la && ln -s ../libpspell.la libpspell.la)
i686-pc-linux-gnu-g++ -march=athlon-xp -O3 -pipe -fno-exceptions -o .libs/aspell
prog/aspell.o prog/check_funs.o prog/checker_string.o  -lgpm
./.libs/libaspell.so -lncurses -ldl
./.libs/libaspell.so: undefined reference to
`acommon::HashTable<acommon::StringMap::Parms>::init(unsigned int)'
./.libs/libaspell.so: undefined reference to
`acommon::HashTable<acommon::StringMap::Parms>::del()'
./.libs/libaspell.so: undefined reference to
`acommon::BlockSList<acommon::StringPair>::clear()'
collect2: ld returned 1 exit status
make[1]: *** [aspell] Error 1
make[1]: Leaving directory `/var/tmp/portage/aspell-0.60.3/work/aspell-0.60.3'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/aspell-0.60.3 failed.


Reproducible: Always
Steps to Reproduce:
1. just compile it with gcc-4.0.1+

Actual Results:  
does not compile

Expected Results:  
should compile
Comment 1 SpanKY gentoo-dev 2005-07-25 07:20:52 UTC
post a patch please
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-07-25 07:48:08 UTC
Also, it emerges fine here with gcc-4.0.1, so it is probably something with your
configuration.
Comment 3 Real Name 2005-07-25 14:08:49 UTC
after calling "ldconfig -v" i see some dead symbolic-links, how to fix this?
Probably thats my problem why ld is exiting with return-code 1...

(i tried to fix it manually with no luck so far)

tnx in advance
Comment 4 Real Name 2005-07-26 05:59:40 UTC
okay, i fixed all paths in /etc/env.d/ and ran "env-update" but still no luck in
compiling this one, here my env:



Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-4.0.1,
glibc-2.3.5.20050722-r0, 2.6.12-gentoo i686)
=================================================================
System uname: 2.6.12-gentoo i686 AMD Athlon(tm) 
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm avi bash-completion berkdb bitmap-fonts crypt cups emboss encode
foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mad
mikmod motif mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl pam pdflib perl
png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype
truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 5 Real Name 2005-07-27 02:34:40 UTC
Nobody knows this problem? Ive got 2 machines and it happens on both, suggest me
something :)
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 06:00:26 UTC
Flameeyes reports that patch in Bug 70582 fixes the issue.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 06:01:11 UTC

*** This bug has been marked as a duplicate of 70582 ***