Date: Tue, 09 Jul 2019 20:24:58 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824 Message-ID: <bug-237068-29464-jBqwZF2Fjf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237068-29464@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 --- Comment #50 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #49) In case it helps for having debug information around, in /usr/ports/Mk/bsd.port.mk I use: STRIP_CMD= ${TRUE} .endif DEBUG_FLAGS?= -g +.if defined(ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG) +CFLAGS:= ${CFLAGS} ${DEBUG_FLAGS} +.else CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} +.endif .if defined(INSTALL_TARGET) INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g} .endif I define ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG to get the changed build behavior for ports for poudriere-based builds: # more /usr/local/etc/poudriere.d/make.conf WANT_QT_VERBOSE_CONFIGURE=1 # DEFAULT_VERSIONS+=perl5=5.28 gcc=9 llvm=80 WRKDIRPREFIX?=/wrkdirs # # From a local /usr/ports/Mk/bsd.port.mk extension: ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG= # .if ${.CURDIR:M*/devel/llvm*} #WITH_DEBUG= .elif ${.CURDIR:M*/lang/cling*} #WITH_DEBUG= .elif ${.CURDIR:M*/www/*webkit*} #WITH_DEBUG= .else WITH_DEBUG= .endif MALLOC_PRODUCTION= -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237068-29464-jBqwZF2Fjf>
