Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 1998 07:50:21 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        sgk@troutmask.apl.washington.edu (Steve Kargl)
Cc:        tlambert@primenet.com, ckempf@enigami.com, freebsd-current@FreeBSD.ORG
Subject:   Re: Compilers: 2.8.1 v 2.7.2.1?
Message-ID:  <199803170750.AAA16965@usr04.primenet.com>
In-Reply-To: <199803170456.UAA01121@troutmask.apl.washington.edu> from "Steve Kargl" at Mar 16, 98 08:56:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > Exceptions will not work with pthreads unless you are running 2.8.x
> > g++ or better.  This is as good a reason as any
> 
> FWIW, I've been using egcs-1.0.x for testing g77.  On my simple,
> real-world benchmark (my code :-), g77 is giving about a 22% increase
> in execution speed over f77 (f2c+gcc).

egcs makes you make the choice about threading when you compile the
compiler, instead of when you compile the code (as in gcc).

I think egcs is seriously broken.

It *certainly* will not work for C++ exceptions when using pthreads;
if you want to compile the CMU ACAPD (for example), you will need the
patches against the Moscow Center for SPARC Computing STL, and you
*must* use g++ 2.8.0, *NOT* egcs.

The problem is that the exception stack needs to be per-thread.


The moral to this story?  "I can make it run as fast as you want, as
long as it doesn't have to actually work".


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803170750.AAA16965>