This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__trunctfsf2 unresolved on alphaev56-dec-osf5.0


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]