[Bug 246488] gcc-built binary crashes in std::ios_base::Init::Init()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 18 16:15:21 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246488

--- Comment #3 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Fernando Apesteguía from comment #0)

In your patch I see: 

CXXFLAGS+=      -lgcc -lstdc++
CPPFLAGS+=      -lgcc -lstdc++

that's never going to work of course, you are mixing two C++ libraries. Either
compile everything (and that really means everything :) with libstdc++, or make
gcc use libc++'s headers and libraries.

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


More information about the freebsd-toolchain mailing list