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]
Other format: [Raw text]

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;
}


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