[cfe-dev] Unkown C++ abi?

Seth Burleigh seth at tewebs.com
Sat Jun 12 06:50:22 PDT 2010


So im trying to build some simple code but when i run it it gives a seg
fault with the message 'unkown c++ abi' i was able to run it awhile ago,
which makes me believe that when i recompiled llvm + clang i did
something wrong. Any ideas?




 llvm::raw_stdout_ostream ost;
  const DiagnosticOptions options;
  TextDiagnosticPrinter tdp(ost,options);//, dops);
  Diagnostic diag(&tdp);
  LangOptions lang;
  SourceManager sm(diag);
  FileManager fm;
  TargetOptions target_options;
  printf(LLVM_HOSTTRIPLE);
  target_options.Triple = "i686-pc-linux-gnu";//LLVM_HOSTTRIPLE;
  TargetInfo *ti = TargetInfo::CreateTargetInfo(diag,target_options);
  

==>results in
error: unknown C++ ABI ''
i686-pc-linux-gnu
Process  finished







More information about the cfe-dev mailing list