NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting undefined reference to ___tls_get_addr when building packages on netbsd-5.2/i386



Kamil Rytarowski <kamil%netbsd.org@localhost> writes:

> ___tls_get_addr is delivered on i386 in /usr/libexec/ld.elf_so and on
> amd64 in /usr/libexec/ld.elf_so-i386

ld.elf-so-i386 doesn't exist on netbsd-5.

> What's the situation with this symbol in NetBSD-5.2 is unknown to me.

Thread-local storage was proudly announced as new in NetBSD 6.0 in
October of 2012:
  https://netbsd.org/releases/formal-6/NetBSD-6.0.html

I'm sometimes trailing edge, but if you have a NetBSD 5 system, it's
been unsupported since 2015-09, and well past time to update.  I keep an
image around for portability testing of a few upstream packages (e.g.,
bup) and I can say it's been getting harder and harder to build things
on it.

I have found that 8 and 9 both work well, and I encourage you to
upgrade.



Home | Main Index | Thread Index | Old Index