maintainer-feedback requested: [Bug 219484] cad/openvsp: fails to build with lang/gcc6 or later on 10.*
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 16 22:45:17 UTC 2017
Jan Beich <jbeich at FreeBSD.org> has asked freebsd-toolchain at 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=219484
--- Comment #2 from Jan Beich <jbeich at 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=revision&revision=229281
> 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 any
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 ports
POV.
Alternatives are locking the ports to USE_GCC < 6 (if gerald is OK) or laying
on BROKEN_FreeBSD_10 deathbed.
More information about the freebsd-toolchain
mailing list