Date: Mon, 18 May 2020 20:48:48 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 246488] gcc-built binary crashes in std::ios_base::Init::Init() Message-ID: <bug-246488-29464-3M2WzTHhZd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246488-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-246488-29464@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=3D246488 --- Comment #9 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #8) I've never made a FreeBSD port force a gcc to be libc++ based but I have done such in Makefiles of my own software on FreeBSD. I used (extracted examples): CXX=3D g++9 -v -std=3Dc++17 -Wno-psabi -nostdinc -nostdinc++ -I/usr/include/c++/v1 -I/usr/include and for use in linking: LDCXX=3D -nodefaultlibs -lc++ -lcxxrt -lthr -lm -lc -lgcc_s This gives a hint at the options I'd expect to be in use (other than -v and -std=3D...). When I looked around it did not appear to me that the FreeBSD ports infrastructure was set up to deal with g++*'s using libc++ --only with clang++ dealing with either libc++ or libstdc++ . --=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-246488-29464-3M2WzTHhZd>