[18106] in Athena Bugs
linux 8.4.9: gcc
daemon@ATHENA.MIT.EDU (Bharath Kumar Krishnan)
Sun Aug 6 22:31:51 2000
Message-Id: <200008070231.WAA27599@w20-575-39.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 06 Aug 2000 22:31:44 -0400
From: Bharath Kumar Krishnan <bharath@MIT.EDU>
System name: w20-575-39.mit.edu
Type and version: i686 8.4.9
Display type:
Shell: /bin/athena/tcsh
Window manager: wmx
What were you trying to do?
Compiling a C++ program
What's wrong:
gcc in the gnu locker seems broken on linux
What should have happened:
/mit/gnu/arch/i386_linux22/bin/gcc should have worked.
Gives the following error:
undefined reference to `istream::seekg(long long, ios::seek_dir)
%/mit/gnu/arch/i386_linux22/bin/gcc -v
gives
Reading specs from /mit/gnu/arch/i386_linux3/lib/gcc-lib/i586-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
Same code works on Sun workstations
Same code works if the default RedHat6.2 gcc is used
/usr/bin/gcc -v gives
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
and code compiles fine.
Please describe any relevant documentation references:
[Please replace this line with your information.]