thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4125) Thrift is not compiling on ARM32: undefined reference to std::string::push_back(char)
Date Wed, 06 Sep 2017 03:25:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James E. King, III updated THRIFT-4125:
---------------------------------------
    Summary: Thrift is not compiling on ARM32: undefined reference to std::string::push_back(char)
 (was: Thrift is not compiling)

> 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
(v6.4.14#64029)

Mime
View raw message