[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is libc6 OK on powerpc?



Drew Parsons wrote:
> 
> Hello there,
> 
> I'm the maintainer for mirrormagic.  I've got an x86 system, hope you can
> forgive my little inadequacies.
> 
> update_excuses.html says mirrormagic has issues getting into testing because
> of the following bug on powerpc (well, I gather this excuse has been
> overridden, and mirrormagic 2.0.0 isn't in testing because libsdl1.1 isn't,
> but anyway...)
> 
> According to http://voltaire.debian.org/buildd/buildlogs/mirrormagic/latest,
> we have this compile-time error:
> 
> gcc  main.o init.o events.o tools.o screens.o game.o editor.o files.o
> cartoons.o libgame/libgame.a -lSDL_image -lSDL_mixer -L/usr/lib -lSDL
> -lpthread  -lm -o ../mirrormagic
> libgame/libgame.a(gadgets.o): In function HandleGadgetTags':
> gadgets.o(.text+0x9f8): undefined reference to __va_arg_type_violation'
> gadgets.o(.text+0x9f8): relocation truncated to fit: R_PPC_REL24
> __va_arg_type_violation
> collect2: ld returned 1 exit status
> make[2]: *** [../mirrormagic] Error 1

See the file ./gcc/ginclude/va-ppc.h in the source of gcc for
explanation about this undefined reference.

Compile your code, or just the file gadgets.c, without optimisation.

--
Christophe Merlet (RedFox)



Reply to: