Go to file
kamil 49e3a2363a Add a walkaround for TLS bug in libstdc++ exposed with std::call_once
Currently std::call_once with libstdc++ works only with static linking.
Disable code path using __thread types and introduce FIXME_PR_51139.
Problem discussed in PR 51139

Functional std::call_once is required in LLVM and LLDB codebase.

Example code to test std::call_once:
#include <iostream>
#include <thread>
#include <mutex>
#include <cstdlib>
std::once_flag flag;
int main(int argc, char **argv)
{
        std::call_once(flag, [](){ std::cout << "Simple example: called once\n"; });
        return EXIT_SUCCESS;
}

Sponsored by <The NetBSD Foundation>
2016-12-21 21:55:46 +00:00
bin Handle functions that use the offset from either kinfo_proc2/kinfo_lwp properly. 2016-12-12 20:35:36 +00:00
common Set *endptr in all paths out of strtoul and family. 2016-11-05 21:11:30 +00:00
compat add LIBGCC_MACHINE_ARCH 2016-10-22 20:33:51 +00:00
crypto Mark the new SPARCv9-in-32bit-mode modules as needing V9. 2016-11-03 22:18:29 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib adjust set lists for t_fe_round 2016-12-19 17:38:38 +00:00
doc kernel modules on xen 2016-12-20 14:09:09 +00:00
etc Add regs1 in arch/i386/t_ptrace_wait* 2016-12-13 18:00:10 +00:00
external Add a walkaround for TLS bug in libstdc++ exposed with std::call_once 2016-12-21 21:55:46 +00:00
extsrc Top level reach-over directory for extsrc. 2009-12-01 01:53:46 +00:00
games add a couple 2016-10-14 03:20:04 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include scandir/alphasort take "const struct dirent **" not "const void *" in 2016-12-16 04:45:04 +00:00
lib PR/50228: Christian Groessler: fix bzero(ptr, 0) on ppc. Check for 0 length 2016-12-19 14:30:23 +00:00
libexec Fix sentences at a couple of places. 2016-12-21 09:33:08 +00:00
regress Purge dummy Makefiles 2016-11-24 04:20:10 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin Fix that routed deletes local routes 2016-12-20 03:35:12 +00:00
share wildcard obj dirs 2016-12-21 03:13:00 +00:00
sys really keep request queued after resource shortage 2016-12-21 21:28:30 +00:00
tests Enable DEBUG to see what happened on babylon5 2016-12-21 09:46:39 +00:00
tools regen 2016-10-19 21:55:26 +00:00
usr.bin Add an xref to wait4(2) in SEE ALSO as it has been referred to for the -l option. 2016-12-21 18:01:21 +00:00
usr.sbin Move information about exit status to its own section. 2016-12-21 17:45:07 +00:00
build.sh add a trailing / to force symlink resolution. 2016-12-18 19:39:05 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING note that the OpenSSL import requires some objdir cleanup 2016-10-14 16:39:05 +00:00