First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 149153
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sébastien Fabbro <bicatali@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 149153 depends on: Show dependency tree
Show dependency graph
Bug 149153 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-26 02:29 0000
scipy-0.5.1 from the main tree fails on amd64:
--------------------------------
/usr/bin/gfortran -Wall -shared
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/Lib/fftpack/convolvemodule.o
build/temp.linux-x86_64-2.4/Lib/fftpack/src/convolve.o
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o
-L/usr/lib -Lbuild/temp.linux-x86_64-2.4 -ldfftpack -lfftw3 -lgfortran -o
build/lib.linux-x86_64-2.4/scipy/fftpack/convolve.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
build/temp.linux-x86_64-2.4/libdfftpack.a(dfftb.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object; recompile
with -fPIC
build/temp.linux-x86_64-2.4/libdfftpack.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
--------------------------

It looks like it is a PIC problem. Probably caused by the temporary LDFLAGS
removal.
In the gentooscience.org overlay, I added an export F77FLAGS="${CFLAGS} -fPIC"
after the "unset LDFLAGS". Not so nice, but works.

------- Comment #1 From Donnie Berkholz 2006-09-26 08:46:46 0000 -------
I really hate it when people insist on linking static libraries into shared
libraries.

------- Comment #2 From Steve Arnold 2007-01-31 09:03:57 0000 -------
This is now fixed in 0.5.2 as well as numpy 1.0.1.

First Last Prev Next    No search results available      Search page      Enter new bug