emerge blas-atlas fails with the following error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/caxpy.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC .libs/caxpy.o: could not read symbols: Bad value collect2: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/caxpy.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC .libs/caxpy.o: could not read symbols: Bad value collect2: ld gab 1 als Ende-Status zurück libtool: install: `libblas.la' is not a valid libtool archive libtool: install: Try `libtool --help --mode=install' for more information. make[1]: *** [libblas.so] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.1/work/ATLAS/gentoo-build' make: *** [shared] Fehler 2 The failing command is apparently libtool --mode=install cp libblas.la /var/tmp/portage/sci-libs/blas-atlas-3.9.1/work/ATLAS/gentoo-build/gentoo/libs find /var/tmp/portage/sci-libs/blas-atlas-3.9.1/work/ -iname libblas* returns nothing. Reproducible: Always Steps to Reproduce: 1. emerge blas-atlas emerge --info: Portage 2.2_rc6 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26 x86_64) ================================================================= System uname: Linux-2.6.26-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5 Timestamp of tree: Fri, 01 Aug 2008 15:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/src/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/var/cache/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/cache/portage" PORTDIR_OVERLAY="/var/cache/layman/science /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr branding bzip2 cdr cracklib crypt cups dri dvd dvdr dvdread encode exif ffmpeg flac fortran gdbm gif hal iconv ieee1394 ipv6 jpeg kde latex lm_sensors midi mmx mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png python qt3 qt4 readline reflection session smp spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff truetype type1 unicode vorbis wavpack x264 xinerama xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 161983 [details] Complete build log build.log, partly German. If needed, I'll rebuild gcc, make,.. without native language support.
Seems like this is a libtool problem. After downgrading to libtool-1.5.26 linking succeeds.
Does this still happen with blas-atlas-3.9.3? Thanks, Markus
blas-atlas-3.9.3 works with libtool-2.2.4 Thanks, Simon
Great, and thank you very much for checking. Best, Markus