-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
undefined reference to `Halide::Internal::Introspection:: #2532
Comments
Looks like a C++ abi mismatch issue. What g++ version are you using, and how did you acquire or compile Halide? |
I got Halide 2.0 from https://developer.qualcomm.com/software/hexagon-dsp-sdk/tools, and I am using gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) What version is required? Thanks Shiping |
Ah, then it depends on how the qualcomm folks compiled their libHalide. I'm guessing they used an older compiler. I would just checkout and compile Halide from source. |
Seems to me some libraries or headers not properly included in Halide 2.0. Are we going to migrate everything to 2.0? What if I just want to run apps using ARM/Neon inside Qualcomm chip? |
I'll ping one of the qualcomm people @ronlieb |
Thanks, I also tried to communicate with them yesterday. They asked g++ version too. |
We think they need to use g++ 4.8.4 , that is what our Halide 2.0 release is built with , and built on ubuntu 14.04
…---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
From: Andrew Adams [mailto:notifications@github.com]
Sent: Tuesday, November 14, 2017 11:09 AM
To: halide/Halide <Halide@noreply.github.com>
Cc: ronlieb <ronl@codeaurora.org>; Mention <mention@noreply.github.com>
Subject: Re: [halide/Halide] undefined reference to `Halide::Internal::Introspection:: (#2532)
I'll ping one of the qualcomm people @ronlieb <https://github.com/ronlieb>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2532 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/APZMZ5VQmmS_3RZvr_3rqyhjtdYHZHr-ks5s2cc7gaJpZM4QcQ7V> . <https://github.com/notifications/beacon/APZMZ-pWI8RW8rX8_L03ikNYhDw1pW19ks5s2cc7gaJpZM4QcQ7V.gif>
|
This is the dual-ABI thing again. TLDR: compile your code with https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html |
I am using HALIDE_Tools/2.1 now, any idea what g++ version I should use? or is there a solution that does not require the end user using old g++? Thanks |
Sorry, did not read it clearly, using -D _GLIBCXX_USE_CXX11_ABI=0 fixed issue |
I am trying to build HelloeHexagon on Linux Halide 2.0, stuck on below error. No idea on how to proceed, any help?
Thanks
/tmp/ccTtcODD.o: In function
Halide::Internal::check_introspection(void const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)': /home/Halide/include/Halide.h:415: undefined reference to
Halide::Internal::Introspection::get_source_locationabi:cxx11'/home/Halide/include/Halide.h:416: undefined reference to `Halide::Internal::Introspection::get_variable_name(void const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
The text was updated successfully, but these errors were encountered: