Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 152393
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexis Ballier <aballier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fftw-2.1.5-as-needed.patch as-needed fix. patch Alexis Ballier 2006-10-22 10:25 0000 534 bytes Details | Diff
fftw-2.1.5-as-needed.patch patch to makefile.am patch Alexis Ballier 2007-03-30 23:27 0000 493 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 152393 depends on: Show dependency tree
Bug 152393 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2006-10-22 10:22 0000
sci-libs/fftw-2.1.5-r1 compiles fine with as-needed but rfftw has unresolved
symbols :

I get the following in the configure checks for rezound : 

configure:32736: x86_64-pc-linux-gnu-g++ -o conftest -march=athlon64 -O2 -pipe
-g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include
-I/usr/include -I/usr/include  -Wl,--as-needed -Xlinker -lpthread conftest.cpp
-lrfftw -lrfftw -lfftw -lportaudio -lasound -lm -ldl -lpthread -lpthread
-lpthread >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/librfftw.so: undefined
reference to `fftw_factor'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/librfftw.so: undefined
reference to `fftw_gettimeofday_get_time'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/librfftw.so: undefined
reference to `fftw_make_node_hc2hc'

Full config.log at : 
http://www.rafb.net/paste/results/XkA1mu40.html


With the patch that will follow, everything is fine.


Alexis.

------- Comment #1 From Alexis Ballier 2006-10-22 10:25:58 0000 -------
Created an attachment (id=100226) [details]
as-needed fix.

diff to the current 2.1.5-r1 ebuild : 

--- fftw-2.1.5-r1.ebuild        2006-10-22 19:23:22.000000000 +0200
+++ fftw-2.1.5-r2.ebuild        2006-10-22 19:23:08.000000000 +0200
@@ -65,6 +65,7 @@
        #it might be needed if it is decided that lam is an optional dependence

        cd "${S}-single"
+       epatch "${FILESDIR}/${P}-as-needed.patch"
        econf \
                --enable-shared \
                --enable-threads \
@@ -76,6 +77,7 @@

        #the only difference here is no --enable-float
        cd "${S}-double"
+       epatch "${FILESDIR}/${P}-as-needed.patch"
        econf \
                --enable-shared \
                --enable-threads \

------- Comment #2 From Olivier Fisette 2006-10-22 11:10:28 0000 -------
In CVS. Thanks.

------- Comment #3 From Alexis Ballier 2007-03-30 23:26:19 0000 -------
bah running eautoreconf made that patch useless since it's applying to
makefile.in

------- Comment #4 From Alexis Ballier 2007-03-30 23:27:09 0000 -------
Created an attachment (id=114998) [details]
patch to makefile.am

------- Comment #5 From Sébastien Fabbro 2007-04-30 16:46:40 0000 -------
finally fixed in cvs.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug