You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Jung (JIRA)" <ji...@apache.org> on 2018/09/18 21:37:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16619760#comment-16619760 ] 

David Jung commented on THRIFT-4125:
------------------------------------

Probably not an ARM32 issue specifically, as I successfully built 0.11.0 on an ARMhf (32bit) platform running Debian 9.  All the pre-requisites were installed directly from the standard repositories.  I only built the language clients for cpp, csharp/netcore and java though.

> 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
>            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)