This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


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

Re: libgloss ARM compile error


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



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