The package rpms/simde.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/simde.git/commit/?id=897b49c918ef491....
Change: +%ifnarch %{arm}
Thanks.
Full change: ============
commit 897b49c918ef49182207e3695ce478d010c51923 Author: Jun Aruga jaruga@redhat.com Date: Wed Aug 5 23:11:45 2020 +0200
Skip clang flags case for arm 32-bit due to the segmentation fault.
``` + CC=clang + CXX=clang++ + cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_C_FLAGS=-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' '-DCMAKE_CXX_FLAGS=-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS ... /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_69c3a.dir/link.txt --verbose=1 /usr/bin/clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -rdynamic CMakeFiles/cmTC_69c3a.dir/testCCompiler.c.o -o cmTC_69c3a clang-10: error: unable to execute command: Segmentation fault (core dumped) ```
diff --git a/simde.spec b/simde.spec index 988ccf1..a47e1c5 100644 --- a/simde.spec +++ b/simde.spec @@ -131,6 +131,8 @@ popd echo "=== 2.2. tests on clang with flags ===" mkdir test/build-clang-with-flags pushd test/build-clang-with-flags +# arm tests fail with segmentation fault in cmake. +%ifnarch %{arm} CC=clang CXX=clang++ cmake \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_C_FLAGS="%{build_cflags}" \ @@ -139,11 +141,13 @@ CC=clang CXX=clang++ cmake \ %make_build # ppc64le tests fail with clang-10.0.0, -O2 and some flags # https://github.com/nemequ/simde/issues/273 + %ifarch ppc64le ./run-tests || true %else ./run-tests %endif +%endif popd
%files devel @@ -155,6 +159,7 @@ popd * Tue Aug 04 2020 Jun Aruga jaruga@redhat.com - 0.0.0-5.git396e05c - Fix FTBFS. Resolves: rhbz#1865487 +- Skip clang flags case for arm 32-bit due to the segmentation fault.
* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 0.0.0-4.git396e05c - Second attempt - Rebuilt for
commit db29e64a5ee9c6640b45e100fa5ee1c79fd2195c Author: Jun Aruga jaruga@redhat.com Date: Tue Aug 4 23:49:54 2020 +0200
Fix FTBFS.
Resolves: rhbz#1865487
diff --git a/simde.spec b/simde.spec index a27b597..988ccf1 100644 --- a/simde.spec +++ b/simde.spec @@ -12,7 +12,7 @@ Name: simde Version: 0.0.0 # Align the release format with the packages setting Source0 by commit hash # such as podman.spec and moby-engine.spec. -Release: 4.git%{short_commit_simde}%{?dist} +Release: 5.git%{short_commit_simde}%{?dist} Summary: SIMD Everywhere # find simde/ -type f | xargs licensecheck # simde: MIT @@ -113,6 +113,7 @@ CC=gcc CXX=g++ cmake \ popd
# clang +%global toolchain clang echo "== 2. tests on clang ==" clang --version clang++ --version @@ -128,16 +129,12 @@ popd
# with flags echo "=== 2.2. tests on clang with flags ===" -# Some flags and specs are not available with clang. -# https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.... -optflags_clang=$(echo "%{optflags}" | \ - sed -e 's| -fstack-clash-protection||' -e 's| -specs=[^ ]*||g') mkdir test/build-clang-with-flags pushd test/build-clang-with-flags CC=clang CXX=clang++ cmake \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DCMAKE_C_FLAGS="${optflags_clang}" \ - -DCMAKE_CXX_FLAGS="${optflags_clang}" \ + -DCMAKE_C_FLAGS="%{build_cflags}" \ + -DCMAKE_CXX_FLAGS="%{build_cxxflags}" \ .. %make_build # ppc64le tests fail with clang-10.0.0, -O2 and some flags @@ -155,6 +152,10 @@ popd %{_includedir}/%{name}
%changelog +* Tue Aug 04 2020 Jun Aruga jaruga@redhat.com - 0.0.0-5.git396e05c +- Fix FTBFS. + Resolves: rhbz#1865487 + * Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 0.0.0-4.git396e05c - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
arch-excludes@lists.fedoraproject.org