libgloss ARM compile error

Joel Sherrill joel.sherrill@oarcorp.com
Sat Oct 3 08:51:00 GMT 2009


Nick Clifton wrote:
> Hi Joel,
>
>   
>> I was trying to compile newlib cvs head for
>> arm-elf and got these:
>>     
>
>   
/users/joel/test-gcc/b-arm-elf-gcc/./gcc/xgcc 
-B/users/joel/test-gcc/b-arm-elf-gcc/./gcc/ -nostdinc 
-B/users/joel/test-gcc/b-arm-elf-gcc/arm-eabi/newlib/ -isystem 
/users/joel/test-gcc/b-arm-elf-gcc/arm-eabi/newlib/targ-include -isystem 
/users/joel/test-gcc/gcc-svn/newlib/libc/include 
-B/users/joel/test-gcc/b-arm-elf-gcc/arm-eabi/libgloss/arm 
-L/users/joel/test-gcc/b-arm-elf-gcc/arm-eabi/libgloss/libnosys 
-L/users/joel/test-gcc/gcc-svn/libgloss/arm 
-B/users/joel/test-gcc/install-arm/arm-eabi/bin/ 
-B/users/joel/test-gcc/install-arm/arm-eabi/lib/ -isystem 
/users/joel/test-gcc/install-arm/arm-eabi/include -isystem 
/users/joel/test-gcc/install-arm/arm-eabi/sys-include    -g -O2 -I. 
-I../../../../../gcc-svn/libgloss/arm/.. -g -O2  -mthumb -c 
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S: Assembler messages:
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S:37: Error: missing 
expression -- `swi'
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S:102: Error: 
missing expression -- `swi'
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S:103: Error: 
missing expression -- `swi'
../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S:104: Error: 
missing expression -- `swi'
.....


>> ../../../../../gcc-svn/libgloss/arm/linux-syscalls0.S:37: Error: missing 
>> expression -- `swi'
>>     
>
> Weird.  The thumb code appears to be completely bogus.
>
> Please try out the attached patch and let me know how it goes.
>
> Cheers
>    Nick
>
>   



More information about the Newlib mailing list