Commit a11240b
committed
boards: native_sim: Workaround race condition in glibc
Explicitly link with libgcc_s to work around a race condition
in glibc when dynamically loading libgcc_s in multiple threads.
The race condition was observed when running native_sim with
CONFIG_REBOOT=y and CONFIG_NATIVE_SIM_REBOOT=y and rebooting quickly
from main().
Signed-off-by: Tim Pambor <[email protected]>1 parent 335e1c2 commit a11240b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments