This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Results for haifa-enabled egcs-2.92.07 19980914 (gcc2 ss-980609 e xperimental) testsuite on mips-sgi-irix6.2
- To: mark at markmitchell dot com
- Subject: Re: Results for haifa-enabled egcs-2.92.07 19980914 (gcc2 ss-980609 e xperimental) testsuite on mips-sgi-irix6.2
- From: Martin Knoblauch <knobi at knobisoft dot de>
- Date: Thu, 17 Sep 1998 20:05:59 +0200
- CC: Jason Merrill <jason at cygnus dot com>, David dot Billinghurst at riotinto dot com dot au, egcs at cygnus dot com, egcs-bugs at cygnus dot com
- Organization: Knobisoft :-), Freising
- References: <19980916082502.18924.rocketmail@web1.rocketmail.com> <199809161846.LAA22864@smtp.earthlink.net>
- Reply-To: knobi at knobisoft dot de
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> |
+---------------------------------+