Displaying 3 results from an estimated 3 matches for "lthunk8".
2006 Sep 16
1
[LLVMdev] cpp program linking error
...code like this:
#include <iostream>
using std::cout;
using std::endl;
int main()
{
cout << "Hello" << endl;
}
$llvm-g++ hello.cc -o hello
/developer/zsth/llvm-gcc/install/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/../../..
/libstdc++.so:undefined reference to 'A_::LTHUNK8'
/developer/zsth/llvm-gcc/install/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/../../..
/libstdc++.so:undefined reference to 'A_::LTHUNK11'
/developer/zsth/llvm-gcc/install/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/../../..
/libstdc++.so:undefined reference to 'A_::LTHUNK0'
/developer/zs...
2006 Mar 17
0
[LLVMdev] Re: Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
...When building a trivial program
#include <iostream>
int main()
{
std::cout << "hi\n";
return 0;
}
I get this:
$ llvm-g++ a.cpp
/space/p2/ghost/build/llvm-frontend/install/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../libstdc++.so:undefined
reference to `A_::LTHUNK8'
/space/p2/ghost/build/llvm-frontend/install/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../libstdc++.so:undefined
reference to `A_::LTHUNK11'
........
/space/p2/ghost/build/llvm-frontend/install/lib/gcc/i686-pc-linux-gnu/4.0.1/../../../libstdc++.so:undefined
reference to `std::basic_istream<c...
2006 Mar 16
2
[LLVMdev] Re: Re: Re: Re: Re: New GCC4-based C/C++/ObjC front-end for LLVM
On Thu, 16 Mar 2006, Vladimir Prus wrote:
> Ah, hell, as soon as I've send this email I've updated from CVS to find that
> the issue was fixed by Jim several hours after I reported the crash, by
> making MachineDebugInfo don't check for empty name of type.
:)
> Here's what I get now:
>
>