[cairo] Compilation error "undefined reference to `___tls_get_addr'"

Victor Engmark victor.engmark at gmail.com
Tue Feb 22 03:29:58 PST 2011


Hi guys,

I'm trying to create a pixman 0.20.2 package on an old platform, but I
get the following output during the compile phase:

 CCLD   a1-trap-test
../pixman/.libs/libpixman-1.so: undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
make[3]: *** [a1-trap-test] Error 1

Maybe it's related to
<http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=319067>, but I
can't tell since it seems to be Gentoo specific.

The only configuration option was `--prefix=/some/path` for packaging
purposes. Do I have to add some option to disable some modern
functionality? If that is the case, it would be nice if the
configuration phase would fail on such platforms.

$ ld --version
GNU ld version 2.16.1
$ cc --version
cc (GCC) 3.4.4
$ make --version
GNU Make 3.81

-- 
Victor Engmark


More information about the cairo mailing list