Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140025 - Allegro 4.1.14 emerge fails
Summary: Allegro 4.1.14 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 12:59 UTC by Rainer Sinsch
Modified: 2006-07-12 06:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Sinsch 2006-07-11 12:59:07 UTC
After upgrading to gcc 4.1.1 allegro 4.1.14 (latest stable ppc version) won't compile anymore on my ppc platform. Looks to me like a gcc-related issue:

[...]
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DALLEGRO_USE_C -DALLEGRO_LIB_BUILD -pipe   -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused  -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -DALLEGRO_SHARED -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c ./src/gsprite.c -o obj/unix/shared/alleg/gsprite.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DALLEGRO_USE_C -DALLEGRO_LIB_BUILD -pipe   -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused  -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -DALLEGRO_SHARED -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c ./src/gui.c -o obj/unix/shared/alleg/gui.o
./src/gui.c: In Funktion 
Comment 1 Rainer Sinsch 2006-07-11 12:59:07 UTC
After upgrading to gcc 4.1.1 allegro 4.1.14 (latest stable ppc version) won't compile anymore on my ppc platform. Looks to me like a gcc-related issue:

[...]
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DALLEGRO_USE_C -DALLEGRO_LIB_BUILD -pipe   -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused  -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -DALLEGRO_SHARED -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c ./src/gsprite.c -o obj/unix/shared/alleg/gsprite.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DALLEGRO_USE_C -DALLEGRO_LIB_BUILD -pipe   -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused  -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -DALLEGRO_SHARED -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c ./src/gui.c -o obj/unix/shared/alleg/gui.o
./src/gui.c: In Funktion »update_menu«:
./src/gui.c:1780: Fehler: ungültige Speicherklasse für Funktion »shutdown_single_menu«
./src/gui.c:1998: Warnung: Implizite Deklaration der Funktion »shutdown_single_menu«
./src/gui.c: Auf höchster Ebene:
./src/gui.c:2041: Fehler: Statische Deklaration von »shutdown_single_menu« folgt nicht-statischer Deklaration
./src/gui.c:1998: Fehler: Vorherige implizite Deklaration von »shutdown_single_menu« war hier
make: *** [obj/unix/shared/alleg/gui.o] Fehler 1

!!! ERROR: media-libs/allegro-4.1.14 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  allegro-4.1.14.ebuild, line 71:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-11 14:02:30 UTC
Already fixed in >=4.1.18...
Comment 3 Rainer Sinsch 2006-07-12 02:20:25 UTC
Then please mark 4.1.18 as stable on ppc platform. Currently the latest stable version for ppc is 4.1.14 - and this one does not compile with gcc 4.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2006-07-12 06:42:14 UTC
Yes, that's the intention. :p  Jakub was just letting you know there was a workaround already.

Marked 4.1.18 ppc stable.