From nobody Tue Jan 04 18:17:49 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 15C4C19299D5; Tue, 4 Jan 2022 18:17:50 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JT17K5KdHz3FvW; Tue, 4 Jan 2022 18:17:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 96BE01DA4D; Tue, 4 Jan 2022 18:17:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 204IHnIu039168; Tue, 4 Jan 2022 18:17:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 204IHndb039166; Tue, 4 Jan 2022 18:17:49 GMT (envelope-from git) Date: Tue, 4 Jan 2022 18:17:49 GMT Message-Id: <202201041817.204IHndb039166@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 233162029ad9 - main - audio/calf-lv2: fix build on powerpc64le List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 233162029ad997ab15b082ff188c62e95aaa67ad Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641320269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ddA7Qpi/5SkXD9j7xci1rf0IKdJwx+6GliyZKlCmHxI=; b=wX8F0NU0mAfyy1XOWv39gXADJiqhmhLOXvF8FOh72CO74WplKSf5n7+TVrGrOI84Feovwe yBGwXpQgMv90WKlfp86NnRsW/zvtJYRSw36jupIleaNDcLeEFJrXrBn59/1iLIq7xVRcj2 5KLjZSXjhlDi6OPQRtiAQFMNzzuMn6Cfusdrm8IUkB+fgz23unrjMReYAuIp0rai858GGE SCTYhAfQdUgrmMTlsNW5yjLv4IRBFW1tGrWpXUQfbjuRBPGvo2TR+nHidPfFJwSSiOROSm g7SR2jhOl/r94lUPjgqHnelWVMgRlxFFLtBsExiSWTrxnEUaaD/eghfU/vFxog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641320269; a=rsa-sha256; cv=none; b=fgVuPGWpZK4Ihuwy8sFzvhGpqRdY4GRiy82MmTpsseuB96hObInWRIee1asSRxrSSmgMRH DluGbNlzzhbr5PE9i4r6SGpLaKoNDWYAScvUtuRYv+34LncjBfyEejhtMDGtj9/onWZZoN 67VGTu1W7GjylbSyffIN1xgns2APp+ZzDopC3wRz5tfO4WpalszH9hVr3QiRyDrhmEY1Tg M6jfp6cnZ2w9gv8JclBKK0A3fvw2rvsI1gTmq8JgxCSJR/5dXNuTGtGRYhD3YqJbbHWikU eSbaC0T3TZgsS2moVOM0stIorh5d2aWyXo+uj2AtFMvjnjfhYKzwRE+uhFg9nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=233162029ad997ab15b082ff188c62e95aaa67ad commit 233162029ad997ab15b082ff188c62e95aaa67ad Author: Piotr Kubaj AuthorDate: 2022-01-04 18:11:30 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-04 18:11:30 +0000 audio/calf-lv2: fix build on powerpc64le clang has a bug: libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -isystem /usr/local/include -ffast-math -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/lash-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -O3 -Wall -MT organ.lo -MD -MP -MF .deps/organ.Tpo -c organ.cpp -fPIC -DPIC -o .libs/organ.o fatal error: error in backend: Incomplete scavenging after 2nd pass PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -isystem /usr/local/include -ffast-math -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/lash-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -O3 -Wall -MT organ.lo -MD -MP -MF .deps/organ.Tpo -c organ.cpp -fPIC -DPIC -o .libs/organ.o 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 'organ.cpp'. 4. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@_ZN3dsp16organ_voice_base18precalculate_wavesEPN12calf_plugins21progress_report_ifaceE' The port builds fine with gcc after linking to libc++. --- audio/calf-lv2/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/audio/calf-lv2/Makefile b/audio/calf-lv2/Makefile index 4097a0ad3dc8..b91b9d375e5b 100644 --- a/audio/calf-lv2/Makefile +++ b/audio/calf-lv2/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \ libjack.so:audio/jack \ libexpat.so:textproc/expat2 -USES= autoreconf compiler:c++11-lang gmake gnome libtool localbase pkgconfig +USES= autoreconf gmake gnome libtool localbase pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk20 USE_CXXSTD= c++11 USE_LDCONFIG= yes @@ -49,6 +49,14 @@ SSE_CONFIGURE_ENABLE= sse PORTDOCS= * +.include + +.if ${ARCH} == powerpc64le +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lang +.endif + .include .if ${CHOSEN_COMPILER_TYPE} == gcc