Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315385 - sci-libs/blas-atlas-3.8.0 - relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
Summary: sci-libs/blas-atlas-3.8.0 - relocation R_X86_64_32 against `a local symbol' c...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2010-04-15 04:56 UTC by Preben Holm
Modified: 2012-10-28 16:33 UTC (History)
0 users

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


Attachments
Build log (build.log.blas-atlas-3.8.0-tail,159.86 KB, text/plain)
2010-04-15 04:58 UTC, Preben Holm
Details
emerge --info blas-atlas (emerge-info.blas-atlas-3.8.0,3.53 KB, text/plain)
2010-04-15 04:59 UTC, Preben Holm
Details
emerge -pqv blas-atlas (emerge-pqv.blas-atlas-3.8.0,62 bytes, text/plain)
2010-04-15 04:59 UTC, Preben Holm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Preben Holm 2010-04-15 04:56:47 UTC
It seems that blas-atlas is missing -fPIC on compilation time which means that the .so file linking fails.

Reproducible: Always

Steps to Reproduce:
1. emerge blas-atlas
2. wait
3. fails

Actual Results:  
ld link error with error message:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.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 

Expected Results:  
It should have linked.
Comment 1 Preben Holm 2010-04-15 04:58:46 UTC
Created attachment 227835 [details]
Build log
Comment 2 Preben Holm 2010-04-15 04:59:09 UTC
Created attachment 227837 [details]
emerge --info blas-atlas
Comment 3 Preben Holm 2010-04-15 04:59:30 UTC
Created attachment 227839 [details]
emerge -pqv blas-atlas
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-04-18 07:13:26 UTC
   echo
   ewarn "If blas-atlas fails during linking with a message"
   ewarn "'relocation R_X86_64_32 .... recompile with -fPIC.'"
   ewarn "please re-emerge libtool and then try again."
   echo
Comment 5 Pacho Ramos gentoo-dev 2012-10-28 16:33:29 UTC
(In reply to comment #4)
>    echo
>    ewarn "If blas-atlas fails during linking with a message"
>    ewarn "'relocation R_X86_64_32 .... recompile with -fPIC.'"
>    ewarn "please re-emerge libtool and then try again."
>    echo