From 7b360868ffa64b2e53b4b0c07fbd5f8d1d921199 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 12 Feb 2021 18:06:06 -0800 Subject: boost: build context for mips64 It turns out there's upstream support for it. A small patch is needed to fix softfloat support. Also added patch to fix boost-fiber on octeon+. Failure happens because the platform is based on an old MIPSr2 standard that lacks the pause instruction. It also turns out that MIPS64 builds are done with the wrong ABI. Signed-off-by: Rosen Penev --- libs/boost/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/boost/Makefile') diff --git a/libs/boost/Makefile b/libs/boost/Makefile index 3daf5594a..a39680e5b 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -13,7 +13,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=boost PKG_VERSION:=1.75.0 PKG_SOURCE_VERSION:=1_75_0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/$(PKG_NAME)/$(PKG_NAME)/$(PKG_VERSION) https://dl.bintray.com/boostorg/release/$(PKG_VERSION)/source/ @@ -117,7 +117,7 @@ define Package/boost/config # Invisible config dependency config boost-context-exclude bool - default y if (TARGET_arc770 || TARGET_archs38 || TARGET_octeon || TARGET_octeontx) + default y if (TARGET_arc770 || TARGET_archs38) default n config boost-coroutine-exclude @@ -387,7 +387,7 @@ EXTRA_CXXFLAGS += $(if $(CONFIG_GCC_USE_VERSION_10),-std=gnu++20,$(if $(CONFIG_G ifneq ($(findstring mips,$(ARCH)),) BOOST_ABI = o32 ifneq ($(findstring 64,$(ARCH)),) - BOOST_ABI = o64 + BOOST_ABI = n64 endif else ifneq ($(findstring arm,$(ARCH)),) BOOST_ABI = aapcs -- cgit v1.2.3