[crux-commits] ports/opt (3.6): compiler-rt: initial release, version 10.0.0, port by beerman

crux at crux.nu crux at crux.nu
Mon Jul 6 14:14:13 UTC 2020


commit de9717ceb375f152e3a5767d861b36e1e8c2aa76
Author: Juergen Daubert <jue at jue.li>
Date:   Mon Jul 6 16:13:19 2020 +0200

    compiler-rt: initial release, version 10.0.0, port by beerman

diff --git a/compiler-rt/.footprint b/compiler-rt/.footprint
new file mode 100644
index 000000000..0fbb5b034
--- /dev/null
+++ b/compiler-rt/.footprint
@@ -0,0 +1,121 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/hwasan_symbolize
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/fuzzer/
+-rw-r--r--	root/root	usr/include/fuzzer/FuzzedDataProvider.h
+drwxr-xr-x	root/root	usr/include/profile/
+-rw-r--r--	root/root	usr/include/profile/InstrProfData.inc
+drwxr-xr-x	root/root	usr/include/sanitizer/
+-rw-r--r--	root/root	usr/include/sanitizer/allocator_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/asan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/common_interface_defs.h
+-rw-r--r--	root/root	usr/include/sanitizer/coverage_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/dfsan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/hwasan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/linux_syscall_hooks.h
+-rw-r--r--	root/root	usr/include/sanitizer/lsan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/msan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/netbsd_syscall_hooks.h
+-rw-r--r--	root/root	usr/include/sanitizer/scudo_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/tsan_interface.h
+-rw-r--r--	root/root	usr/include/sanitizer/tsan_interface_atomic.h
+-rw-r--r--	root/root	usr/include/sanitizer/ubsan_interface.h
+drwxr-xr-x	root/root	usr/include/xray/
+-rw-r--r--	root/root	usr/include/xray/xray_interface.h
+-rw-r--r--	root/root	usr/include/xray/xray_log_interface.h
+-rw-r--r--	root/root	usr/include/xray/xray_records.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/linux/
+-rw-r--r--	root/root	usr/lib/linux/clang_rt.crtbegin-i386.o
+-rw-r--r--	root/root	usr/lib/linux/clang_rt.crtbegin-x86_64.o
+-rw-r--r--	root/root	usr/lib/linux/clang_rt.crtend-i386.o
+-rw-r--r--	root/root	usr/lib/linux/clang_rt.crtend-x86_64.o
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan-i386.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.asan-i386.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan-preinit-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan-preinit-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan-x86_64.a.syms
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.asan-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan_cxx-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.asan_cxx-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.builtins-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.builtins-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.cfi-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.cfi-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.cfi_diag-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.cfi_diag-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.dd-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.dfsan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.dfsan-x86_64.a.syms
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.dyndd-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.fuzzer-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.fuzzer-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.fuzzer_no_main-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.fuzzer_no_main-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.gwp_asan-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.gwp_asan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.hwasan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.hwasan-x86_64.a.syms
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.hwasan-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.hwasan_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.hwasan_cxx-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.lsan-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.lsan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.msan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.msan-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.msan_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.msan_cxx-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.profile-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.profile-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.safestack-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.safestack-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo-i386.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.scudo-i386.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo-x86_64.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.scudo-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_cxx-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_cxx_minimal-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_cxx_minimal-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_minimal-i386.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.scudo_minimal-i386.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_minimal-x86_64.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.scudo_minimal-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_standalone-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_standalone-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_standalone_cxx-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.scudo_standalone_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.stats-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.stats-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.stats_client-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.stats_client-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.tsan-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.tsan-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.tsan_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.tsan_cxx-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_minimal-i386.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.ubsan_minimal-i386.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_minimal-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_minimal-x86_64.a.syms
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.ubsan_minimal-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone-i386.a
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.ubsan_standalone-i386.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone-x86_64.a.syms
+-rwxr-xr-x	root/root	usr/lib/linux/libclang_rt.ubsan_standalone-x86_64.so
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone_cxx-i386.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.xray-basic-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.xray-fdr-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.xray-profiling-x86_64.a
+-rw-r--r--	root/root	usr/lib/linux/libclang_rt.xray-x86_64.a
+drwxr-xr-x	root/root	usr/share/
+-rw-r--r--	root/root	usr/share/asan_blacklist.txt
+-rw-r--r--	root/root	usr/share/cfi_blacklist.txt
+-rw-r--r--	root/root	usr/share/dfsan_abilist.txt
+-rw-r--r--	root/root	usr/share/hwasan_blacklist.txt
+-rw-r--r--	root/root	usr/share/msan_blacklist.txt
diff --git a/compiler-rt/.signature b/compiler-rt/.signature
new file mode 100644
index 000000000..f36f7915c
--- /dev/null
+++ b/compiler-rt/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/opt.pub
+RWSE3ohX2g5d/YuxCl7uOJPu6GJxqixDI+jVjJyZbN4hWvKTigrO4EGJ/XPmLIIUiivNe78yJCx9xzuJ6QF5YcKlHXlzRop+1w0=
+SHA256 (Pkgfile) = 1f29061e18efc5c6405482ec1362230132f34b9f5fd7331dc2843a70f6164a27
+SHA256 (.footprint) = 6eb3fc11a34af7e00a6324bd81631c556fb4fc3b81af62605b9b0b2deface269
+SHA256 (compiler-rt-10.0.0.src.tar.xz) = 6a7da64d3a0a7320577b68b9ca4933bdcab676e898b759850e827333c3282c75
diff --git a/compiler-rt/Pkgfile b/compiler-rt/Pkgfile
new file mode 100644
index 000000000..27cc0ac34
--- /dev/null
+++ b/compiler-rt/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Compiler runtime libraries for clang
+# URL:         https://compiler-rt.llvm.org/
+# Maintainer:  CRUX System Team, core-ports at crux dot nu
+# Depends on:  llvm
+
+name=compiler-rt
+version=10.0.0
+release=1
+source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/$name-$version.src.tar.xz)
+
+build() {
+	cmake -S$name-$version.src -Bbuild -GNinja \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DPYTHON_EXECUTABLE=/usr/bin/python3 \
+		-Wno-dev
+	cmake --build build
+	DESTDIR=$PKG cmake --install build
+}


More information about the crux-commits mailing list