After spending the last two days performing a 2005.0 stage1 install on my new athlon64, emerging 'app-text/aspell-0.50.5-r4' resulted in the following error: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../modules/speller/default/.libs/libaspell-speller-default.a(writable_base.o): relocation R_X86_64_PC32 against `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [libaspell.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/lib' 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. The output of my 'emerge --info' is as follows: Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 11 2005, 12:38:49)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="" LC_ALL="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa avi berkdb bitmap-fonts cjk crypt curl dvd fam flac font-server fortran gif hal java jp2 jpeg kde kdeenablefinal kdexdeltas lm_sensors lzw lzw-tiff mad mp3 ncurses nls nptl ogg oggvorbis opengl pam perl png python qt readline ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xpm xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1.emerge aspell 2. 3. Actual Results: Emerging 'aspell' returned the error described above. Expected Results: It should have emerged correctly without error.
Please attach your config.log from the build directory.
Created attachment 56449 [details] config.log from the build directory
I have been heavily using 0.50.5-r4 on multiple amd64 systems and can confirm that it rebuilds under 2005.0. I would try removing "-fvisibility-inlines-hidden" from your CXXFLAGS. Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Opteron(tm) Processor 146 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 15 2005, 19:23:48)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig digest distlocks sandbox strict" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acl acpi acpi4linux aim alsa amd avi bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr chroot crypt cups curl directfb dvd dvdr eds emul-linux esd fam flac font-server fortran freetype gdbm gif gnome gnome2 gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl imlib ipv6 jp2 jpeg ldap libwww lzw lzw-tiff mailwrapper mbox md5sum mikmod mng mozilla mozsvg mp3 mysql ncurses nls nptl offensive ogg oggvorbis opengl oss pam pcre pdflib perl png python readline samba sdl slang spell sqlite ssl svg sysfs sysvipc tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vim vim-pager vim-with-x vorbis xine xinerama xml2 xmms xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Please remove -fvisibility-inlines-hidden from your CXXFLAGS, its unsupported.