Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 09:21:00 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/astro/libnova Makefile distinfo pkg-plist ports/astro/libnova/files patch-src::misc.c patch-src__utility.c
Message-ID:  <20051010232100.GT1265@k7.mavetju>
In-Reply-To: <1128945556.11253.19.camel@pav.hide.vol.cz>
References:  <200510090113.j991DjRu025038@repoman.freebsd.org> <1128864206.1314.111.camel@ikaros.oook.cz> <20051009133259.GJ1265@k7.mavetju> <1128864923.1314.115.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 10, 2005 at 01:59:16PM +0200, Pav Lucistnik wrote:
> Edwin Groothuis p??e v po 10. 10. 2005 v 21:46 +1000:
> > On Mon, Oct 10, 2005 at 11:31:31AM +0200, Pav Lucistnik wrote:
> > > Edwin Groothuis p??e v po 10. 10. 2005 v 09:07 +1000:
> > > > On Sun, Oct 09, 2005 at 03:35:23PM +0200, Pav Lucistnik wrote:
> > > > > > > mkdir .libs
> > > > > > > cc -pipe -g -Wall -o .libs/libnovaconfig libnova_config.o  ../src/.libs/libnova.so -lm -Wl,--rpath -Wl,/usr/local/lib
> > > > > > > ../src/.libs/libnova.so: undefined reference to `nan'
> > > > > > > *** Error code 1
> > > > > > 
> > > > > > Which OS version?
> > > > > 
> > > > > FreeBSD ikaros.oook.cz 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 30 00:43:08 CEST 2005
> > > > 
> > > > Can you point me to a location of the full build log?
> > > 
> > > Copy and paste from my terminal. But I see kris beaten me on this.
> > 
> > I'm confused, is it resolved now?
> 
> Kris mailed you the log, no?

Yes, overlooked it.

It looks like a GCC 3.3 vs 3.4 issue. If somebody with a 6.x or
higher machine with GCC 3.3 on it can do the following test:

    $ cat a.c
    #include <math.h>
    #include <stdio.h>
    int main(void) {
	printf("%Lf\n",nanl("0"));
	printf("%Lf\n",nanl("1"));
    }
    $ make a
    $ ./a

to see if it works it would make me very happy.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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