You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/27 15:52:00 UTC
[jira] [Closed] (THRIFT-4125) Thrift is not compiling on ARM32:
undefined reference to std::string::push_back(char)
[ https://issues.apache.org/jira/browse/THRIFT-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III closed THRIFT-4125.
-------------------------------------
Resolution: Incomplete
Assignee: James E. King III
Not enough information to go on here; the full build output is not there so we don't know what the link options were, etc. If this is still a problem please reopen and provide more info.
> Thrift is not compiling on ARM32: undefined reference to std::string::push_back(char)
> -------------------------------------------------------------------------------------
>
> Key: THRIFT-4125
> URL: https://issues.apache.org/jira/browse/THRIFT-4125
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (General)
> Affects Versions: 0.11.0
> Environment: Version 6582757752e62efea3f9786dddf0260efaa1f450
> ARM32
> arm-linux-androideabi/4.9
> android
> Reporter: Gonzalo Aguilar
> Assignee: James E. King III
> Priority: Critical
>
> 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.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)