[LLVMbugs] [Bug 6550] linker error for std::istream::seekg

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 15 05:30:29 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=6550

Jonas Bülow <jbulow-llvm at jongel.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |jbulow-llvm at jongel.net
         Resolution|FIXED                       |

--- Comment #8 from Jonas Bülow <jbulow-llvm at jongel.net> 2011-02-15 07:30:28 CST ---
I can reproduce this problem on clang/llvm as of today (trunk 125563):

$ clang++ -v
clang version 2.9 (trunk 125563)
Target: i386-pc-linux-gnu
Thread model: posix

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

$ uname -a
Linux jonasbu-linux 2.6.35-23-generic-pae #41-Ubuntu SMP Wed Nov 24 10:35:46
UTC 2010 i686 GNU/Linux

$ clang++ -o test test.cc
/tmp/cc-tW5koo.o: In function `main':
test.cc:(.text+0x9c): undefined reference to `std::istream::seekg(long,
std::_Ios_Seekdir)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list