This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trouble w/GCC 3.0.3


Hello All:

I am trying to build a cross-gcc which will allow me to compile WinCE
binaries on an i386 Linux (RedHat 7.1) host.  I am using binutils 2.11.2,
and gcc 3.0.3.  I have patched the sources with the modifications that are
supposedly required for WinCE.  binutils builds without errors and the
utilities appear to run.  gcc, on the other hand, gets way into the build
and fails trying to assemble "lib1func.asm".  My config line is this:

../../gcc-3.0.3/configure --target=arm-wince-pe --prefix=/usr/local/wince \
--enable-languages="c,c++" --enable-multilib=no

The failed command, along with the results, is the following:

/home/craigv/gnu/wince/cross-gcc-build-arm/gcc/gcc/xgcc -B/home/craigv/gnu/wince/cross-gcc-build-arm/gcc/gcc/
-B/usr/local/wince/arm-wince-pe/bin/ -B/usr/local/wince/arm-wince-pe/lib/ -isystem
/usr/local/wince/arm-wince-pe/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../gcc-3.0.3/gcc -I../../../gcc-3.0.3/gcc/.
-I../../../gcc-3.0.3/gcc/config -I../../../gcc-3.0.3/gcc/../include -DL_udivsi3 -xassembler-with-cpp -c
../../../gcc-3.0.3/gcc/config/arm/lib1funcs.asm -o libgcc/./_udivsi3.o
/tmp/cc22S90M.s: Assembler messages:
/tmp/cc22S90M.s:2: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:3: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:52: Error: no such instruction: `work .req r4@XXXX is this safe?'
/tmp/cc22S90M.s:53: Error: no such instruction: `dividend .req r0'
/tmp/cc22S90M.s:54: Error: no such instruction: `divisor .req r1'
/tmp/cc22S90M.s:55: Error: no such instruction: `overdone .req r2'
/tmp/cc22S90M.s:56: Error: no such instruction: `result .req r2'
/tmp/cc22S90M.s:57: Error: no such instruction: `curbit .req r3'
/tmp/cc22S90M.s:58: Error: no such instruction: `ip .req r12'
/tmp/cc22S90M.s:59: Error: no such instruction: `sp .req r13'
/tmp/cc22S90M.s:60: Error: no such instruction: `lr .req r14'
/tmp/cc22S90M.s:61: Error: no such instruction: `pc .req r15'
/tmp/cc22S90M.s:318: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:319: Error: no such instruction: `beq Ldiv0'
/tmp/cc22S90M.s:320: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:321: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:322: Error: too many memory references for `cmp'
/tmp/cc22S90M.s:323: Error: no such instruction: `blo Lgot_result'
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:325: Error: no such instruction: `cmplo divisor,dividend'
/tmp/cc22S90M.s:325: Error: no such instruction: `movlo divisor,divisor,lsl'
/tmp/cc22S90M.s:325: Error: no such instruction: `movlo curbit,curbit,lsl'
/tmp/cc22S90M.s:325: Error: no such instruction: `blo Loop1'
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:325: Error: no such instruction: `cmplo divisor,dividend'
/tmp/cc22S90M.s:325: Error: no such instruction: `movlo divisor,divisor,lsl'
/tmp/cc22S90M.s:325: Error: no such instruction: `movlo curbit,curbit,lsl'
/tmp/cc22S90M.s:325: Error: no such instruction: `blo Lbignum'
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: Rest of line ignored. First ignored character is `@'.
/tmp/cc22S90M.s:325: Error: too many memory references for `cmp'
/tmp/cc22S90M.s:325: Error: no such instruction: `subhs dividend,dividend,divisor'
/tmp/cc22S90M.s:325: Error: no such instruction: `orrhs result,result,curbit'
/tmp/cc22S90M.s:325: Error: too many memory references for `cmp'
/tmp/cc22S90M.s:325: Error: no such instruction: `subhs dividend,dividend,divisor,lsr'
/tmp/cc22S90M.s:325: Error: no such instruction: `orrhs result,result,curbit,lsr'
/tmp/cc22S90M.s:325: Error: too many memory references for `cmp'
/tmp/cc22S90M.s:325: Error: no such instruction: `subhs dividend,dividend,divisor,lsr'
/tmp/cc22S90M.s:325: Error: no such instruction: `orrhs result,result,curbit,lsr'
/tmp/cc22S90M.s:325: Error: too many memory references for `cmp'
/tmp/cc22S90M.s:325: Error: no such instruction: `subhs dividend,dividend,divisor,lsr'
/tmp/cc22S90M.s:325: Error: no such instruction: `orrhs result,result,curbit,lsr'
/tmp/cc22S90M.s:325: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:325: Error: no such instruction: `movnes curbit,curbit,lsr'
/tmp/cc22S90M.s:325: Error: no such instruction: `movne divisor,divisor,lsr'
/tmp/cc22S90M.s:325: Error: no such instruction: `bne Loop3'
/tmp/cc22S90M.s:327: Error: too many memory references for `mov'
/tmp/cc22S90M.s:328: Error: too many memory references for `mov'
/tmp/cc22S90M.s:332: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/cc22S90M.s:332: Error: no such instruction: `bl ___div0'
/tmp/cc22S90M.s:332: Error: expecting operand after ','; got nothing
/tmp/cc22S90M.s:332: Error: no such instruction: `ldmia sp!,{pc}'
make[2]: *** [libgcc/./_udivsi3.o] Error 1
make[2]: Leaving directory `/a/m5/craigv/gnu/wince/cross-gcc-build-arm/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/a/m5/craigv/gnu/wince/cross-gcc-build-arm/gcc/gcc'
make: *** [all-gcc] Error 2
m5% 

It looks like the assembler (xgcc) is totally unable to deal with the
syntax of lib1funcs.asm.  Why on earth should this be so?  Please
give me a clue if you possibly can.

Thanks in advance,
craig vanderborgh
voxware incorporated

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]