Jan Beich <jbe...@freebsd.org> 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=219484



--- Comment #2 from Jan Beich <jbe...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to