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

Bug 54262

Summary: swh-plugins fails (gcc-3.4 related?)
Product: Gentoo Linux Reporter: Jeremy Huddleston (RETIRED) <eradicator>
Component: Current packagesAssignee: Frank van de Pol (RETIRED) <fvdpol>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-17 21:48:51 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -pipe -fomit-frame-pointer -Wall -O6 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC   -c impulse_1885.so.c
In file included from delay_1898.xml:11:
ladspa-util.h: In function `f_trunc':
ladspa-util.h:110: warning: dereferencing type-punned pointer will break strict-aliasing rules
ladspa-util.h: In function `f_pow2':
ladspa-util.h:149: warning: dereferencing type-punned pointer will break strict-aliasing rules
ladspa-util.h:151: warning: dereferencing type-punned pointer will break strict-aliasing rules
delay_1898.xml: In function `runDelay_n':
delay_1898.xml:84: error: increment of read-only variable `in'
delay_1898.xml:106: error: increment of read-only variable `in'
delay_1898.xml:57: warning: unused variable `max_delay'
delay_1898.xml: In function `runAddingDelay_n':
delay_1898.xml:84: error: increment of read-only variable `in'
delay_1898.xml:106: error: increment of read-only variable `in'
delay_1898.xml:139: warning: unused variable `max_delay'
delay_1898.xml: In function `runDelay_l':
delay_1898.xml:74: error: increment of read-only variable `in'
delay_1898.xml:94: error: increment of read-only variable `in'
delay_1898.xml:57: warning: unused variable `max_delay'
delay_1898.xml: In function `runAddingDelay_l':
delay_1898.xml:74: error: increment of read-only variable `in'
delay_1898.xml:94: error: increment of read-only variable `in'
delay_1898.xml:127: warning: unused variable `max_delay'
delay_1898.xml: In function `runDelay_c':
delay_1898.xml:75: error: increment of read-only variable `in'
delay_1898.xml:96: error: increment of read-only variable `in'
delay_1898.xml:84: warning: unused variable `written'
delay_1898.xml:57: warning: unused variable `max_delay'
delay_1898.xml: In function `runAddingDelay_c':
delay_1898.xml:75: error: increment of read-only variable `in'
delay_1898.xml:96: error: increment of read-only variable `in'
delay_1898.xml:84: warning: unused variable `written'
delay_1898.xml:129: warning: unused variable `max_delay'
make[2]: *** [delay_1898.so.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from impulse_1885.xml:11:
ladspa-util.h: In function `f_trunc':
ladspa-util.h:110: warning: dereferencing type-punned pointer will break strict-aliasing rules
ladspa-util.h: In function `f_pow2':
ladspa-util.h:149: warning: dereferencing type-punned pointer will break strict-aliasing rules
ladspa-util.h:151: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: Leaving directory `/mnt/raid0/tmp/portage/swh-plugins-0.4.3/work/swh-plugins-0.4.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/raid0/tmp/portage/swh-plugins-0.4.3/work/swh-plugins-0.4.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-plugins/swh-plugins-0.4.3 failed.
!!! Function src_compile, Line 474, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Frank van de Pol (RETIRED) gentoo-dev 2004-06-22 14:53:47 UTC
I can confirm this problem; also using other gcc versions :-(
x86: gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
amd64: gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-22 15:30:09 UTC
Would youu mind taking a look at it then.  I'm swamped =)
Comment 3 Frank van de Pol (RETIRED) gentoo-dev 2004-06-23 14:39:01 UTC
Patched to make code compatible with more strict GCC checking.
Committed to CVS.