Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2025 00:38:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235751] Failure to init TLS variables with func ptr inside shared lib
Message-ID:  <bug-235751-227-PXG7QQT0fY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235751-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235751-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235751

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=3D. ./foo 1 2 3; echo $?
4

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

Also worked for i386 (-m32).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235751-227-PXG7QQT0fY>