Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 16:15:20 +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-nJtHRgVs7t@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 #3 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Fernando Apestegu=C3=ADa from comment #0)

In your patch I see:=20

CXXFLAGS+=3D      -lgcc -lstdc++
CPPFLAGS+=3D      -lgcc -lstdc++

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

--=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-nJtHRgVs7t>