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
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.
Already fixed in >=4.1.18...
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.
Yes, that's the intention. :p Jakub was just letting you know there was a workaround already. Marked 4.1.18 ppc stable.