Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4125

Thrift is not compiling on ARM32: undefined reference to std::string::push_back(char)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Compiler (General)
    • Labels:
      None
    • Environment:

      Version 6582757752e62efea3f9786dddf0260efaa1f450
      ARM32
      arm-linux-androideabi/4.9
      android

      Description

      It seems that thrift is not compiling on ARM32 target. I don't know if for others still doesn't work.

      This was working few weeks before so someone broke it.

      const&, std::string const&): error: undefined reference to 'std::basic_ios<char, std::char_traits<char> >::fail() const'
      src/thrift/generate/thrift-t_generator.o:t_generator.cc:function t_generator::generate_docstring_comment(std::ostream&, std::string const&, std::string const&, std::string const&, std::string const&): error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'
      src/thrift/generate/thrift-t_generator.o:t_generator.cc:typeinfo for t_generator: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
      /tmp/ndk-build/android-toolchain-arm/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
      src/thrift/libparse.a(thrift_libparse_a-thriftl.o):thriftl.cc:function yylex: error: undefined reference to 'std::string::push_back(char)'
      collect2: error: ld returned 1 exit status
      Makefile:1170: fallo en las instrucciones para el objetivo 'thrift'
      make[3]: *** [thrift] Error 1
      

        Attachments

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              gad Gonzalo Aguilar
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: