This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA: fix gcc.dg/torture/builtin-noret-2.c for sh-elf


psOn Wed, 2003-05-21 at 11:26, Joern Rennecke wrote:
> Executing on host: /swbuild/nightly/2003-05-20/sh-elf/gcc/xgcc -B/swbuild/nightly/2003-05-20/sh-elf/gcc/ /swbuild/nightly/2003-05-20/srcw/gcc/testsuite/gcc.dg/torture/builtin-noret-2.c   -O0  
> -DSTACK_SIZE=16384  -I/swbuild/nightly/2003-05-20/sh-elf/sh-elf//newlib/targ-include -I/swbuild/nightly/2003-05-20/srcw/newlib/libc/include  -L/swbuild/nightly/2003-05-20/sh-elf/ld
> -B/swbuild/nightly/2003-05-20/sh-elf/sh-elf//newlib/ -L/swbuild/nightly/2003-05-20/sh-elf/sh-elf//newlib  -lm -Wl,--defsym,_stack=0x7f000  -o builtin-noret-2.exe    (timeout = 300)
> /swbuild/nightly/2003-05-20/sh-elf/sh-elf//newlib/libc.a(syscalls.o)(.text+0x150): In function `_exit':^M
> ../../../../../../srcw/newlib/libc/sys/sh/syscalls.c:103: multiple definition of `__exit'^M
> /tmp/cc09GKSC.o(.text+0x90): first defined here^M
> /swbuild/nightly/2003-05-20/sh-elf/gcc/collect-ld: Warning: size of symbol `__exit' changed from 20 in /tmp/cc09GKSC.o to 24 in /swbuild/nightly/2003-05-20/sh-elf/sh-elf//newlib/libc.a(syscalls.o)^M
> collect2: ld returned 1 exit status^M
> compiler exited with status 1

FWIW I'm in favor of this. It isn't perfectly portable (no weak symbols
under !ELF), but it'll get garbage out of the elf testresults.

-eric

-- 
Eric Christopher <echristo@redhat.com>


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