Commit Graph

20 Commits (master)

Author SHA1 Message Date
klzgrad 047c0bde98 Support debug build 2025-05-27 22:57:38 +08:00
klzgrad 7bef5ce09e musl: allocator: Disable ifunc on aarch64 2025-05-27 22:57:38 +08:00
klzgrad dab9268a27 musl: allocator: Disable memory tagging 2025-05-27 22:57:38 +08:00
klzgrad af3f637869 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)};
2025-05-27 22:57:38 +08:00
klzgrad 571923207b musl: allocator: Fix __THROW and mallinfo 2025-05-27 22:57:38 +08:00
klzgrad d94c164109 musl: base: Fix stack trace printing 2025-05-27 22:57:38 +08:00
klzgrad 56ee09f800 musl: base: Remove use of mallinfo 2025-05-27 22:57:38 +08:00
klzgrad d8d1431b1a openwrt: base: Disable lock-free assert on ARMv6 2025-05-27 22:23:19 +08:00
klzgrad ad583f4666 openwrt: allocator: Fix recommitted pages not being zeroed when madvise is not available.
Support kernels built without CONFIG_ADVISE_SYSCALLS on small
embedded devices.
2025-05-27 22:23:19 +08:00
klzgrad 3364e67e31 openwrt: base: Fix broken overloading of libc close in static build 2025-05-27 22:23:19 +08:00
klzgrad 405ca7819c mipsel: base: Disable lockfree assert 2025-05-27 22:23:19 +08:00
klzgrad 227e063336 mipsel: allocator: Disable musttail compile error 2025-05-27 22:23:19 +08:00
klzgrad bfa135f8d5 mipsel: allocator: Fix mipsel build config 2025-05-27 22:23:19 +08:00
klzgrad ce1795a852 base: Don't fix Y2038 problem with icu 2025-05-27 22:23:19 +08:00
klzgrad efe323355b base, crypto, net: Fix trace stubs 2025-05-27 22:23:19 +08:00
klzgrad 3436bacd9c android: base: Fix build adding extra -latomic
We don't use use_sysroot=true, but without it -latomic is added
to is_android.
2025-05-27 22:23:19 +08:00
klzgrad 9a9cd17a83 android: base: Add Android stubs 2025-05-27 22:23:19 +08:00
klzgrad d1acca080b base: Remove Rust 2025-05-27 19:41:48 +08:00
klzgrad 8aa9e56d96 build: Remove tests and minimize 2025-05-27 19:41:48 +08:00
importer 688aaa6024 Import chromium-137.0.7151.44 2025-05-27 19:41:48 +08:00