Bug 54262 - swh-plugins fails (gcc-3.4 related?)
|
Bug#:
54262
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: fvdpol@gentoo.org
|
Reported By: eradicator@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: swh-plugins fails (gcc-3.4 related?)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-06-17 21:48 0000
|
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.
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)
Would youu mind taking a look at it then. I'm swamped =)
Patched to make code compatible with more strict GCC checking.
Committed to CVS.