__trunctfsf2 unresolved on alphaev56-dec-osf5.0

Andrew Hobson ahobson@eng.mindspring.net
Thu Jan 27 19:18:00 GMT 2000


When I try to compile the following code, I get an unresolved
reference.  The same code works fine on alphaev56-dec-osf4.0f with gcc
2.95.2 19991024 (release).

$ cat t.c
int
main(int argc, char *argv[])
{
  long double foo = 1;
  float bar;

  bar = foo;
  return 0;
}
$ gcc -o t t.c
/usr/bin/ld:
Unresolved:
__trunctfsf2
collect2: ld returned 1 exit status
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/alphaev56-dec-osf5.0/2.96/specs
gcc version 2.96 20000127 (experimental)
$ sizer -v
Digital UNIX V5.0 (Rev. 910); Tue Oct 12 19:18:06 EDT 1999


Drew


More information about the Gcc-bugs mailing list