From owner-freebsd-ports@FreeBSD.ORG Thu Aug 22 10:02:38 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27776C50 for ; Thu, 22 Aug 2013 10:02:38 +0000 (UTC) (envelope-from dan@obluda.cz) Received: from smtp1.ms.mff.cuni.cz (smtp1.ms.mff.cuni.cz [IPv6:2001:718:1e03:801::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B678E2E97 for ; Thu, 22 Aug 2013 10:02:37 +0000 (UTC) Received: from kgw.obluda.cz (kgw.obluda.cz [193.179.199.50]) by smtp1.ms.mff.cuni.cz (8.14.5/8.14.5) with ESMTP id r7MA2WWh043515; Thu, 22 Aug 2013 12:02:35 +0200 (CEST) (envelope-from dan@obluda.cz) Message-ID: <5215E1B8.6040602@obluda.cz> Date: Thu, 22 Aug 2013 12:02:32 +0200 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 MIME-Version: 1.0 To: Cary Subject: Re: building seamonkey with clang References: <5214F6F4.4000409@obluda.cz> <20130821230447.GA13997@SDF.ORG> In-Reply-To: <20130821230447.GA13997@SDF.ORG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 10:02:38 -0000 On 08/22/13 01:04, Cary: > On Wed, Aug 21, 2013 at 07:20:52PM +0200, Dan Lukes wrote: >>> 0. Program arguments: /usr/bin/clang++ -cc1 -triple i386-unknown-freebsd9.0 >> ... >>> sr/local/include -fmodule-cache-path /var/tmp/clang-module-cache -O3 -Wall -Wpoi >> ... >>> y/work/comm-release/mailnews/local/src/nsMsgMaildirStore.cpp >> >> You may be interested to know that source will compile with -O0 >> (instead of -O3). > in what way could one change the port's configuration before running make? I don't know, I didn't do it. I just entered the failed command from command line (from appropriate directory, with -O3 changed to -O0). You can restart make then. It will continue with compilation of next source. Note, there is OPTIMIZED_CFLAGS option recognized. It has been used for task you are asked for in the past. It is ignored by both Seamonkey's and Firefox's Makefile now. I don't know it is intentional or it is another bug. Dan