mmix: lots of failures
Andreas Jaeger
aj@suse.de
Sun Mar 23 17:01:00 GMT 2003
Hans-Peter Nilsson <hp@bitrange.com> writes:
> On Sat, 22 Mar 2003, Andreas Jaeger wrote:
>
> Thanks for the heads-up.
>
>> I get lot's of failures building mmix-knuthware in an uberbaum like
>> the following:
>>
>> Executing on host: /mmix/mmix/build/gcc/xgcc -B/mmix/mmix/build/gcc/ /mmix/cross-mmix-sources/comb
>> ined/gcc/testsuite/gcc.c-torture/execute/20000112-1.c testglue.o -w -O3 -fomit-frame-pointer -
>> I/mmix/mmix/build/mmix/./newlib/targ-include -I/mmix/cross-mmix-sources/combined/newlib/libc/inclu
>> de -L/mmix/mmix/build/ld -B/mmix/mmix/build/mmix/./newlib/ -L/mmix/mmix/build/mmix/./newlib -Wl,--
>> defsym,__Stack_start=0x1680a00000000000 -Wl,-wrap,exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o /m
>> mix/mmix/build/gcc/testsuite/20000112-1.x3 (timeout = 300)
>> testglue.o(.text+0x3c4): In function `__wrap__exit':
>> : undefined reference to `__real__exit'
>> collect2: ld returned 1 exit status
>> compiler exited with status 1
>> output is:
>> testglue.o(.text+0x3c4): In function `__wrap__exit':
>> : undefined reference to `__real__exit'
>> collect2: ld returned 1 exit status
>>
>> FAIL: gcc.c-torture/execute/20000112-1.c compilation, -O3 -fomit-frame-pointer
>> UNRESOLVED: gcc.c-torture/execute/20000112-1.c execution, -O3 -fomit-frame-pointer
>>
>> Where is this reference to __real_exit coming from?
>
> It's actually "exit" filtered through the -wrap linker option.
> The reference is supposed to be there, and the definition too.
> I don't see this with LAST_UPDATED at "Fri Mar 21 13:18:25 GMT 2003".
> Plausible causes: dejagnu harness bug, gcc testsuite bug, some
> gcc sysroot bug, ld bug. Anything changing in those areas is
> suspected.
>
> I assume you updated the whole tree, including binutils and
> DejaGNU in uberbaum at the same time?
Just binutils, newlib and GCC - but not dejagnu.
> You probably see this for all targets with
> set_board_info needs_status_wrapper 1
> in dejagnu/baseboards/<BOARDNAME>.exp, for example arm-sim.exp.
>
> Sigh. Could just the guilty party please raise a hand?
;-)
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gcc-bugs
mailing list