Results for haifa-enabled egcs-2.92.07 19980914 (gcc2 ss-980609 e xperimental) testsuite on mips-sgi-irix6.2

Martin Knoblauch knobi@knobisoft.de
Thu Sep 17 12:58:00 GMT 1998


Hi,

 Mark is probably right. Specifying "-fno-weak" when running "check"
seems to solve the problem.

 Now the question is whether it is a problem in the MIPSpro
assembler or in g++.

Martin

Mark Mitchell wrote:
> 
> Jason --
> 
> >>>>> "Martin" == Martin Knoblauch <knobi@rocketmail.com> writes:
> 
>     Martin>  Those fail due to the problem with a missing external
>     Martin> symbol "__vt$9type_info"/"type info virtual table" that I
> 
> I think this problem stems from this change:
> 
>   1998-09-03  Jason Merrill  <jason@yorick.cygnus.com>
> 
>         * decl2.c (import_export_vtable): Always make artificials comdat.
>         (import_export_decl): Likewise.
>         * pt.c (mark_decl_instantiated): Likewise.
> 
> The MIPS assemblers don't seem to do `.weakext' for data; only for
> functions.  For example, on IRIX 6.5:
> 
>           .data
>           .weakext i
>   i:
>           .word   0
> 
> yields, after assembly:
> 
>   Symbols from test.o:
> 
>   [Index]   Value      Size    Type  Bind  Other     Shndx   Name
> 
>   [1]     |         0|       0|SECT |LOCL |DEFAULT  |4      |.data
>   [2]     |         0|       0|SECT |LOCL |DEFAULT  |8      |.debug_info
>   [3]     |         0|       0|SECT |LOCL |DEFAULT  |9      |.debug_abbrev
>   [4]     |         0|       0|SECT |LOCL |DEFAULT  |10     |.debug_frame
>   [5]     |         0|       0|SECT |LOCL |DEFAULT  |11     |.rel.debug_info
> 
> Note the lack of `i'.
> 
> --
> Mark Mitchell                   mark@markmitchell.com
> Mark Mitchell Consulting        http://www.markmitchell.com

-- 
+---------------------------------+
|Martin Knoblauch                 |
|---------------------------------|
| http://www.knobisoft.de          |
+---------------------------------+
|e-mail: <knobi@knobisoft.de>     |
+---------------------------------+



More information about the Gcc-bugs mailing list