From owner-svn-ports-all@freebsd.org Sun Aug 23 15:17:19 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE1C83BFEC8; Sun, 23 Aug 2020 15:17:19 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZJlM59Fqz3WDh; Sun, 23 Aug 2020 15:17:19 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 95F658E5A; Sun, 23 Aug 2020 15:17:19 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07NFHJ3a008882; Sun, 23 Aug 2020 15:17:19 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07NFHJAw008881; Sun, 23 Aug 2020 15:17:19 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202008231517.07NFHJAw008881@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 23 Aug 2020 15:17:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545824 - head/games/openbor X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/games/openbor X-SVN-Commit-Revision: 545824 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 15:17:19 -0000 Author: jbeich Date: Sun Aug 23 15:17:19 2020 New Revision: 545824 URL: https://svnweb.freebsd.org/changeset/ports/545824 Log: games/openbor: unbreak with Clang 11 ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at openborscript.c >>> openborscript.o:(.bss+0xD80) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at openborscript.c >>> openborscript.o:(.bss+0x4B0) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at control.c >>> sdl/control.o:(.bss+0x68) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at control.c >>> sdl/control.o:(.bss+0x70) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at menu.c >>> sdl/menu.o:(.bss+0x30) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at menu.c >>> sdl/menu.o:(.bss+0x38) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at translation.c >>> source/gamelib/translation.o:(.bss+0x18) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at translation.c >>> source/gamelib/translation.o:(.bss+0x20) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at models.c >>> source/gamelib/models.o:(.bss+0x408) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at models.c >>> source/gamelib/models.o:(.bss+0x410) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at utils.c >>> source/utils.o:(.bss+0x850) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at utils.c >>> source/utils.o:(.bss+0x858) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at animation.c >>> source/openborscript/animation.o:(.bss+0x0) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at animation.c >>> source/openborscript/animation.o:(.bss+0x8) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at axis.c >>> source/openborscript/axis.o:(.bss+0x0) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at axis.c >>> source/openborscript/axis.o:(.bss+0x8) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at binding.c >>> source/openborscript/binding.o:(.bss+0x0) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at binding.c >>> source/openborscript/binding.o:(.bss+0x8) ld: error: duplicate symbol: anim_list >>> defined at openbor.c >>> openbor.o:(anim_list) >>> defined at drawmethod.c >>> source/openborscript/drawmethod.o:(.bss+0x0) ld: error: duplicate symbol: model_cache >>> defined at openbor.c >>> openbor.o:(model_cache) >>> defined at drawmethod.c >>> source/openborscript/drawmethod.o:(.bss+0x8) ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) Reported by: pkg-fallout Modified: head/games/openbor/Makefile (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Sun Aug 23 14:31:47 2020 (r545823) +++ head/games/openbor/Makefile Sun Aug 23 15:17:19 2020 (r545824) @@ -57,6 +57,7 @@ MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \ MAKE_ARGS= CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \ TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \ TARGET_FINAL='${TARGET}' BUILD_MMX="" ECHO="${ECHO}" +CFLAGS+= -fcommon # https://github.com/DCurrent/openbor/issues/206 LDFLAGS+= -Wl,--as-needed # ogg, pthread, zlib SUB_FILES= pkg-message SUB_LIST= PKGBASE=${PKGBASE}