Commit Graph

24 Commits (master)

Author SHA1 Message Date
klzgrad 11c798a989 Lower Windows SDK requirement
until github installs newer windows sdk
2026-09-25 09:05:57 +08:00
klzgrad 4cf000cdb0 Support debug build 2026-09-25 09:05:57 +08:00
klzgrad d403f187b1 musl: allocator: Disable ifunc on aarch64 2026-09-25 09:05:57 +08:00
klzgrad 70cec9ece9 musl: allocator: Disable memory tagging 2026-09-25 09:05:57 +08:00
klzgrad ae603dccd6 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-25 09:05:57 +08:00
klzgrad be844938f0 musl: allocator: Fix __THROW and mallinfo 2026-09-25 09:05:57 +08:00
klzgrad d1af5b18e5 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-25 09:05:57 +08:00
klzgrad 66383006df musl: base: Don't use memfd when unavailable 2026-09-25 09:05:57 +08:00
klzgrad 083c1b32ef musl: base: Fix stack trace printing 2026-09-25 09:05:57 +08:00
klzgrad 07fdaf242c musl: base: Remove use of mallinfo 2026-09-25 09:05:56 +08:00
klzgrad dd0a6694fe openwrt: base: Disable lock-free assert on ARMv6 2026-09-25 09:05:56 +08:00
klzgrad 1b6f97a8db 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-25 09:05:56 +08:00
klzgrad 29ead6136c openwrt: base: Fix broken overloading of libc close in static build 2026-09-25 09:05:56 +08:00
klzgrad d1ca193cf1 mipsel: base: Disable lockfree assert 2026-09-25 09:05:56 +08:00
klzgrad ba7fa6f32e mipsel: allocator: Disable musttail compile error 2026-09-25 09:05:56 +08:00
klzgrad 1f332274db mipsel: allocator: Fix mipsel build config 2026-09-25 09:05:56 +08:00
klzgrad 30e573a23f macos: allocator: Disable double registration check 2026-09-25 09:05:56 +08:00
klzgrad 3435ba3049 base: Fix build for CPU yield 2026-09-25 09:05:55 +08:00
klzgrad c6026a38e4 base: Don't fix Y2038 problem with icu 2026-09-25 09:05:55 +08:00
klzgrad 5e20f93424 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-24 08:04:25 +08:00
klzgrad 47feb56f19 android: base: Add Android stubs 2026-09-24 08:04:25 +08:00
klzgrad c2546efb06 base: Remove Rust 2026-09-24 08:04:25 +08:00
klzgrad 7d192bbd28 build: Remove tests and minimize 2026-09-24 08:04:25 +08:00
importer f44a65df49 Import chromium-154.0.8037.49 2026-09-24 08:04:25 +08:00