diff --git a/0001-Changes-required-for-aarch64-support-in-boost-config.patch b/0001-Changes-required-for-aarch64-support-in-boost-config.patch new file mode 100644 index 0000000..5003a58 --- /dev/null +++ b/0001-Changes-required-for-aarch64-support-in-boost-config.patch @@ -0,0 +1,26 @@ +From 8787f6b0718b6b0750869ba52bc65d26db665a05 Mon Sep 17 00:00:00 2001 +From: Ananth Jasty +Date: Wed, 15 Apr 2015 17:59:47 -0700 +Subject: [PATCH] Changes required for aarch64 support in boost::config. + +--- + libs/config/checks/architecture/arm.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/libs/config/checks/architecture/arm.cpp b/libs/config/checks/architecture/arm.cpp +index 6a83737..794aba8 100644 +--- a/libs/config/checks/architecture/arm.cpp ++++ b/libs/config/checks/architecture/arm.cpp +@@ -8,6 +8,8 @@ + + #if !defined(__arm__) && !defined(__thumb__) && \ + !defined(__TARGET_ARCH_ARM) && !defined(__TARGET_ARCH_THUMB) && \ +- !defined(_ARM) && !defined(_M_ARM) ++ !defined(_ARM) && !defined(_M_ARM) && \ ++ !defined(__aarch64__) + #error "Not ARM" + #endif ++ +-- +2.4.5 + diff --git a/boost-context-use-sysv-not-aapcs.patch b/boost-context-use-sysv-not-aapcs.patch deleted file mode 100644 index 11d988e..0000000 --- a/boost-context-use-sysv-not-aapcs.patch +++ /dev/null @@ -1,40 +0,0 @@ -http://lists.boost.org/Archives/boost/2015/02/220155.php - -commit d19baee73f90de01375af69a9f8621799c649964 -Author: Edward Nevill -Date: Mon Feb 23 17:32:49 2015 +0000 - - Fix build for aarch64. - - -Index: boost_1_57_0/libs/context/build/Jamfile.v2 -=================================================================== ---- boost_1_57_0.orig/libs/context/build/Jamfile.v2 -+++ boost_1_57_0/libs/context/build/Jamfile.v2 -@@ -214,7 +214,7 @@ alias asm_context_sources - alias asm_context_sources - : [ make asm/make_arm64_aapcs_elf_gas.o : asm/make_arm64_aapcs_elf_gas.S : @gas64 ] - [ make asm/jump_arm64_aapcs_elf_gas.o : asm/jump_arm64_aapcs_elf_gas.S : @gas64 ] -- : aapcs -+ : sysv - 64 - arm - elf -@@ -223,7 +223,7 @@ alias asm_context_sources - alias asm_context_sources - : asm/make_arm64_aapcs_elf_gas.S - asm/jump_arm64_aapcs_elf_gas.S -- : aapcs -+ : sysv - 64 - arm - elf -@@ -233,7 +233,7 @@ alias asm_context_sources - alias asm_context_sources - : asm/make_arm64_aapcs_elf_gas.S - asm/jump_arm64_aapcs_elf_gas.S -- : aapcs -+ : sysv - 64 - arm - elf diff --git a/boost.spec b/boost.spec index 290427e..afaebc6 100644 --- a/boost.spec +++ b/boost.spec @@ -32,7 +32,7 @@ Name: boost Summary: The free peer-reviewed portable C++ source libraries Version: 1.58.0 %define version_enc 1_58_0 -Release: 6%{?dist} +Release: 7%{?dist} License: Boost and MIT and Python %define toplev_dirname %{name}_%{version_enc} @@ -133,7 +133,7 @@ Patch68: boost-1.58.0-address-model.patch # https://github.com/boostorg/ublas/pull/25 Patch69: boost-1.58-ublas-inlines.patch -Patch78: boost-context-use-sysv-not-aapcs.patch +Patch70: 0001-Changes-required-for-aarch64-support-in-boost-config.patch %bcond_with tests %bcond_with docs_generated @@ -623,7 +623,7 @@ a number of significant features and is now developed independently %patch67 -p2 %patch68 -p1 %patch69 -p2 -%patch78 -p1 +%patch70 -p1 # At least python2_version needs to be a macro so that it's visible in # %%install as well. @@ -1242,6 +1242,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/bjam.1* %changelog +* Fri Aug 21 2015 Marcin Juszkiewicz - 1.58.0-7 +- Re-enable boost::context on AArch64. + * Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek - 1.58.0-6 - Rebuild for MPI provides