Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 1998 23:12:12 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        obrien@NUXI.com
Cc:        dfr@nlsystems.com, jb@cimlogic.com.au, current@FreeBSD.ORG
Subject:   Re: Compiler problems with gcc-2.7.2.1
Message-ID:  <199809092312.QAA06966@usr02.primenet.com>
In-Reply-To: <19980909145530.B2403@nuxi.com> from "David O'Brien" at Sep 9, 98 02:55:30 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > It would be a good idea to upgrade to a modern compiler after the release.
> > I suspect that gcc-2.8.x will be more acceptable for most people.
> 
> Why?
> 
> If you listen to the EGCS people, while g++28 is a much better C++
> compiler than g++27, it still has bugs that are fixed in EGCS.
> 
> From coding this weekend, I do know that EGCS 1.1.1 (aka 1.1a) works
> better all around with the STL.

ACAP uses STL, exceptions, and threads, extensively, and works
fine under g++ 2.8.1; not so, under EGCS's g++.

A number of people have reported many compilation problems with EGCS,
though admittedly some of those reports predate 1.1.1 (up to you to
convince these people to retry).

I personally dislike EGCS because it requires that you build the
compiler's libgcc.a so that it *either* _requires_ libc_r, *or* it
*cannot* use libc_r.

In other words, you get to eat threads overhead on all programs,
or you don't get to use threads at all.  A nice, binary switch
that has to be flipped in one direction or the other.

I talked about it this weekend with Mike Stump, the former
maintainer (he's left Cygnus for Wind River Systems; seems there's
more money in non-GPL'ed software...).

I'm sending Jeremy Allison's patches to FSF libgcc.a into Cygnus,
labelled as such, but I don't hold out much hope, since the major
GPL'ed OS has kernel threads by default (the implementation model
used is a mistake, but I've railed on that before...).


					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?199809092312.QAA06966>