From owner-freebsd-current@FreeBSD.ORG Tue Dec 18 20:12:51 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 49D5F8A7; Tue, 18 Dec 2012 20:12:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 009B28FC12; Tue, 18 Dec 2012 20:12:50 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:90a8:9e4b:2980:e339] (unknown [IPv6:2001:7b8:3a7:0:90a8:9e4b:2980:e339]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D75C95C5A; Tue, 18 Dec 2012 21:12:43 +0100 (CET) Message-ID: <50D0CE37.3000306@FreeBSD.org> Date: Tue, 18 Dec 2012 21:12:39 +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: =?ISO-8859-1?Q?Ren=E9_Ladan?= Subject: Re: protoc crash in libstdc++ References: <50D05FD6.7080008@freebsd.org> In-Reply-To: <50D05FD6.7080008@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: 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: Tue, 18 Dec 2012 20:12:51 -0000 On 2012-12-18 13:21, Ren=E9 Ladan wrote: > the following backtrace is from a crash that happened when building > www/chromium with clang. The chromium port builds a binary protoc whic= h > crashes when built with clang. =2E.. > So the question is if this is a protoc or a clang or a libstdc++ bug. 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++.