From owner-freebsd-toolchain@freebsd.org Sun Jul 16 22:45:17 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A65DFC7BCCB for ; Sun, 16 Jul 2017 22:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 949146A028 for ; Sun, 16 Jul 2017 22:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6GMjH3C043615 for ; Sun, 16 Jul 2017 22:45:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: maintainer-feedback requested: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.* Date: Sun, 16 Jul 2017 22:45:17 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2017 22:45:17 -0000 Jan Beich has asked freebsd-toolchain@FreeBSD.org for maintainer-feedback: Bug 219484: cad/openvsp: fails to build with lang/gcc6 or later on 10.* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 --- Comment #2 from Jan Beich --- (In reply to fernando.apesteguia from comment #1) > ldd /usr/local/bin/vsp "ldd -a" exposes more libc++ consumers: libGLU (from mesa-libs), fltk and cpptest. Each of those libraries may have their own consumers (ignoring openvsp) linked against libc++. > But in 10.x the libc++ does not provide a delete operator with parameters (void*, unsigned long). [...] > operator delete(void* ptr, size_t) _NOEXCEPT <--- > operator delete[] (void* ptr, size_t) _NOEXCEPT Probably added by https://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D229281 > either updating libc++ on 10.x or forcing linking against libstc++ if possible should help. Can toolchain@ suggest a better workaround? libstdc++ usage is fragile as a= ny dependency can bring libc++ into runtime leading to crashes. While mixing libc++ and libstdc++ is possible by replacing libsupc++ with libcxxrt it's = not supported by any of lang/gcc* ports. libcxxrt is essentially frozen from po= rts POV. Alternatives are locking the ports to USE_GCC < 6 (if gerald is OK) or layi= ng on BROKEN_FreeBSD_10 deathbed.