swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The glibc math bug. Not on my P-166 system!


From: Sven N. Thommesen
Subject: Re: The glibc math bug. Not on my P-166 system!
Date: Tue, 14 Jul 1998 23:41:17 -0500

At 07:50 PM 7/14/98 -0700, you wrote:
>>>>>> "ST" == Sven N Thommesen <address@hidden> writes:
>
>ST> so anyone running 5.1 should be in the clear.
>
>If this is so, and you are using egcs-1.0.3a (gcc-2.8.1 crashes compiling
>Swarm with the pow inline), then no change should be needed. 
>
>1. If you re-configure like so:
>
>$ export SWARMHOME=/someplace
>$ CC=egcs ./configure --prefix=$SWARMHOME  [[appropriate --with flags]]
>
>(and also with LIBS=-lpthread, if your compiler is configured to use that)
>
>2. Then re-make:
>
>$ make
>
>3. Then re-install:
>
>$ make install
>
>4. Then re-build GraphLib-1.2:
>
>$ cd /src/GraphLib-1.2
>$ make CFLAGS="-g -O2 -fno-inline"
>
>5. Then build DynamicGraph:
>
>$ cd /src/DynamicGraph-1.2
>$ make
>
>Then `boingGraph' in dynamicGraph should work.  No?
>If not, back up to #4 but substitute "CFLAGS=-g".

Exactly. Been there, done that. 

Since the app works with zero optimization, but *not* *with* optimization
(unless pow() is replaced with sqrt()), then I conclude that something is
still amiss, at least on my system. Anyone else?

--Sven


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]