https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221337

--- Comment #2 from Konstantin Belousov <[email protected]> ---
(In reply to Dimitry Andric from comment #1)
Module tls is allocated in rtld.c:allocate_module_tls().  We use the requested
alignment of the TLS initialization segment as the guaranteed alignment value.

There are several possibilities how something might not get aligned:
1. The segment has inappropriate alignment requirement, check with readelf.
2. The symbol inside the TLS segment is unaligned, so the segment alignment
does not help.  Again, check with readelf.
3. The allocate_module_tls() is buggy. Probably check this last, by inserting
rtld_printf() into rtld code.

I would bet that the cause is either 1 or 2, esp. because this sounds like a
deja vu, isn't it ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to