This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: libgloss ARM compile error
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "newlib at sources dot redhat dot com" <newlib at sources dot redhat dot com>
- Date: Fri, 2 Oct 2009 06:57:40 -0500
- Subject: Re: libgloss ARM compile error
- References: <4AC4A7F4.2020404@oarcorp.com> <4AC5DB69.3050502@redhat.com>
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