Now that arm has switched to clang the base compiler has atomic builtins

and accepts -mfpu=neon.

ok jca@ sthen@
This commit is contained in:
jsg 2018-01-20 14:03:39 +00:00
parent 0ef61ab170
commit 9a190ffe23
22 changed files with 29 additions and 87 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2017/12/20 20:26:33 jca Exp $
# $OpenBSD: Makefile,v 1.3 2018/01/20 14:03:39 jsg Exp $
COMMENT = realtime audio and music engine for games
@ -23,11 +23,6 @@ PERMIT_DISTFILES_FTP = test/data/*.a2s are all rights reserved
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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.37 2016/12/29 14:29:37 jca Exp $
# $OpenBSD: Makefile,v 1.38 2018/01/20 14:03:39 jsg Exp $
COMMENT = low latency sound server
@ -20,10 +20,6 @@ WANTLIB += sndio termcap FLAC ogg vorbis vorbisenc
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 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2017/07/26 22:45:16 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2018/01/20 14:03:39 jsg Exp $
BROKEN-hppa= undefined reference to __sync_fetch_and_add_8
BROKEN-powerpc= undefined reference to __sync_fetch_and_add_8
@ -24,11 +24,6 @@ WANTLIB += c m pthread ${COMPILER_LIBCXX} z
MASTER_SITES= ${HOMEPAGE}pkg/
# for atomic builtins
MODULES= gcc4
MODGCC4_ARCHS= arm
MODGCC4_LANGS= c++
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2017/11/30 16:21:25 jeremy Exp $
# $OpenBSD: Makefile,v 1.5 2018/01/20 14:03:39 jsg Exp $
COMMENT= PostgreSQL RDBMS (previous version, for pg_upgrade)
@ -30,13 +30,10 @@ 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" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.233 2018/01/13 12:28:49 phessler Exp $
# $OpenBSD: Makefile,v 1.234 2018/01/20 14:03:39 jsg Exp $
COMMENT-main= PostgreSQL RDBMS (client)
COMMENT-server= PostgreSQL RDBMS (server)
@ -46,12 +46,9 @@ 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" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2017/12/08 18:58:53 jca Exp $
# $OpenBSD: Makefile,v 1.33 2018/01/20 14:03:39 jsg Exp $
COMMENT= the Git library, take 2
@ -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 \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2017/11/02 12:46:44 jca Exp $
# $OpenBSD: Makefile,v 1.12 2018/01/20 14:03:39 jsg Exp $
BROKEN-hppa = undefined reference to __sync atomic ops
@ -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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2017/08/10 01:46:49 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2018/01/20 14:03:39 jsg Exp $
COMMENT = MessagePack implementation for C and C++
@ -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

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.23 2017/07/26 22:45:18 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2018/01/20 14:03:39 jsg 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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2017/12/21 07:55:47 rsadowski Exp $
# $OpenBSD: Makefile,v 1.33 2018/01/20 14:03:39 jsg Exp $
COMMENT = library for reading RAW files
@ -22,7 +22,7 @@ MASTER_SITES = https://www.libraw.org/data/
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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2017/08/22 19:19:26 jasper Exp $
# $OpenBSD: Makefile,v 1.19 2018/01/20 14:03:39 jsg Exp $
# .libs/libmecab.so.0.0: undefined reference to `__sync_val_compare_and_swap_4'
# .libs/libmecab.so.0.0: undefined reference to `__sync_add_and_fetch_4'
@ -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 =

View File

@ -1,7 +1,6 @@
# $OpenBSD: Makefile,v 1.17 2017/11/30 19:36:34 afresh1 Exp $
# $OpenBSD: Makefile,v 1.18 2018/01/20 14:03:39 jsg 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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2017/03/14 02:36:36 jca Exp $
# $OpenBSD: Makefile,v 1.17 2018/01/20 14:03:39 jsg Exp $
BROKEN-hppa= __sync_lock_test_and_set_4 in zzuf_mutex_lock
@ -18,9 +18,6 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m
MODULES= gcc4
MODGCC4_ARCHS= arm
CONFIGURE_STYLE= gnu
# Necessary?
USE_GROFF= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.45 2018/01/11 19:27:05 rpe Exp $
# $OpenBSD: Makefile,v 1.46 2018/01/20 14:03:39 jsg Exp $
COMMENT = reliable, high performance TCP/HTTP load balancer
@ -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

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.76 2018/01/17 12:29:08 sthen Exp $
# $OpenBSD: Makefile,v 1.77 2018/01/20 14:03:39 jsg 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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2017/07/26 22:45:28 sthen Exp $
# $OpenBSD: Makefile,v 1.53 2018/01/20 14:03:39 jsg Exp $
COMMENT= BitTorrent library written in C++
@ -24,11 +24,6 @@ MASTER_SITES= http://rtorrent.net/downloads/
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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.59 2017/09/19 18:28:27 dcoppa Exp $
# $OpenBSD: Makefile,v 1.60 2018/01/20 14:03:39 jsg Exp $
COMMENT= ncurses BitTorrent client based on libTorrent
@ -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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2017/05/02 19:55:23 fcambus Exp $
# $OpenBSD: Makefile,v 1.5 2018/01/20 14:03:39 jsg Exp $
COMMENT = web application framework for writing scalable web APIs in C
@ -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 ?=

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.118 2018/01/11 19:27:11 rpe Exp $
# $OpenBSD: Makefile,v 1.119 2018/01/20 14:03:39 jsg 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

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.55 2017/11/17 14:54:24 naddy Exp $
# $OpenBSD: Makefile,v 1.56 2018/01/20 14:03:39 jsg Exp $
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

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.29 2017/11/09 16:50:39 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2018/01/20 14:03:39 jsg 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

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.150 2018/01/04 09:34:24 bentley Exp $
# $OpenBSD: Makefile,v 1.151 2018/01/20 14:03:39 jsg Exp $
USE_WXNEEDED = Yes # QtWebKit
@ -148,14 +148,6 @@ MULTI_PACKAGES += -debug
CONFIGURE_ARGS +=-release
.endif
.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 =