Re: unknown fail of gcc - compilation of Ire on arm
On Wed, Apr 02, 2003 at 09:11:04PM +0200, Alexandre Pineau wrote:
> Hello,
>
> Gcc fails during the compilation of IRE (unstable) on Arm (or powerpc) architecture.
> I don't understand the error and I really don't know how to solve it.
>
> File `log' in ire_0.81-6_arm (extract) :
>
> gcc -c -Wall -g -O2 -I. -DALLEGRO -DBGUI `allegro-config --cflags` -DUSE_ALOGG -DUSE_ALSOUND `alogg-config --cflags` pe/pe_sys.cpp -o pe/pe_sys.o
> In file included from ithelib.h:5,
> from pe/pe_sys.cpp:18:
> ithelib/ithelib.h:192:1: warning: "stricmp" redefined
> In file included from /usr/include/allegro/base.h:36,
> from /usr/include/allegro.h:27,
> from core.hpp:34,
> from init.h:5,
> from pe/pe_sys.cpp:17:
> /usr/include/allegro/internal/alconfig.h:218:1: warning: this is the location of the previous definition
> pe/pe_sys.cpp:2848: warning: `void kill_comments(char*)' defined but not used
> /tmp/ccSggj2E.s: Assembler messages:
> /tmp/ccSggj2E.s:1176: Error: bad instruction `int $3'
> /tmp/ccSggj2E.s:4464: Error: bad instruction `int $3'
> make[1]: *** [pe/pe_sys.o] Error 1
> make[1]: Leaving directory `/build/buildd/ire-0.81'
> make: *** [build-stamp] Error 2
That's not a gcc failure it's an assembler failure. "int" is an i386
instruction; something is using inline asm() to include it. Whatever
is doing this should be taken out and shot.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: