cvs commit: ports/astro/libnova Makefile distinfo pkg-plist
ports/astro/libnova/files patch-src::misc.c patch-src__utility.c
Michael Landin Hostbaek
mich at FreeBSD.org
Tue Oct 11 01:26:31 PDT 2005
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 <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.
mich at 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 at mich ~/code> cat a.c
#include <math.h>
#include <stdio.h>
int main(void) {
printf("%Lf\n",nanl("0"));
printf("%Lf\n",nanl("1"));
}
mich at 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 at mich ~/code> uname -a
FreeBSD mich 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Sep 8 20:08:46
CEST 2005 root at mich:/usr/obj/usr/src/sys/S7010-1 i386
/mich
More information about the cvs-ports
mailing list