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
Error: lazy symbol binding failed: Symbol not found: ___emutls_get_address #8217
Comments
@sshepel Which versions of GCC and Xcode are we building with these days? |
@saudet for release and generic builds we have:
|
@arshtepe can you share the code you're running? I've been running examples before release, they were running fine. Just ran examples right now - still running fine. Tried lenet example, and some basic lstm/dense examples. No issues as well. |
@sshepel And the version of Xcode? |
@saudet Xcode version: 8.3.3 |
GCC 8.x was released beginning of 2018: https://www.gnu.org/software/gcc/releases.html |
@saudet sure, will do that ASAP. |
Ok, Xcode has been updated to version 9.2.0. Snapshots are on the way! |
@sshepel okey, I will let you know, thanks :) |
I have the same problem. code: import org.nd4s.Implicits._
val arr = (1 to 9).toNDArray(3,3)
println(arr) output:
system env: Mac OSX 10.14.6
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 10.3.0.0.1.1562985497
volume: /
location: /
install-time: 1563950915
groups: com.apple.FindSystemFiles.pkg-group
$ cmake --version
cmake version 3.14.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin I hope this would help. |
at this moment I'm not sure why it's reproducible for you, but we suppose that's an issue related to thread_local storage specifier, so I've disabled it for macos now. once snapshots rebuilt please try again |
@raver119 I can't update to snapshot, it is loading infinitely
this way doesn't work too
|
It looks like sonatype has some problems atm, we've noticed similar problems here as well |
now I have new error ,
|
@saudet any ideas why it still tries to load libmkldnn?
|
p.s. @AlexDBlack tried to run latest snapshot on windows and it runs fine for him. |
The artifacts are probably just not up-to-date.. |
i have same problem when try run org.deeplearning4j.examples.convolution.AnimalsClassification |
This problem is probably caused by the upgrade to GCC 8.3. |
|
It's help me. Thanks! |
In case it is helpful I have created a simple test repo which shows this issue. After running |
Yeah, the snapshots are currently broken, unfortunately. It may take a couple of weeks to get things running well again. |
That's understandable, multi-platform native code can be a real pain! |
Hi All I am new on this, so please forget me for anything that should I know or it should be given for granted. Look, I have been using a model for quite a while and since i upgraded to Catalina, I have been issues with all the models including the test demo. I am using now 1.0.0-beta5. I upgraded from Java 8 to Java 12, and avoid core dump problems... however now I am having the following error Message just compiling, any of the demo cases and my model. Please any work around / suggestion is really appreciated. __"/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk dyld: Symbol not found: ___emutls_get_address Process finished with exit code 134 (interrupted by signal 6: SIGABRT) |
@rafmontano Try after running brew install gcc@8. Thank you for your patience! Let us know if you are still running into trouble. |
Hi Susan, Thanks for come back to me. Running Brew Install gcc8 didn't work for me in MacOS Catalina and Java 8. Gave me this error: /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=63118:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb) at pc=0x00007fff674d20b4, pid=38904, tid=0x0000000000000f03JRE version: Java(TM) SE Runtime Environment (8.0_231-b11) (build 1.8.0_231-b11)Java VM: Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode bsd-amd64 compressed oops)Problematic frame:C [libc++abi.dylib+0x30b4] __cxxabiv1::__si_class_type_info::has_unambiguous_public_base(__cxxabiv1::__dynamic_cast_info*, void*, int) const+0x4Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java againAn error report file with more information is saved as:/Users/Rafa/Dropbox/DeepLearning4j/NewProjects/1.0.0-beta4/dl4j-examples-predict/hs_err_pid38904.logIf you would like to submit a bug report, please visit:http://bugreport.java.com/bugreport/crash.jspThe crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug.Process finished with exit code 134 (interrupted by signal 6: SIGABRT) I have 2 machines, I managed to roll back 1 to MacOS Mojave (it was not that easy), and now i have the model operational in that one. Please I have a questions, Which Version of Java do you recommend? I upgraded in the rush of the moment to java 12 (from 8), to see if that solve the problem and solve it that one, however that caused the lazy symbol issue on this post, which in MacOS Catalina I have not managed to pass. |
This helped solve my problem! Thanks |
Thanks Sabarishs,I have managed to run my model. Moving to Java 11 and running brew install gcc@8, solved the problem. |
AFAIK, this issue is resolved now, and updated binaries are available via snapshots. If, for some reason, issue is still reproducible for you - feel free to reopen this issue, or file a new one. |
Hi, I'm running into the same problems. The command "brew install gcc@8" indeed solved it for my Mac, but not for Windows where I run another instance. I have downloaded the latest version (beta5) from Maven Central; it is dated September 6. Where can I get new jars where this error has been fixed? Or do I have to wait for beta6? Thanks! |
@hinsbergen The fix is only available via snapshots at present: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots It will be in the next release of course (1.0.0-beta6), which should be out within 1-2 weeks. |
Issue Description
Please describe our issue, along with:
I have error when run my project in
1.0.0-beta5
, it is working in1.0.0-beta4
Version Information
Please indicate relevant versions, including, if relevant:
Additional Information
Where applicable, please also provide:
The text was updated successfully, but these errors were encountered: