From owner-freebsd-current@FreeBSD.ORG Sat Dec 22 20:48:45 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2A96387; Sat, 22 Dec 2012 20:48:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9098FC0A; Sat, 22 Dec 2012 20:48:45 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:84e5:2627:88f9:e626] (unknown [IPv6:2001:7b8:3a7:0:84e5:2627:88f9:e626]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 364525C5A; Sat, 22 Dec 2012 21:48:44 +0100 (CET) Message-ID: <50D61CB0.1050506@FreeBSD.org> Date: Sat, 22 Dec 2012 21:48:48 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20121128 Thunderbird/18.0 MIME-Version: 1.0 To: George Liaskos Subject: Re: protoc crash in libstdc++ References: <50D05FD6.7080008@freebsd.org> <50D0CE37.3000306@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Ren=E9_Ladan?= , Roman Divacky , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 20:48:46 -0000 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.