This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
x86_64: undefined reference to `typeinfo for __int128'
- From: Ryszard Kabatek <ryszard dot kabatek at softax dot pl>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jul 2011 15:47:18 +0200
- Subject: x86_64: undefined reference to `typeinfo for __int128'
Hello,
a compilation of the code below succeeds, but the linking fails with the
message:
undefined reference to `typeinfo for __int128'
Tested with (I got the same error with older versions of GCC):
gcc version 4.4.5 (Debian 4.4.5-8)
Regards,
RK
// x.cxx
#include <iostream>
#include <typeinfo>
using namespace std;
int main()
{
cout << typeid(__int128_t).name() << endl;
return 0;
}