Forums - undefined reference to 'polly_translib_static_loop_start'

3 posts / 0 new
Last post
undefined reference to 'polly_translib_static_loop_start'
mukhtar89
Join Date: 9 Apr 15
Posts: 1
Posted: Mon, 2015-05-25 03:43

When compiling with -fparallel (which is to be coupled with -O2, -O3 or -Ofast), I am running across the following error:

[armeabi-v7a] SharedLibrary  : libbzip2.so
jni/blocksort.c:1068: error: undefined reference to 'polly_translib_static_loop_start'
jni/blocksort.c:897: error: undefined reference to 'polly_translib_static_loop_start'
jni/blocksort.c:243: error: undefined reference to 'polly_translib_static_loop_start'
jni/blocksort.c:297: error: undefined reference to 'polly_translib_static_loop_start'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make.exe: *** [obj/local/armeabi-v7a/libbzip2.so] Error 1
 
Please help me out here. I believe that there is an error in reference, which might have something to do with these files:
libclang_rt.translib32.a
libclang_rt.translib64.a
  • Up0
  • Down0
mustermaxmueller
Join Date: 3 Jun 14
Posts: 3
Posted: Thu, 2015-06-18 08:44

try linking with:

toolchainpath := llvm-Snapdragon_LLVM_for_Android_3.6/prebuilt/linux-x86_64/lib/clang/3.6.0/lib/linux-propri_rt/

-L $(toolchainpath) -l clang_rt.translib32

  • Up0
  • Down0
Mandeep
Join Date: 19 Jun 13
Posts: 6
Posted: Thu, 2015-06-18 11:08

Can you please post the entire command line so that I can reproduce the issue?

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.