Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Martin Ostermann <ost@comnets.rwth-aachen.de>
To: Tom Browder <tbrowde@asi-fwb.com>
Cc: axp-list@redhat.com
Subject: Re: sqrt FPE's and fclose errors
Date: 19 Mar 1998 15:48:17 +0100	[thread overview]
Message-ID: <434t0uohxq.fsf@comnets.rwth-aachen.de> (raw)
In-Reply-To: Tom Browder's message of Thu, 19 Mar 1998 08:07:43 -0600 (CST)

Tom Browder <tbrowde@asi-fwb.com> writes:
> I should have added that the fclose error ONLY
> occurs when using g++, not gcc.

This has been know for months, and I really wonder why it hadn't been
fixed by now. Maybe we should scream  "security flaw!" , and see what
happens ...

Anyway, I was told the cause is a duplication of functions in libc and
somewhere in libstc++ of libg++. Often those libraries aren't really
needed, but since g++ is trying to link them, the wrong functions are
taken. 

Try to use 'gcc' instead of 'g++', this often works. If you get
missing symbols during linking, try 'gcc -lc -lstc++' instead,
(or even 'gcc -lc -lstc++ -lg++', though I havn't used that on jet). 

Also, you could use egcs-1.0.1, or even try out how the freshly
released gcc-2.8.1 works on RH-5.0.

HTH, Martin
-- 
Martin Ostermann                | mailto:ost+sig0@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phone: ++49/241/807917
Germany                         | fax: ++49/241/8888242


  parent reply	other threads:[~1998-03-19 14:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19 13:33 sqrt FPE's and fclose errors Tom Browder
1998-03-19 14:07 ` Tom Browder
1998-03-19 14:30   ` Chris Evans
1998-03-19 15:25     ` Tom Browder
1998-03-19 14:48   ` Tom Browder
1998-03-19 15:53     ` s-sumi
1998-03-19 14:48   ` Martin Ostermann [this message]
1998-03-19 14:58     ` Tom Browder
1998-03-19 18:38   ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox