Subject: Re: GCC problem?
To: Thomas Seidmann <seidmann@dcs.elf.stuba.sk>
From: Frank van der Linden <frank@wins.uva.nl>
List: current-users
Date: 04/07/1998 15:39:45
On Tue, Apr 07, 1998 at 03:27:56PM +0200, Thomas Seidmann wrote:
> Frank van der Linden wrote:
> > 
> > There was a problem with g++ related to inline functions not having
> > a non-inlined version emitted as well. This was fixed not too long
> > before the 1.3 release, so 1.3 should be ok. Perhaps you have some
> > old .o files or libraries around somewhere?
> 
> I double checked all .a and startup-.o files, they all come from the
> NetBSD 1.3 release set - they bear the date Jan 2 1998. Thank you.

Well, the problem I'm talking about (and looks to be your problem too)
was fixed:

===
mycroft
Tue Dec 16 01:22:37 PST 1997
Update of /cvsroot/src/gnu/usr.bin/gcc/cc1plus
In directory netbsd1:/var/slash-tmp/cvs-serv6391
 
Modified Files:
        cp-tree.h decl.c decl2.c pt.c 
Log Message:
Eliminate DECL_C_STATIC() and DECL_PUBLIC(), as in egcs.
Make sure TREE_PUBLIC() is set for inline functions which are not static, so
that they actually get instantiated.
===

Your test program works fine for me on an 1.3_BETA system (only one
I can reach at the moment). My guess would still be that something
is out of date, be it /usr/libexec/cc1plus or /usr/lib/libg++.so.4.0
or /usr/lib/libstdc++.so.0.1. 

- Frank