Rui Ueyama
8497b7e1dc
Upgrade OneTBB in ./third-party to version 2021.13.0
2024-07-11 15:38:18 +09:00
Rui Ueyama
c65121a370
Revert "Upgrade OneTBB in ./third-party to version 2021.12.0"
...
This reverts commit ddc63ba9b2
because it
broke macOS build.
2024-04-19 14:31:27 +09:00
Rui Ueyama
ddc63ba9b2
Upgrade OneTBB in ./third-party to version 2021.12.0
2024-04-19 12:28:54 +09:00
Rui Ueyama
72eb180028
Upgrade OneTBB to version 2021.11.0
2023-12-02 12:34:16 +09:00
Rui Ueyama
c983321fed
Upgrade the bundled OneTBB to v2021.10.0
2023-08-16 21:06:41 +09:00
Rui Ueyama
1b1a142a89
Upgrade bundled OneTBB to version 2021.9.0
2023-06-29 12:21:58 +09:00
Rui Ueyama
e011889436
Fix build on systems without ucontext.h in libc
...
Upstream patch:
ea4e6156a2
2023-06-05 11:52:56 +09:00
Rui Ueyama
a67e9f54f8
Attempt to unbreak CI
2022-11-12 13:51:48 +08:00
Rui Ueyama
63933a9221
Retry if pthread_create fails with spurious error
...
137c1a88b6
is not included in 2021.7.0, so we still need to apply it separately.
2022-11-10 17:54:25 +08:00
Rui Ueyama
e25802f84f
Upgrade vendored OneTBB to version 2021.7.0
...
Fixes https://github.com/rui314/mold/issues/666
2022-11-10 17:42:51 +08:00
Rui Ueyama
807af97a4b
Revert "wip" which was made by mistake
2022-09-04 15:46:46 +08:00
Rui Ueyama
ff0679f7b8
wip
2022-09-04 15:03:03 +08:00
Rui Ueyama
a817f8d576
Enable mold to be built under BSDs
...
This commit is imported from
c4a42feb53
Fixes https://github.com/rui314/mold/issues/549
2022-08-20 08:54:17 +08:00
Christoph Erhardt
4af6ff614c
Reorder segment_table
member variables in bundled TBB library
...
This fixes a warning produced by GCC 12 related to the initialisation
order of the class members.
For details, see the discussion at
https://github.com/oneapi-src/oneTBB/issues/823 . The concern about
potential ABI incompatibility is not relevant for a private bundled
library.
Signed-off-by: Christoph Erhardt <github@sicherha.de>
2022-07-04 08:05:52 +02:00
Rui Ueyama
610e839e9e
Fix ASAN issue
2022-06-15 13:12:09 +08:00
Rui Ueyama
d8a8877875
Retry if pthread_create returns EAGAIN
...
Looks like on many Unix-like systems, `pthread_create` can spuriously
fail for various reasons even if we have enough resources one more
thread. So we need to retry if EAGAIN is returned.
Without this, mold occasionally fails due to a pthread_create failure.
I'll test this logic for a while in this repo and upstream to OneTBB.
This logic is borrowed from Go's this patch:
https://go-review.googlesource.com/c/go/+/33894/
https://github.com/rui314/mold/issues/353
https://github.com/rui314/mold/issues/410
2022-05-07 19:04:48 +08:00
Rui Ueyama
42b7eb87a1
Fix libtbb.so for musl libc
...
musl libc doesn't provide getcontext/setcontext functions.
It also doesn't define RTLD_DEEPBIND flag.
I already sent a pull request to upstream:
https://github.com/oneapi-src/oneTBB/pull/748
2022-01-24 11:22:35 +09:00
Rui Ueyama
a27c113d35
Attempt to fix i386 host build
...
This change cherrypicks
542a27fa1c
https://github.com/rui314/mold/issues/240
2022-01-07 10:09:34 +09:00
Moon Sungjoon
3fb54162d6
Fix build error on riscv64 ( #222 )
...
Patch from this PR: https://github.com/oneapi-src/oneTBB/pull/550
Signed-off-by: Moon Sungjoon <sumoon@seoulsaram.org>
2022-01-03 16:06:02 +09:00
Rui Ueyama
fea59750ed
Do not use LTO to build oneTBB as it causes link failure
2022-01-02 12:52:01 +09:00
Rui Ueyama
fba4cb9114
Merge commit 'b82badd127f38f4fea6a4f1c0ec22900dd9dd8e3' as 'third-party/tbb'
2022-01-02 12:51:35 +09:00
Rui Ueyama
d3dc8a2377
Temporarily remove oneTBB to upgrade to v2021.5.0
2022-01-02 12:51:29 +09:00
Rui Ueyama
177dc71335
Move third-party libraries to a separate sub-directory
2021-09-02 22:19:09 +09:00