Date: Sun, 23 Aug 2020 15:17:19 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545824 - head/games/openbor Message-ID: <202008231517.07NFHJAw008881@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008231517.07NFHJAw008881>