Commit Graph

24 Commits (master)

Author SHA1 Message Date
klzgrad 8b73a5b69a Lower Windows SDK requirement
until github installs newer windows sdk
2026-09-14 22:15:05 +08:00
klzgrad 4232d9e3ca Support debug build 2026-09-14 22:15:05 +08:00
klzgrad 25ad750d48 musl: allocator: Disable ifunc on aarch64 2026-09-13 15:17:09 +08:00
klzgrad 275d903196 musl: allocator: Disable memory tagging 2026-09-13 15:17:09 +08:00
klzgrad 30cf466e84 musl: allocator: Avoid deadlock in pthread_atfork
Musl 1.2.3 and before call malloc() in pthread_atfork(),
which may result in a deadlock:

    PartitionRoot::EnableThreadCacheIfSupported()
      ::partition_alloc::internal::ScopedGuard guard{lock_};
      ThreadCache::Create(this);
        ThreadCache::ThreadCache()
          PlatformThread::CurrentId()
            InitAtFork::InitAtFork()
              pthread_atfork()
                malloc()
                  ShimMalloc()
                    PartitionAllocFunctionsInternal::Malloc()
                      PartitionRoot::AllocInternal()
                        PartitionRoot::AllocInternalNoHooks()
                          PartitionRoot::RawAlloc()
                            ::partition_alloc::internal::ScopedGuard guard{internal::PartitionRootLock(this)};
2026-09-13 15:17:09 +08:00
klzgrad 2851733818 musl: allocator: Fix __THROW and mallinfo 2026-09-13 15:17:09 +08:00
klzgrad 8a3f35ae17 musl: base: Work around thread_local breakage in musl 1.1.19
The bitmask field is corrupted in musl 1.1.19 and fixed in 1.1.24.

This workaround makes it work even for old OpenWrt 18.06.

These virtual methods are for test only and it's harmless to remove it.
2026-09-13 15:17:09 +08:00
klzgrad d5289b085a musl: base: Don't use memfd when unavailable 2026-09-13 15:17:09 +08:00
klzgrad 3f73db18f4 musl: base: Fix stack trace printing 2026-09-13 15:17:08 +08:00
klzgrad 0674418520 musl: base: Remove use of mallinfo 2026-09-13 15:17:08 +08:00
klzgrad dfd49d92ed openwrt: base: Disable lock-free assert on ARMv6 2026-09-13 15:17:08 +08:00
klzgrad 8449e1bf12 openwrt: allocator: Fix recommitted pages not being zeroed when madvise is not available.
Support kernels built without CONFIG_ADVISE_SYSCALLS on small
embedded devices.
2026-09-13 15:17:08 +08:00
klzgrad c4afd230e0 openwrt: base: Fix broken overloading of libc close in static build 2026-09-13 15:17:08 +08:00
klzgrad fb1fac28a1 mipsel: base: Disable lockfree assert 2026-09-13 15:17:08 +08:00
klzgrad 0c874f4231 mipsel: allocator: Disable musttail compile error 2026-09-13 15:17:08 +08:00
klzgrad 966417bd48 mipsel: allocator: Fix mipsel build config 2026-09-13 15:17:08 +08:00
klzgrad 58efb2b04b macos: allocator: Disable double registration check 2026-09-13 15:17:08 +08:00
klzgrad b17532fd76 base: Fix build for CPU yield 2026-09-13 04:12:39 +08:00
klzgrad 9150bb94f0 base: Don't fix Y2038 problem with icu 2026-09-13 04:12:39 +08:00
klzgrad 729eace100 android: base: Fix build adding extra -latomic
We don't use use_sysroot=true, but without it -latomic is added
to is_android.
2026-09-13 04:12:39 +08:00
klzgrad b0e35fcac7 android: base: Add Android stubs 2026-09-13 04:12:38 +08:00
klzgrad 6aa47e4d36 base: Remove Rust 2026-09-13 04:12:38 +08:00
klzgrad ced8e0eaec build: Remove tests and minimize 2026-09-12 02:15:39 +08:00
importer f9ec98912a Import chromium-154.0.8037.9 2026-09-11 23:47:22 +08:00