(cd .libs && rm -f libpspell.so.15 && ln -s libpspell.so.15.0.3 libpspell.so.15) (cd .libs && rm -f libpspell.so && ln -s libpspell.so.15.0.3 libpspell.so) creating libpspell.la (cd .libs && rm -f libpspell.la && ln -s ../libpspell.la libpspell.la) make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/lib' Making all in examples make[1]: Entering directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -O2 -march=pentium3 -pipe -MT example-c.o -MD -MP -MF ".deps/example-c.Tpo" -c -o example-c.o example-c.c; \ then mv -f ".deps/example-c.Tpo" ".deps/example-c.Po"; else rm -f ".deps/example-c.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -O2 -march=pentium3 -pipe -MT list-dicts.o -MD -MP -MF ".deps/list-dicts.Tpo" -c -o list-dicts.o list-dicts.c; \ then mv -f ".deps/list-dicts.Tpo" ".deps/list-dicts.Po"; else rm -f ".deps/list-dicts.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -lgpm -o list-dicts list-dicts.o ../lib/libaspell.la /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -lgpm -o example-c example-c.o ../lib/libaspell.la mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -o .libs/list-dicts list-dicts.o -lgpm ../lib/.libs/libaspell.so i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -o .libs/example-c example-c.o -lgpm ../lib/.libs/libaspell.so ../lib/.libs/libaspell.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::unhook()' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)' collect2: ld returned 1 exit status make[1]: *** [example-c] Error 1 make[1]: *** Waiting for unfinished jobs.... ../lib/.libs/libaspell.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::unhook()' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)' collect2: ld returned 1 exit status make[1]: *** [list-dicts] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' make: *** [all-recursive] Error 1 !!! ERROR: app-text/aspell-0.50.5-r4 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms strict stricter verify-rdepend" 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://hermia/gentoo-portage" USE="x86 X aalib acpi alsa arts audiofile avi berkdb bindist bitmap-fonts bzip2 cdb cdr crypt cups curl dga dlloader doc dvd dvdread eds emboss encode exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 guile gzip hdf5 idn imagemagick imap imlib info ipv6 java jpeg lcms libg++ libwww mad mbox mikmod mmx mng motif mozilla moznomail mp3 mpeg mysql ncurses nls nntp nptl ogg oggvorbis opengl oss pam pcre pdflib perl plotutils png python qt quicktime readline real rtc sdk sdl spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
This works fine here. Try setting MAKEOPTS=-j1 and eliminating ccache.
No Lucky here. (cd .libs && rm -f libaspell.so && ln -s libaspell.so.15.0.3 libaspell.so) creating libaspell.la (cd .libs && rm -f libaspell.la && ln -s ../libaspell.la libaspell.la) if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -I../common -O2 -march=pentium3 -pipe -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo dummy.cpp; \ then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo"; exit 1; fi i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -I../common -O2 -march=pentium3 -pipe -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.cpp -fPIC -DPIC -o .libs/dummy.o /bin/sh ../libtool --mode=link i686-pc-linux-gnu-g++ -O2 -march=pentium3 -pipe -lgpm -o libpspell.la -rpath /usr/lib -version-info 15:3:0 dummy.lo libaspell.la libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libstdc++.la' seems to be moved libtool: link: warning: library `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libstdc++.la' was moved. i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o .libs/dummy.o -Wl,--rpath -Wl,/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/lib/.libs -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../.. -L/usr/lib/gcc-lib/../../i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -lgpm ./.libs/libaspell.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o -march=pentium3 -Wl,-soname -Wl,libpspell.so.15 -o .libs/libpspell.so.15.0.3 (cd .libs && rm -f libpspell.so.15 && ln -s libpspell.so.15.0.3 libpspell.so.15) (cd .libs && rm -f libpspell.so && ln -s libpspell.so.15.0.3 libpspell.so) creating libpspell.la (cd .libs && rm -f libpspell.la && ln -s ../libpspell.la libpspell.la) make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/lib' Making all in examples make[1]: Entering directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -O2 -march=pentium3 -pipe -MT example-c.o -MD -MP -MF ".deps/example-c.Tpo" -c -o example-c.o example-c.c; \ then mv -f ".deps/example-c.Tpo" ".deps/example-c.Po"; else rm -f ".deps/example-c.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -lgpm -o example-c example-c.o ../lib/libaspell.la mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -o .libs/example-c example-c.o -lgpm ../lib/.libs/libaspell.so ../lib/.libs/libaspell.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::unhook()' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)' collect2: ld returned 1 exit status make[1]: *** [example-c] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' make: *** [all-recursive] Error 1 !!! ERROR: app-text/aspell-0.50.5-r4 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig collision-protect distlocks sandbox sfperms strict stricter verify-rdepend" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://hermia/gentoo-portage" USE="x86 X aalib acpi alsa arts audiofile avi berkdb bindist bitmap-fonts bzip2 cdb cdr crypt cups curl dga dlloader doc dvd dvdread eds emboss encode exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 guile gzip hdf5 idn imagemagick imap imlib info ipv6 java jpeg lcms libg++ libwww mad mbox mikmod mmx mng motif mozilla moznomail mp3 mpeg mysql ncurses nls nntp nptl ogg oggvorbis opengl oss pam pcre pdflib perl plotutils png python qt quicktime readline real rtc sdk sdl spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Compiled fine here, on my clean x86 box.
With gcc-3.4.4 of course ;)
Compiled fine for me also on a stable x86 system. Using gcc-3.3.6.
This works for me. From the error, it looks like something is screwed up with the toolchain and needs to be recompiled.
Have the same problem here. I tried both with MAKEOPTS=-j1 and ccache cache cleaned. Here is the output: Making all in examples make[1]: Entering directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -MT example-c.o -MD -MP -MF ".deps/example-c.Tpo" -c -o example-c.o example-c.c; \ then mv -f ".deps/example-c.Tpo" ".deps/example-c.Po"; else rm -f ".deps/example-c.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../common -I../interfaces/cc/ -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -MT list-dicts.o -MD -MP -MF ".deps/list-dicts.Tpo" -c -o list-dicts.o list-dicts.c; \ then mv -f ".deps/list-dicts.Tpo" ".deps/list-dicts.Po"; else rm -f ".deps/list-dicts.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o list-dicts list-dicts.o ../lib/libaspell.la /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o example-c example-c.o ../lib/libaspell.la mkdir .libs i686-pc-linux-gnu-gcc -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o .libs/list-dicts list-dicts.o ../lib/.libs/libaspell.so ../lib/.libs/libaspell.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::unhook()' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)' collect2: ld returned 1 exit status make[1]: *** [list-dicts] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o .libs/example-c example-c.o ../lib/.libs/libaspell.so ../lib/.libs/libaspell.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::unhook()' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::hook(std::_List_node_base*)' ../lib/.libs/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' ../lib/.libs/libaspell.so: undefined reference to `std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)' collect2: ld returned 1 exit status make[1]: *** [example-c] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/examples' make: *** [all-recursive] Error 1 !!! ERROR: app-text/aspell-0.50.5-r4 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. emerge info: Portage 2.0.53 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Celeron(R) CPU 2.53GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" 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/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://distfiles.transfer.kg ftp://ftp.unix.kg/.0/Linux/Gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.kyrnet.kg/gentoo-portage" USE="x86 apache2 berkdb bzip2 cdb clamav crypt gdbm hardened logrotate memlimit mmap mmx mysql ncurses nptl nptlonly pam pcre pic readline snmp spell sse ssl symlink sysvipc tcpd xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I tried to update/re-emerge my toolchain (gcc, glibc, binutils), but no result - problem with aspell remains. Then I tried to switch my gcc (from i686-pc-linux-gnu-3.4.4) to i686-pc-linux-gnu-3.3.6, aspell compiled successfully. Maybe, re-open this bug?
*** Bug 121560 has been marked as a duplicate of this bug. ***