ldc-developers/ldc — Issue #83: ld problem "non-TLS definition"
Author: bioinfornatics
Created: 2012-02-23 21:20:47+00:00
State: open

$ gcc -shared -Wl,-soname,libtango-ldc.so.2.0 -o libtango-ldc.so.2.0 $(find objs/ -iname "*.pic.o")
[jonathan@jonathan Tango-D2]$ ls
build doc libtango-ldc.so.2.0 import lib LICENSE.txt objs plain_documentation porting_guidelines

$ ldc2 -shared -soname tango.so.2.1 -of libtango.so.2.1 $(find objs/ -iname "*.pic.o")
/usr/bin/ld: FE_DFL_ENV: TLS definition in /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libphobos-ldc.so section .tdata mismatches non-TLS definition in objs/tango/stdc/fenv.pic.o section .data
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libphobos-ldc.so: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
Error: linking failed:
status: 1