[Bug 235751] Failure to init TLS variables with func ptr inside shared lib

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Jan 2025 00:38:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235751

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #7 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Dennis Clarke from comment #6)
Works for me on amd64 stable/14:
solo% LD_LIBRARY_PATH=. ./foo 1 2 3; echo $?
4

Base clang 19.1.4, but I suspect it should not matter.  And indeed same result
when the test dso and program are compiled with gcc 14.2.

Also worked for i386 (-m32).

-- 
You are receiving this mail because:
You are the assignee for the bug.