Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219539 - media-libs/rubberband-1.0.1 fails w/ gcc-4.3.0
Summary: media-libs/rubberband-1.0.1 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-27 21:44 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-28 17:07 UTC (History)
0 users

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


Attachments
rubberband-1.0.1-gcc43.patch (rubberband-1.0.1-gcc43.patch,2.52 KB, patch)
2008-04-27 21:45 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.