This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: libgloss ARM compile error
FYI...
I applied this against 1.17.0 and resolved this error.
Eric Bresie
On 10/2/09, Joel Sherrill <joel.sherrill@oarcorp.com> wrote:
> 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
>>
>>
>
>
--
Eric Bresie
ebresie@gmail.com