Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219539

Summary: media-libs/rubberband-1.0.1 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: rubberband-1.0.1-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 21:44:54 UTC
i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall         -Irubberband -Isrc    -c -o src/RubberBandStretcher.o src/RubberBandStretcher.cpp
i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall         -Irubberband -Isrc    -c -o src/ConstantAudioCurve.o src/ConstantAudioCurve.cpp
i686-pc-linux-gnu-g++ -DFFTW_DOUBLE_ONLY -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC -Wall         -Irubberband -Isrc    -c -o src/HighFrequencyAudioCurve.o src/HighFrequencyAudioCurve.cpp
In file included from src/HighFrequencyAudioCurve.h:20,
                 from src/HighFrequencyAudioCurve.cpp:16:
src/Window.h: In member function ‘void RubberBand::Window<T>::encache()’:
src/Window.h:126: error: there are no arguments to ‘abs’ that depend on a template parameter, so a declaration of ‘abs’ must be available
src/Window.h:126: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** [src/HighFrequencyAudioCurve.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/StretcherImpl.h:21,
                 from src/RubberBandStretcher.cpp:16:
src/Window.h: In member function ‘void RubberBand::Window<T>::encache()’:
src/Window.h:126: error: there are no arguments to ‘abs’ that depend on a template parameter, so a declaration of ‘abs’ must be available
src/Window.h:126: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** [src/RubberBandStretcher.o] Error 1
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 21:45:57 UTC
Created attachment 151189 [details, diff]
rubberband-1.0.1-gcc43.patch

Fixes the problem. Home-spun patch.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 21:49:32 UTC
I have sent a note to upstream.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-04-28 17:07:26 UTC
(In reply to comment #1)
> Created an attachment (id=151189) [edit]
> rubberband-1.0.1-gcc43.patch
> 
> Fixes the problem. Home-spun patch.
> 

Thanks. Committed.

aballier/flameeyes: I needed this to commit & test media-sound/sooperlooper, and assumed it's OK to commit.