"Section .tbss mismatches non-TLS reference" - what??

Dejan Lekic dejan.lekic at tiscali.co.uk
Wed Oct 19 09:40:27 PDT 2011


Hello everybody - any idea why am I getting this error?
I successfully compiled this library few months ago, not it fails to 
build... :(

----------------------- 8< -------------------------------------- begin
dejan at mrak ~/prj/d/dcurses-backup
$ make
gcc obj/Debug/dcurses.o obj/Debug/dl_c_curses_curses.o 
obj/Debug/dl_c_curses_panel.o -o bin/Debug/dcurses -lncurses -lphobos2 
-lpthread -lm
/usr/bin/ld: stdscr: TLS definition in obj/Debug/dl_c_curses_curses.o 
section .tbss mismatches non-TLS reference in /lib64/libncurses.so.5
/lib64/libncurses.so.5: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [bin/Debug/dcurses] Error 1
------------------------------------------ >8 ------------------- end

/lib64/libncurses.so.5 is absolutely fine (it is a symlink to 
libncurses.so.5.8) - many applications on my Fedora 15 box are linked 
against it - they all work nicely. :)



More information about the Digitalmars-d mailing list