*BSD News Article 61281


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!bloom-beacon.mit.edu!apollo.hp.com!lf.hp.com!news.dtc.hp.com!col.hp.com!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!tank.news.pipex.net!pipex!dish.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!bnr.co.uk!bmdhh222.bnr.ca!tsbarry
From: tsbarry@bnr.ca (Barry Scott)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help Installing libg++-2.7.1 on FreeBsd 2.1.0
Date: 13 Feb 1996 12:23:11 GMT
Organization: Bell Northern Research
Lines: 44
Message-ID: <4fpvrf$1sv@bmdhh222.bnr.ca>
References: <310F0B6E.41C67EA6@cst.com.au>
NNTP-Posting-Host: bmdhh3ff.bnr.ca
X-Newsreader: TIN [version 1.2 PL2]

Bala PERIASAMY (bala@cst.com.au) wrote:
: FreeBSD 2.1.0
: gcc 2.7.2 (with repo patch)
: GNU assembler version 1.92.3, FreeBSD $Revision: 1.4 $


: I have got gcc 2.7.2 installed with the repo patch.

: I tried to get libg++2.7.1 install.


	You will find that at a minimum that lseek() and
	stat() do not work correctly in the lib after
	you have fixed the .weak problem.

	stat() writes beyond the end of its buffer.
	lseek() reports EINVAL for good values of the 3rd
	parameter.

	Not to mention that G++ 2.7.2 SEGV's on a lot of
	C++ code that compiles under 2.7.2. on HPUX.

	try this

class MyException
        {
public:
        MyException();
        virtual ~MyException();
        };
extern int dbg_flags;
void error(void);
void execute(void)
        {
        try     {
                }
        catch( MyException e )
                {
                }
        if( dbg_flags  )
                error();
        }

		BArry