Hey, anybody know what might have caused this problem, or if not, where to start looking for help. Google wasn't very informative.

---Error output:
Code:
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/root/GBA/build-gcc/gcc/xgcc -B/root/GBA/build-gcc/gcc/ -B/usr/devkitadv/arm-thumb-elf/bin/ -B/usr/devkitadv/arm-thumb-elf/lib/ -isystem /usr/devkitadv/arm-thumb-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I.././gcc-3.0.4/gcc -I.././gcc-3.0.4/gcc/. -I.././gcc-3.0.4/gcc/config -I.././gcc-3.0.4/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c .././gcc-3.0.4/gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm: Assembler messages:
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:1: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:2: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:153: Error: Unrecognized opcode: `work'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:154: Error: Unrecognized opcode: `dividend'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:155: Error: Unrecognized opcode: `divisor'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:156: Error: Unrecognized opcode: `overdone'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:157: Error: Unrecognized opcode: `result'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:158: Error: Unrecognized opcode: `curbit'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:159: Error: Unrecognized opcode: `ip'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:160: Error: Unrecognized opcode: `sp'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:161: Error: Unrecognized opcode: `lr'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:162: Error: Unrecognized opcode: `pc'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:438: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:438: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:440: Error: Unrecognized opcode: `mov'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:441: Error: Unrecognized opcode: `mov'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:442: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:443: Error: Unrecognized opcode: `blo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `cmplo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movlo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movlo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `blo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `cmplo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movlo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movlo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `blo'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Warning: rest of line ignored; first ignored character is `@'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `subhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `orrhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `subhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `orrhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `subhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `orrhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `subhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `orrhs'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: missing operand
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movnes'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:445: Error: Unrecognized opcode: `movne'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:447: Error: Unrecognized opcode: `mov'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:448: Error: Unrecognized opcode: `mov'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:452: Error: Unrecognized opcode: `str'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:452: Error: syntax error; found `(' but expected `,'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:452: Error: junk at end of line: `(PLT)'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:452: Error: Unrecognized opcode: `mov'
../gcc-3.0.4/gcc/config/arm/lib1funcs.asm:452: Error: Unrecognized opcode: `ldmia'
make[2]: *** [libgcc/./_udivsi3.o] Error 1
make[2]: Leaving directory `/root/GBA/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/root/GBA/build-gcc/gcc'
make: *** [all-gcc] Error 2
I'm compiling gcc-304 for arm processors (GameBoy) on a Linux PPC box.