From owner-cvs-all@FreeBSD.ORG Tue Oct 11 08:26:31 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CAE316A42A; Tue, 11 Oct 2005 08:26:31 +0000 (GMT) (envelope-from mich@FreeBSD.org) Received: from mail2.itxmarket.com (fw.itxmarket.com [213.11.40.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DF6843D45; Tue, 11 Oct 2005 08:26:29 +0000 (GMT) (envelope-from mich@FreeBSD.org) Received: from icommerce.fr (mich2.itxmarket.com [192.168.2.26]) by mail2.itxmarket.com (Postfix) with ESMTP id EB8051C08A5; Tue, 11 Oct 2005 10:26:28 +0200 (CEST) Received: by icommerce.fr (Postfix, from userid 1001) id BC95B22836; Tue, 11 Oct 2005 10:26:28 +0200 (CEST) Date: Tue, 11 Oct 2005 10:26:28 +0200 From: Michael Landin Hostbaek To: Edwin Groothuis Message-ID: <20051011082628.GR12970@mich2.itxmarket.com> Mail-Followup-To: Michael Landin Hostbaek , Edwin Groothuis , Pav Lucistnik , ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org References: <200510090113.j991DjRu025038@repoman.freebsd.org> <1128864206.1314.111.camel@ikaros.oook.cz> <20051009133259.GJ1265@k7.mavetju> <1128864923.1314.115.camel@ikaros.oook.cz> <20051010232100.GT1265@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051010232100.GT1265@k7.mavetju> X-Operating-System: FreeBSD 5.4-STABLE i386 X-PGP-Key: http://www.freebsdcluster.org/~mich/ User-Agent: Mutt/1.5.11 Cc: cvs-ports@FreeBSD.org, Pav Lucistnik , 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Oct 2005 08:26:31 -0000 Edwin Groothuis (edwin) writes: > 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 > #include > 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. mich@mich ~/code> gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.4 [FreeBSD] 20050518 mich@mich ~/code> cat a.c #include #include int main(void) { printf("%Lf\n",nanl("0")); printf("%Lf\n",nanl("1")); } mich@mich ~/code> make a cc -O2 -fno-strict-aliasing -pipe a.c -o a /var/tmp//ccTGNJYp.o(.text+0x12): In function `main': : undefined reference to `nanl' /var/tmp//ccTGNJYp.o(.text+0x2b): In function `main': : undefined reference to `nanl' *** Error code 1 Stop in /usr/home/mich/code. zsh: 16873 exit 1 make a mich@mich ~/code> uname -a FreeBSD mich 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Sep 8 20:08:46 CEST 2005 root@mich:/usr/obj/usr/src/sys/S7010-1 i386 /mich