Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to'__emutls_get_address' #30

Closed
xiaohaipeng opened this issue May 8, 2019 · 3 comments
Closed

undefined reference to'__emutls_get_address' #30

xiaohaipeng opened this issue May 8, 2019 · 3 comments

Comments

@xiaohaipeng
Copy link

when i follow build for Android, the last step,i met linking error.

[ 92%] Linking CXX shared library libMNN.so
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/libgomp.h:494: error: undefined reference to '__emutls_get_address'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/libgomp.h:494: error: undefined reference to '__emutls_get_address'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/libgomp.h:494: error: undefined reference to '__emutls_get_address'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgomp/parallel.c:178: error: undefined reference to '__emutls_get_address'
collect2: error: ld returned 1 exit status
CMakeFiles/MNN.dir/build.make:3533: recipe for target 'libMNN.so' failed
make[2]: *** [libMNN.so] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/MNN.dir/all' failed
make[1]: *** [CMakeFiles/MNN.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

how can i fix this???

@xiaohaipeng
Copy link
Author

close openmp,maybe gcc version is too low

@xiefu5hh
Copy link

xiefu5hh commented May 9, 2019

close openmp,maybe gcc version is too low

hi so what gcc version are you use to sloves this problem?

@xiaohaipeng
Copy link
Author

i just close openmp,no update gcc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants