TLS definition in /lib/i386-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference 

Joined:
04/07/2009
Posts:
169

February 02, 2013 12:29:56    Last update: February 02, 2013 12:29:56
I got this error while compiling ucspi-tcp. The solution was to move #include <errno.h> from error.c to error.h.

The following also works:
echo gcc -O2 -include /usr/include/errno.h > conf-cc
make


The reason was explained in http://cr.yp.to/docs/unixport.html#errno
Share |
| Comment  | Tags