Date: Sat, 22 Dec 2012 21:48:48 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: George Liaskos <geo.liaskos@gmail.com> Cc: =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>, Roman Divacky <rdivacky@freebsd.org>, current@freebsd.org Subject: Re: protoc crash in libstdc++ Message-ID: <50D61CB0.1050506@FreeBSD.org> In-Reply-To: <CANcjpOBm4UdxmuYt51htW%2BfbqMbCyNhtd-S53k-SWGUs3zxycA@mail.gmail.com> References: <50D05FD6.7080008@freebsd.org> <50D0CE37.3000306@FreeBSD.org> <CANcjpOBm4UdxmuYt51htW%2BfbqMbCyNhtd-S53k-SWGUs3zxycA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-12-18 22:12, George Liaskos wrote: >> 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! I have committed the real bugfix for ld --gc-sections in r244600. I will also MFC it in a week.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50D61CB0.1050506>