With armv7 switching to clang as the base compiler atomic builtins and
-mfpu=neon are now available on arm.
Other BROKEN markers are suspect as well
devel/codeblocks/Makefile:BROKEN-arm= wxwidgets va_list c++ mangling requires
gcc < 4.4
devel/arm-none-eabi/gcc-linaro/Makefile:BROKEN-armv7= error during libgcc
autoconf "checking for suffix of object files", probably similar to i386
devel/reposurgeon/Makefile:BROKEN-arm= out of memory compiling cyreposurgeon.c
games/crimson/Makefile:BROKEN-arm= mktileset buggy, loops at high CPU use
games/stone-soup/Makefile:BROKEN-arm= tilegen.elf loops burning cpu
games/fifengine/Makefile:BROKEN-arm = out of memory when compiling
fifePYTHON_wrap.cxx
lang/seed7/Makefile:BROKEN-arm = gmake: *** [makefile:279: ../bin/make7]
Bus error (core dumped)
security/john-jumbo/Makefile:BROKEN-arm = uaf_encode_plug.c:61: error:
stray '$' in program
Index: audio/audiality2/Makefile
===================================================================
RCS file: /cvs/ports/audio/audiality2/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- audio/audiality2/Makefile 20 Dec 2017 20:26:33 -0000 1.2
+++ audio/audiality2/Makefile 20 Jan 2018 00:48:15 -0000
@@ -25,8 +25,6 @@ WANTLIB += c SDL2 m
COMPILER = base-clang ports-gcc base-gcc
COMPILER_LANGS = c
-# __sync_bool_compare_and_swap_4
-MODGCC4_ARCHS = arm
MODULES = devel/cmake
LIB_DEPENDS = devel/sdl2
Index: audio/jack/Makefile
===================================================================
RCS file: /cvs/ports/audio/jack/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- audio/jack/Makefile 29 Dec 2016 14:29:37 -0000 1.37
+++ audio/jack/Makefile 20 Jan 2018 00:48:29 -0000
@@ -20,10 +20,6 @@ WANTLIB += sndio termcap FLAC ogg vorbis
MASTER_SITES = ${HOMEPAGE}downloads/
-MODULES = gcc4
-# needs __sync_fetch_and_add_4, __sync_add_and_fetch_4
-MODGCC4_ARCHS = arm
-
LIB_DEPENDS = audio/libsndfile \
audio/libsamplerate \
audio/celt>=0.11.0 \
Index: databases/kyotocabinet/Makefile
===================================================================
RCS file: /cvs/ports/databases/kyotocabinet/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- databases/kyotocabinet/Makefile 26 Jul 2017 22:45:16 -0000 1.19
+++ databases/kyotocabinet/Makefile 20 Jan 2018 00:42:51 -0000
@@ -24,11 +24,6 @@ WANTLIB += c m pthread ${COMPILER_LIBCXX
MASTER_SITES= ${HOMEPAGE}pkg/
-# for atomic builtins
-MODULES= gcc4
-MODGCC4_ARCHS= arm
-MODGCC4_LANGS= c++
-
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
Index: databases/postgresql/Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.233
diff -u -p -r1.233 Makefile
--- databases/postgresql/Makefile 13 Jan 2018 12:28:49 -0000 1.233
+++ databases/postgresql/Makefile 20 Jan 2018 00:49:19 -0000
@@ -46,11 +46,8 @@ USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
-MODULES= lang/python gcc4
+MODULES= lang/python
MODPY_RUNDEP= No
-
-# for __sync_lock_test_and_set
-MODGCC4_ARCHS= arm
CONFIGURE_ENV= ac_cv_path_PYTHON=${MODPY_BIN} \
CPPFLAGS="-I${LOCALBASE}/include" \
Index: databases/postgresql-previous/Makefile
===================================================================
RCS file: /cvs/ports/databases/postgresql-previous/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- databases/postgresql-previous/Makefile 30 Nov 2017 16:21:25 -0000
1.4
+++ databases/postgresql-previous/Makefile 20 Jan 2018 00:49:34 -0000
@@ -30,12 +30,9 @@ USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
-MODULES= lang/python gcc4
+MODULES= lang/python
MODPY_RUNDEP= No
POSTGRESQL_DIR= postgresql-${VERSION:C/.[0-9]+$//}
-
-# for __sync_lock_test_and_set
-MODGCC4_ARCHS= arm
CONFIGURE_ENV= ac_cv_path_PYTHON=${MODPY_BIN} \
CPPFLAGS="-I${LOCALBASE}/include" \
Index: devel/libgit2/libgit2/Makefile
===================================================================
RCS file: /cvs/ports/devel/libgit2/libgit2/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- devel/libgit2/libgit2/Makefile 8 Dec 2017 18:58:53 -0000 1.32
+++ devel/libgit2/libgit2/Makefile 20 Jan 2018 01:01:40 -0000
@@ -16,7 +16,7 @@ MODPY_RUNDEP= No
COMPILER= base-clang ports-gcc base-gcc
COMPILER_LANGS= c
# for atomic builtins
-MODGCC4_ARCHS= arm hppa
+MODGCC4_ARCHS= hppa
# bundles https://github.com/nodejs/http-parser
LIB_DEPENDS= net/curl \
Index: devel/liburcu/Makefile
===================================================================
RCS file: /cvs/ports/devel/liburcu/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- devel/liburcu/Makefile 2 Nov 2017 12:46:44 -0000 1.11
+++ devel/liburcu/Makefile 20 Jan 2018 00:51:09 -0000
@@ -30,7 +30,7 @@ WANTLIB = pthread
# For atomic builtins
MODULES+= gcc4
-MODGCC4_ARCHS= alpha arm
+MODGCC4_ARCHS= alpha
.if ${MACHINE_ARCH} == "alpha"
MODGCC4_VERSION= 4.6
.endif
Index: devel/msgpack/Makefile
===================================================================
RCS file: /cvs/ports/devel/msgpack/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- devel/msgpack/Makefile 10 Aug 2017 01:46:49 -0000 1.7
+++ devel/msgpack/Makefile 20 Jan 2018 00:49:49 -0000
@@ -17,9 +17,7 @@ GH_ACCOUNT = msgpack
GH_PROJECT = msgpack-c
GH_TAGNAME = cpp-${V}
-MODULES = devel/cmake gcc4
-MODGCC4_ARCHS = arm
-MODGCC4_LANGS = c++
+MODULES = devel/cmake
BUILD_DEPENDS = devel/gtest
TEST_DEPENDS = devel/gtest
Index: devel/openmpi/Makefile
===================================================================
RCS file: /cvs/ports/devel/openmpi/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- devel/openmpi/Makefile 26 Jul 2017 22:45:18 -0000 1.23
+++ devel/openmpi/Makefile 20 Jan 2018 00:43:09 -0000
@@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.23 2017/07/26 22:45:18 sthen Exp $
-BROKEN-arm = configure: error: No atomic primitives available for
arm-unknown-openbsd6.0
BROKEN-hppa = error: Could not determine global symbol label prefix
BROKEN-powerpc = checking if Fortran 77 compiler works... no
Index: graphics/libraw/Makefile
===================================================================
RCS file: /cvs/ports/graphics/libraw/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- graphics/libraw/Makefile 21 Dec 2017 07:55:47 -0000 1.32
+++ graphics/libraw/Makefile 20 Jan 2018 00:51:46 -0000
@@ -22,7 +22,7 @@ MASTER_SITES = https://www.libraw.org/d
COMPILER = base-clang ports-gcc base-gcc
# for atomic builtins (__sync_fetch_and_add_4)
-MODGCC4_ARCHS = arm hppa
+MODGCC4_ARCHS = hppa
LIB_DEPENDS = graphics/jasper \
graphics/lcms2
Index: japanese/mecab/Makefile
===================================================================
RCS file: /cvs/ports/japanese/mecab/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- japanese/mecab/Makefile 22 Aug 2017 19:19:26 -0000 1.18
+++ japanese/mecab/Makefile 20 Jan 2018 00:52:16 -0000
@@ -32,11 +32,6 @@ MASTER_SITES = https://distfiles.nl/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
${PKGNAME-ipadic}-${IPADIC_VER}.tar.gz
-# for atomic builtins
-MODULES = gcc4
-MODGCC4_ARCHS = arm
-MODGCC4_LANGS = c++
-
LIB_DEPENDS-main = converters/libiconv
RUN_DEPENDS-main = mecab-ipadic-*:japanese/mecab,-ipadic
RUN_DEPENDS-ipadic =
Index: lang/moarvm/Makefile
===================================================================
RCS file: /cvs/ports/lang/moarvm/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- lang/moarvm/Makefile 30 Nov 2017 19:36:34 -0000 1.17
+++ lang/moarvm/Makefile 20 Jan 2018 00:43:23 -0000
@@ -1,7 +1,6 @@
# $OpenBSD: Makefile,v 1.17 2017/11/30 19:36:34 afresh1 Exp $
ONLY_FOR_ARCHS = amd64 arm i386 mips64 mips64el powerpc sparc64
-BROKEN-arm = missing atomic ops (both AO_* and gcc builtin)
BROKEN-sparc64 = undefined reference to `AO_fetch_compare_and_swap_full'
COMMENT = virtual machine for nqp/rakudo
Index: lang/racket-minimal/Makefile
===================================================================
RCS file: /cvs/ports/lang/racket-minimal/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- lang/racket-minimal/Makefile 2 Dec 2017 21:39:49 -0000 1.43
+++ lang/racket-minimal/Makefile 20 Jan 2018 00:52:42 -0000
@@ -38,7 +38,6 @@ EXTRACT_SUFX = .tgz
# "places" and "futures" require TLS.
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
-MODGCC4_ARCHS = arm
LIB_DEPENDS = converters/libiconv \
databases/sqlite3 \
Index: misc/zzuf/Makefile
===================================================================
RCS file: /cvs/ports/misc/zzuf/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- misc/zzuf/Makefile 14 Mar 2017 02:36:36 -0000 1.16
+++ misc/zzuf/Makefile 20 Jan 2018 00:43:41 -0000
@@ -18,9 +18,6 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m
-MODULES= gcc4
-MODGCC4_ARCHS= arm
-
CONFIGURE_STYLE= gnu
# Necessary?
USE_GROFF= Yes
Index: multimedia/mpv/Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- multimedia/mpv/Makefile 23 Oct 2017 17:10:52 -0000 1.38
+++ multimedia/mpv/Makefile 20 Jan 2018 00:42:26 -0000
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.38 2017/10/23 17:10:52 sthen Exp $
# archs with atomic ops
-ONLY_FOR_ARCHS = aarch64 alpha amd64 i386 mips64 mips64el powerpc sparc64
+ONLY_FOR_ARCHS = aarch64 alpha amd64 arm i386 mips64 mips64el powerpc
sparc64
BROKEN-powerpc = atomics detection fails
COMMENT = movie player based on MPlayer/mplayer2
Index: net/haproxy/Makefile
===================================================================
RCS file: /cvs/ports/net/haproxy/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- net/haproxy/Makefile 11 Jan 2018 19:27:05 -0000 1.45
+++ net/haproxy/Makefile 20 Jan 2018 00:53:05 -0000
@@ -33,10 +33,6 @@ MAKE_FLAGS += USE_OPENSSL=1 USE_PCRE=1
MAKE_FLAGS += USE_PRIVATE_CACHE=1
.endif
-# Needs __sync_sub_and_fetch_4, __sync_lock_test_and_set_4, etc
-MODULES = gcc4
-MODGCC4_ARCHS= arm
-
LIB_DEPENDS = devel/pcre
NO_TEST = Yes
Index: net/icinga/core2/Makefile
===================================================================
RCS file: /cvs/ports/net/icinga/core2/Makefile,v
retrieving revision 1.76
diff -u -p -r1.76 Makefile
--- net/icinga/core2/Makefile 17 Jan 2018 12:29:08 -0000 1.76
+++ net/icinga/core2/Makefile 20 Jan 2018 00:43:52 -0000
@@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.76 2018/01/17 12:29:08 sthen Exp $
-BROKEN-arm = needs atomic ops; __sync_add_and_fetch_4
BROKEN-hppa = needs atomic ops; __sync_add_and_fetch_4
COMMENT-main = network monitoring system
Index: net/libtorrent/Makefile
===================================================================
RCS file: /cvs/ports/net/libtorrent/Makefile,v
retrieving revision 1.52
diff -u -p -r1.52 Makefile
--- net/libtorrent/Makefile 26 Jul 2017 22:45:28 -0000 1.52
+++ net/libtorrent/Makefile 20 Jan 2018 00:44:06 -0000
@@ -24,11 +24,6 @@ MASTER_SITES= http://rtorrent.net/downl
WANTLIB= crypto m pthread ${COMPILER_LIBCXX} z
-MODULES= gcc4
-# for __sync atomic ops
-MODGCC4_ARCHS= arm
-MODGCC4_LANGS= c++
-
BUILD_DEPENDS= devel/cppunit
CONFIGURE_STYLE= autoconf
Index: net/rtorrent/Makefile
===================================================================
RCS file: /cvs/ports/net/rtorrent/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- net/rtorrent/Makefile 19 Sep 2017 18:28:27 -0000 1.59
+++ net/rtorrent/Makefile 20 Jan 2018 00:54:52 -0000
@@ -23,8 +23,7 @@ MODULES= gcc4
# SIGBUS during startup on sparc64 when built using gcc 4.2.1
# https://github.com/rakshasa/rtorrent/issues/28
-# arm: undefined reference to `__sync_add_and_fetch_4'
-MODGCC4_ARCHS= arm sparc64
+MODGCC4_ARCHS= sparc64
MODGCC4_LANGS= c++
BUILD_DEPENDS= devel/cppunit
Index: www/kore/Makefile
===================================================================
RCS file: /cvs/ports/www/kore/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- www/kore/Makefile 2 May 2017 19:55:23 -0000 1.4
+++ www/kore/Makefile 20 Jan 2018 00:55:51 -0000
@@ -20,10 +20,6 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto pthread ssl
-MODULES = gcc4
-# for __sync_bool_compare_and_swap
-MODGCC4_ARCHS= arm
-
FLAVORS = debug pgsql
FLAVOR ?=
Index: www/nginx/Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.118
diff -u -p -r1.118 Makefile
--- www/nginx/Makefile 11 Jan 2018 19:27:11 -0000 1.118
+++ www/nginx/Makefile 20 Jan 2018 00:44:18 -0000
@@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.118 2018/01/11 19:27:11 rpe Exp $
-BROKEN-arm= src/core/ngx_rwlock.c:116:2: error: \#error
ngx_atomic_cmp_set() is not defined!
BROKEN-hppa= src/core/ngx_rwlock.c:116:2: error: \#error
ngx_atomic_cmp_set() is not defined!
COMMENT-main= robust and small HTTP server and mail proxy server
Index: www/ruby-passenger/Makefile
===================================================================
RCS file: /cvs/ports/www/ruby-passenger/Makefile,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile
--- www/ruby-passenger/Makefile 17 Nov 2017 14:54:24 -0000 1.55
+++ www/ruby-passenger/Makefile 20 Jan 2018 01:29:39 -0000
@@ -2,7 +2,6 @@
COMMENT = ruby web application server/nginx module
BROKEN-alpha = .got subsegment exceeds 64K (size 83312)
-BROKEN-arm = .../libuv/src/unix/atomic-ops.h:46: undefined reference
to __sync_val_compare_and_swap_4
BROKEN-hppa = rake fails when linking PassengerHelperAgent
BROKEN-sparc64 = rake fails when linking PassengerHelperAgent
Index: x11/freerdp/Makefile
===================================================================
RCS file: /cvs/ports/x11/freerdp/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- x11/freerdp/Makefile 9 Nov 2017 16:50:39 -0000 1.29
+++ x11/freerdp/Makefile 20 Jan 2018 00:44:38 -0000
@@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.29 2017/11/09 16:50:39 ajacoutot Exp $
-BROKEN-arm = unrecognized option -mfpu=neon
# Also: __sync_fetch_and_add_4 __sync_add_and_fetch_4 __sync_sub_and_fetch_4
BROKEN-hppa = undefined reference to __sync_val_compare_and_swap_4
Index: x11/qt4/Makefile
===================================================================
RCS file: /cvs/ports/x11/qt4/Makefile,v
retrieving revision 1.150
diff -u -p -r1.150 Makefile
--- x11/qt4/Makefile 4 Jan 2018 09:34:24 -0000 1.150
+++ x11/qt4/Makefile 20 Jan 2018 00:56:07 -0000
@@ -150,12 +150,6 @@ CONFIGURE_ARGS +=-release
.include <bsd.port.arch.mk>
-MODULES = gcc4
-
-# for __sync_add_and_fetch_4, __sync_sub_and_fetch_4
-MODGCC4_ARCHS = arm
-MODGCC4_LANGS = c++
-
LIB_DEPENDS =
WANTLIB =
RUN_DEPENDS =