Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86941 - media-libs/libgii fails to compile with "label at end of compound statement"
Summary: media-libs/libgii fails to compile with "label at end of compound statement"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
: 86984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-28 00:41 UTC by Leo Laursen
Modified: 2005-03-29 23:54 UTC (History)
2 users (show)

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


Attachments
libgii-0.9.0-gcc34.patch (libgii-0.9.0-gcc34.patch,314 bytes, patch)
2005-03-28 00:43 UTC, Leo Laursen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Laursen 2005-03-28 00:41:40 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c  -fPIC -DPIC -o ptsched.lo
ptlock.c: In function `ggLock':
ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter':
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Fejl 1
make[3]: *** Venter p
Comment 1 Leo Laursen 2005-03-28 00:41:40 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT ptsched.lo -MD -MP -MF .deps/ptsched.Tpo -c ptsched.c  -fPIC -DPIC -o ptsched.lo
ptlock.c: In function `ggLock':
ptlock.c:113: warning: declaration of '__cancel_buf' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_routine' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of '__cancel_arg' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptlock.c:113: warning: declaration of 'not_first_call' shadows a previous local
ptlock.c:109: warning: shadowed declaration is here
ptsched.c: In function `_gg_task_thread_waiter':
ptsched.c:200: error: label at end of compound statement
make[3]: *** [ptsched.lo] Fejl 1
make[3]: *** Venter pƄ uafsluttede job....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DBUILDING_LIBGG -I../include -I../include -march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wswitch -Wmissing-prototypes -Wreturn-type -Wshadow -Wnested-externs -Wredundant-decls -Werror-implicit-function-declaration -MT task.lo -MD -MP -MF .deps/task.Tpo -c task.c  -fPIC -DPIC -o task.lo
make[3]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0/gg'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/libgii-0.9.0/work/libgii-0.9.0'
make: *** [all] Fejl 2

!!! ERROR: media-libs/libgii-0.9.0 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Adding a ';' after label (line 200) makes it compile.
Adding a patch libgii-0.9.0-gcc34.patch
Comment 2 Leo Laursen 2005-03-28 00:43:05 UTC
Created attachment 54650 [details, diff]
libgii-0.9.0-gcc34.patch
Comment 3 Ed Catmur 2005-03-28 11:24:49 UTC
Note: this has been fixed upstream on the 0.9.x branch:

http://cvs.sourceforge.net/viewcvs.py/ggi/ggi-core/libgii/gg/ptsched.c?r1=1.5&r2=1.5.4.1
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-28 14:59:38 UTC
*** Bug 86984 has been marked as a duplicate of this bug. ***
Comment 5 Chris White (RETIRED) gentoo-dev 2005-03-29 23:54:14 UTC
Fixed in cvs.  Thanks for reporting and using Gentoo!