public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Building newlib-1.15.0 with gcc-4.3.0 for arm-elf
@ 2008-04-12 15:28 Mariusz Janiak
  2008-04-14 18:23 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Janiak @ 2008-04-12 15:28 UTC (permalink / raw)
  To: gcc-bugs

Hi,

I have problem during compilation of the newlib-1.15.0 using gcc-4.3.0. Target is arm-elf.

The exact version of GCC, the system type, the options given when GCC was configured/built:

Target: arm-elf
Configured with: ../gcc-4.3.0/configure --target=arm-elf --prefix=/opt/gnuarm-4.3.0 --enable-interwork --enable-multilib --with-float=soft --enable-languages=c,c++ --with-newlib --with-headers=../newlib-1.15.0/newlib/libc/include --with-mpfr=/usr/local
Thread model: single
gcc version 4.3.0 (GCC)

The complete command line that triggers the bug:

arm-elf-gcc -B/home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/build-newlib/arm-elf/newlib/ -isystem /home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/build-newlib/arm-elf/newlib/targ-include -isystem /home/mjaniak/tmp/install/GNUARM/gcc-4.3.0/newlib-1.15.0/newlib/libc/include -O2 -DARM_RDI_MONITOR -fno-builtin   -mthumb -march=armv7 -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/'`setjmp.S

The compiler output:

../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S: Assembler messages:
../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:123: Error: SP not allowed in register list -- `stmea a1!,{v1-v7,fp,ip,sp,lr}'
../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:145: Error: SP not allowed in register list -- `ldmfd a1!,{v1-v7,fp,ip,sp,lr}'

Best regards
Mairusz Janiak


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building newlib-1.15.0 with gcc-4.3.0 for arm-elf
  2008-04-12 15:28 Building newlib-1.15.0 with gcc-4.3.0 for arm-elf Mariusz Janiak
@ 2008-04-14 18:23 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2008-04-14 18:23 UTC (permalink / raw)
  To: Mariusz Janiak; +Cc: gcc-bugs

Mariusz Janiak wrote:
> ../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S: Assembler messages:
> ../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:123: Error: SP not allowed in register list -- `stmea a1!,{v1-v7,fp,ip,sp,lr}'
> ../../../../../../../../newlib-1.15.0/newlib/libc/machine/arm/setjmp.S:145: Error: SP not allowed in register list -- `ldmfd a1!,{v1-v7,fp,ip,sp,lr}'

This is an assembler error for a .S file, which means it has nothing to 
do with gcc.  It is either a newlib bug or a binutils bug.  Probably a 
newlib bug.  Looks like newlib doesn't support thumb2.

By the way, we don't track bugs mailed to the gcc-bugs mailing list. 
GCC bugs should be filed into bugzilla, or ask a question on the 
gcc-help mailing list.

Jim


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-14 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 15:28 Building newlib-1.15.0 with gcc-4.3.0 for arm-elf Mariusz Janiak
2008-04-14 18:23 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).