Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2019 12:45:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241905] SSP setup is not thread-safe ?
Message-ID:  <bug-241905-227-Voxp6QiReo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241905-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> ---
What is the object that contains constructors creating the threads ?  Rtld runs
user initializers in the reverse-dep order, i.e. the libraries not having
dependencies are initialized first, then libs that directly depend on already
initialized libraries, and the main object is processed last.

libc normally must be linked as the dependency for everything, so it naturally
appears at the root of the dependency graph and initialized first.  If not, it
probably means that the build system underlinks.

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

help

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