Don't build on i686
mold 1.0.2 on i686 is broken with a failing assertion: elf/../mold.h:315: std::pair<T*, bool> mold::ConcurrentMap<T>::insert(std::string_view, mold::u64, const T&) [with T = mold:🧝:SectionFragment<mold:🧝:I386>; std::string_view = std::basic_string_view<char>; mold::u64 = long long unsigned int]: Assertion `__builtin_popcount(nbuckets) == 1' failed. Since 32-bit i686 is no longer supported by Fedora anyway, it doesn't matter for us.
This commit is contained in:
parent
9b2eab61f3
commit
7305f40d49
|
@ -22,8 +22,8 @@ Patch1: bundled_lib_system_flags.patch
|
|||
# Fix for failed assertion on aarch64
|
||||
Patch2: 0001-Fix-out-of-bounds-error-on-aarch64-with-_GLIBCXX_ASS.patch
|
||||
|
||||
# mold can currently produce native binaries for these architectures only
|
||||
ExclusiveArch: x86_64 %{ix86} aarch64
|
||||
# mold can currently produce native binaries for x86 and aarch64 only
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
|
|
Loading…
Reference in New Issue