------- Comment #46 from hp at gcc dot gnu dot org  2008-08-25 17:58 -------
(In reply to comment #39)
> More good news, the weak gcc tests pass now for 32 and 64 bit modes.
> 
> Also bad news, I have extra failures in the g++ tests (32-bit mode so far),

> /var/tmp//ccLGtbMk.s:unknown:Undefined symbol: __ZTV4Barf can't be a

Hm, looks like the equivalent of the inlined-function test is needed, but for
data.

To help shorten the number of iterations, can you please verify that the
failures all look as above in the .log files?

For the record, the main reasons avr results are so different to darwin can be
seen in my earlier comments.  To wit:

1) very different symbol handling in the target (where avr is mainstream, I
think)
2) annotation for weak references are different to weak definitions on darwin,
with stricter checking in the assembler.

The reason avr was getting different failures is that it, unlike most ELF
targets, does not define ASM_OUTPUT_EXTERN, which most other ELF targets get by
including the "general" config/elfos.h.  This "missing include" is possibly by
itself a buglet.  On the other hand, elfos.h contains lots of arbitrary crud,
like the weird and target-specific reason for defining ASM_OUTPUT_EXTERN!
Really, elfos.h should be called svr4.h, but that name's already taken...

I'll get started on a new patch...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170

Reply via email to