Date: Thu, 22 Feb 2024 06:17:36 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 62154d135f65 - main - devel/boost-libs: fix build on powerpc* due to wrong assembly syntax error Message-ID: <202402220617.41M6HadR082909@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=62154d135f6554edd7fab5baf210b5d6bd3204b7 commit 62154d135f6554edd7fab5baf210b5d6bd3204b7 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-02-21 23:22:56 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-02-22 06:17:33 +0000 devel/boost-libs: fix build on powerpc* due to wrong assembly syntax error --- .../boost-libs/files/patch-boost_fiber_detail_cpu__relax.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/boost-libs/files/patch-boost_fiber_detail_cpu__relax.hpp b/devel/boost-libs/files/patch-boost_fiber_detail_cpu__relax.hpp new file mode 100644 index 000000000000..a089a9123a56 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_fiber_detail_cpu__relax.hpp @@ -0,0 +1,11 @@ +--- boost/fiber/detail/cpu_relax.hpp.orig 2024-02-21 21:22:18 UTC ++++ boost/fiber/detail/cpu_relax.hpp +@@ -59,7 +59,7 @@ namespace detail { + // processors + // extended mnemonics (available with POWER7) + // yield == or 27, 27, 27 +-# if defined(__POWERPC__) // Darwin PPC ++# if defined(__APPLE__) // Darwin PPC + # define cpu_relax() asm volatile ("or r27,r27,r27" ::: "memory"); + # else + # define cpu_relax() asm volatile ("or 27,27,27" ::: "memory");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402220617.41M6HadR082909>