The package rpms/compiler-rt.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/compiler-rt.git/commit/?id=d4ed69....
Change:
+%ifarch aarch64
Thanks.
Full change:
============
commit d4ed69c9f1973dcd22cb7b41d9602e8544cd1a15
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Fri Jan 26 00:04:58 2018 +0000
6.0.0-rc1 Release
diff --git a/.gitignore b/.gitignore
index 60cb005..3e93e02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/compiler-rt-5.0.0.src.tar.xz
/Fuzzer-5.0.1.tar.xz
/compiler-rt-5.0.1.src.tar.xz
+/compiler-rt-6.0.0rc1.src.tar.xz
diff --git a/compiler-rt.spec b/compiler-rt.spec
index c38446b..c82b5e8 100644
--- a/compiler-rt.spec
+++ b/compiler-rt.spec
@@ -3,22 +3,16 @@
%global debug_package %{nil}
%endif
+%global rc_ver 1
+
Name: compiler-rt
-Version: 5.0.1
-Release: 2%{?dist}
+Version: 6.0.0
+Release: 0.1.rc%{rc_ver}%{?dist}
Summary: LLVM "compiler-rt" runtime libraries
License: NCSA or MIT
URL:
http://llvm.org
-Source0:
http://llvm.org/releases/%{version}/%{name}-%{version}.src.tar.xz
-# Extract libFuzzer sources from the llvm tarball. We are packaging it as part
-# of compiler-rt, because upstream moved the code into the compiler-rt project
-# for LLVM 6.0.0.
-# wget
http://llvm.org/releases/5.0.1/llvm-5.0.1.src.tar.xz
-# tar -xJf llvm-5.0.1.src.tar.xz
-# cd llvm-5.0.1.src/lib/
-# tar -cJf Fuzzer-5.0.1.tar.xz Fuzzer/
-Source1: Fuzzer-5.0.1.tar.xz
+Source0:
http://llvm.org/releases/%{version}/%{name}-%{version}%{?rc_ver:rc%{rc_ve...
Patch1: 0001-Fix-AArch64-build-with-glibc-2.26.patch
BuildRequires: cmake
@@ -33,9 +27,7 @@ code generation, sanitizer runtimes and profiling library for code
instrumentation, and Blocks C language extension.
%prep
-%setup -T -q -b 1 -n Fuzzer
-
-%autosetup -n %{name}-%{version}.src -p1
+%autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
%build
mkdir -p _build
@@ -53,24 +45,17 @@ cd _build
make %{?_smp_mflags}
-# Build Fuzzer with gcc
-export CXX=g++
-pushd ../../Fuzzer
-./build.sh
-popd
-
%install
cd _build
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_libdir}/clang/%{version}/lib
-pushd ../../Fuzzer
-install -m0644 libFuzzer.a %{buildroot}%{_libdir}/clang/%{version}/lib
-popd
+%ifarch aarch64
+%global aarch64_blacklists hwasan_blacklist.txt
+%endif
-# move sanitizer lists to better place
-for file in asan_blacklist.txt msan_blacklist.txt dfsan_blacklist.txt cfi_blacklist.txt
dfsan_abilist.txt; do
+for file in %{aarch64_blacklists} asan_blacklist.txt msan_blacklist.txt
dfsan_blacklist.txt cfi_blacklist.txt dfsan_abilist.txt; do
mv -v %{buildroot}%{_prefix}/${file} %{buildroot}%{_libdir}/clang/%{version}/ || :
done
@@ -91,6 +76,9 @@ cd _build
%{_libdir}/clang/%{version}
%changelog
+* Thu Jan 25 2018 Tom Stellard <tstellar(a)redhat.com> - 6.0.0-0.1.rc1
+- 6.0.0-rc1 Release
+
* Wed Jan 17 2018 Tom Stellard <tstellar(a)redhat.com> - 5.0.1-2
- Build libFuzzer with gcc
diff --git a/sources b/sources
index 0cc7bfc..f8df75d 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (Fuzzer-5.0.1.tar.xz) =
397dbb8eda705288b8527f4e8f56175f49e65d364c2a1e0bcb6e90bac74a728eaa321f8ce5603811d1278b33d32223ed3640aec5cfb166659522e883cc1d9de2
-SHA512 (compiler-rt-5.0.1.src.tar.xz) =
61e23775db78bdeed3003a509b45ae609287db31302fed186f3210d481ecf062d1828571e63482215ab00ff732df8f3fa6c77334dfb677e4b76eb555d476b8c4
+SHA512 (compiler-rt-6.0.0rc1.src.tar.xz) =
2b223487154035bb4b83775f871e9017fcffb6078e704b6a33abc93ad5f0641742f41776c42526423a72805ed3226c2a48d71bbb9ce4f7d3de29d13f0dcd00d0