git: 74b5dc56e7a5 - main - devel/build2: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Dec 2023 22:44:47 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=74b5dc56e7a548066a1ece1dc32b6cb0e6df33b8 commit 74b5dc56e7a548066a1ece1dc32b6cb0e6df33b8 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-12-16 01:56:14 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-12-16 22:44:28 +0000 devel/build2: Fix build on i386 The powerpc build progresses much further with the same flag set, but now segfaults when the do-install target is run. ===> Staging for build2-0.16.0 ===> Generating temporary packing list Invalid data memory access: 0xf2e018b8 Invalid data memory access: 0x81390500 Invalid data memory access: 0x00000048 *** Signal 11 Approved by: portmgr (blanket) --- devel/build2/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/devel/build2/Makefile b/devel/build2/Makefile index 2484ed3bba36..5644b30aa334 100644 --- a/devel/build2/Makefile +++ b/devel/build2/Makefile @@ -11,11 +11,14 @@ WWW= https://build2.org LICENSE= BSD2CLAUSE BSD3CLAUSE MIT LICENSE_COMB= multi -BROKEN_i386= error: timestamp is not lock-free on this architecture -BROKEN_powerpc= error: timestamp is not lock-free on this architecture +BROKEN_powerpc= fails in stage: Invalid data memory access USES= gmake pkgconfig sqlite tar:xz +# Fix build on i386/powerpc: error: timestamp is not lock-free on this architecture +CXXFLAGS_i386= -DLIBBUILD2_ATOMIC_NON_LOCK_FREE +CXXFLAGS_powerpc= -DLIBBUILD2_ATOMIC_NON_LOCK_FREE + # warning: clang@/usr/local/libexec/ccache/clang looks like a ccache wrapper # info: ccache cannot be used as a C compiler # info: use config.c to override