Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2017 22:45:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.*
Message-ID:  <bug-219484-13-YOlJ1hkPNv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219484-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219484-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |maintainer-feedback?(freebs
                   |                            |d-toolchain@FreeBSD.org)
                 CC|                            |freebsd-toolchain@FreeBSD.o
                   |                            |rg

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
(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 pos=
sible 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219484-13-YOlJ1hkPNv>