Date: Tue, 18 Dec 2012 23:12:15 +0200 From: George Liaskos <geo.liaskos@gmail.com> To: Dimitry Andric <dim@freebsd.org> Cc: =?UTF-8?Q?Ren=C3=A9_Ladan?= <rene@freebsd.org>, Roman Divacky <rdivacky@freebsd.org>, current@freebsd.org Subject: Re: protoc crash in libstdc++ Message-ID: <CANcjpOBm4UdxmuYt51htW%2BfbqMbCyNhtd-S53k-SWGUs3zxycA@mail.gmail.com> In-Reply-To: <50D0CE37.3000306@FreeBSD.org> References: <50D05FD6.7080008@freebsd.org> <50D0CE37.3000306@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Try removing --gc-sections from the link flags for protoc, that should > solve it for now. I am still looking at the root cause, which seems to > be something in our ld; it does not seem to be related to either clang > or libstdc++. Whoa, thank you! Removing --gc-sections from the link flags solves the issue indeed!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANcjpOBm4UdxmuYt51htW%2BfbqMbCyNhtd-S53k-SWGUs3zxycA>