[11974] in Athena Bugs
sun4 7.6r suncc bug
daemon@ATHENA.MIT.EDU (phils@MIT.EDU)
Fri Apr 22 19:35:02 1994
From: phils@MIT.EDU
Date: Fri, 22 Apr 1994 19:34:48 -0400
To: bugs@MIT.EDU
Cc: phils@MIT.EDU
System name: sunra
Type and version: SPARC/Classic 7.6R (1 update(s) to same version)
Display type: cgthree
I can't compile the simplest programs (see below) with the -fast option
with suncc. I get:
% suncc -fast test.c -lm
Undefined first referenced
symbol in file
__cg92_libc (command line)
ld: fatal: Symbol referencing errors. No output written to a.out
/* test.c */
#include <math.h>
main()
{
int i;
for (i=0; i < 100000; i++)
sqrt((double)i);
}