You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libc version (ldd -v): ldd (Ubuntu EGLIBC 2.19-0ubuntu6.3) 2.19
compiler version (gcc -v/g++ -v/clang -v/clang++ -v):
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
Description of the problem
cooja-loader-factory throws an error "cannot allocate memory in static TLS block" when it attempts to do the dlopen on an .so
Solution
Add these two items to the compile flags for all the user code run under dce:
-ftls-model=initial-exec -pthread
(this is in addition to the other dce compile options like -fPIC)
output of ./waf configure
Steps to reproduce
The text was updated successfully, but these errors were encountered:
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
Description of the problem
cooja-loader-factory throws an error "cannot allocate memory in static TLS block" when it attempts to do the dlopen on an .so
Solution
Add these two items to the compile flags for all the user code run under dce:
-ftls-model=initial-exec -pthread
(this is in addition to the other dce compile options like -fPIC)
output of ./waf configure
Steps to reproduce
The text was updated successfully, but these errors were encountered: