[m-rev.] for review: TLS and --no-undefined

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Aug 4 14:11:15 AEST 2006


On Fri, 4 Aug 2006, Peter Wang wrote:

> This shows up on saturn now that shared libraries are enabled on x86-64.
> See also http://gcc.gnu.org/ml/gcc/2006-06/msg00493.html
>
>
> Estimated hours taken: 0.5
> Branches: main
>
> configure.in:
> 	Check that the `--no-undefined' linker option is compatible with
> 	thread-local storage.  If not, disable use of that option.  In older
> 	glibc versions, a reference to a thread-local variable results in a
> 	reference to an undefined symbol `__tls_get_addr'.

Thanks for that.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list