[texlive, FreeBSD 10.x-amd64] build error: _ThreadRuneLocale: TLS definition in /usr/lib/libc.so section .tbss mismatches non-TLS reference in gsftopk.o

Ed Schouten ed at 80386.nl
Sun May 19 07:45:45 UTC 2013


Hi Steve,

2013/5/19 Steve Wills <swills at freebsd.org>:
> I had a similar issue with devel/kBuild recently. It may be due to
> -Dlint getting passed to the build. See this rev:
>
> [...]
>
> which defines _Thread_local as empty when lint is defined. This then
> affects runetype.h:
>
> http://svnweb.freebsd.org/base/head/include/runetype.h?annotate=232498&pathrev=250623#l92
>
> I'm not sure if this is a bug in cdefs.h, runetype.h or things building
> with -Dlint or none of the above. Comments would be appreciated.

This is a bit of a weird issue, which I didn't expect. It seems that
we have various ports that actually *compile* code using -Dlint. I
thought it was only used by tools like xlint, which only process
source code.

I've reverted the change to sys/cdefs.h. Thanks for reporting the issue!

--
Ed Schouten <ed at 80386.nl>


More information about the freebsd-ports mailing list