From owner-freebsd-toolchain@FreeBSD.ORG Sun Nov 17 19:38:01 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23FA5BA2 for ; Sun, 17 Nov 2013 19:38:01 +0000 (UTC) Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBDBC2F0D for ; Sun, 17 Nov 2013 19:37:57 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id u16so7763523iet.34 for ; Sun, 17 Nov 2013 11:37:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version; bh=FwJbNjXlUzHRVVsf3cEwYva5YO/WDbCgPwhZaQCzTjM=; b=QFjZR4/f/gYBvCMjKvG9ju0mViW4P4XOw4Oc4l4Q8XHgmtkOgs2o4ENfK91/jlcGqH HUvWRcB2+wzFf9XSyKqg/6zsoqYVma4Rc+Q+RGHqu/AAPskZaDA+2pT2De6mdSSudHcI YQGrtQAA0s4LKMCudAyGgYsUobXon31ILtZJC3z/JD2rYAntr0GA113//bi8elx6DXlw WN9AbYdzhhUBzK7yLyL99wpSARJO17GrGJxpm1bKpez4j7VeBB6nv4RbXnqw1hh+Sr4M CJENVhsKBtAHziTRyfbAUGYTG1B92Pmv3/ZswmAAHovCFwdGk2U7r9MIImWAqK83fman f9aA== X-Gm-Message-State: ALoCoQnhUfsx8nP5FHKdytTPwitv0tglwXIv8nkb2U9JwYrAoyv43bXFwhLZmDXAg/lP31zejwLT X-Received: by 10.50.17.9 with SMTP id k9mr10826983igd.3.1384717071454; Sun, 17 Nov 2013 11:37:51 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id hv5sm9600580igb.9.2013.11.17.11.37.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Nov 2013 11:37:51 -0800 (PST) Sender: Warner Losh From: Warner Losh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: make xdev broken Date: Sun, 17 Nov 2013 12:37:49 -0700 Message-Id: To: "toolchain@freebsd.org" Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 19:38:01 -0000 In 9.2 stable on amd64, make xdev is broken. sudo make xdev XDEV=3Di386 XDEV_ARCH=3Di386 terminates with In file included from = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/lib/Analysis/CFG.cpp:17: = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h: In static member function 'static bool = clang::MSInheritanceAttr::classof(const clang::Attr*)': = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h:148: error: 'LAST_MS_INHERITABLE' is not a = member of 'clang::attr' what's up with that? Any ideas on how to fix this? Warner From owner-freebsd-toolchain@FreeBSD.ORG Sun Nov 17 21:45:47 2013 Return-Path: Delivered-To: toolchain@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4BFC4CE for ; Sun, 17 Nov 2013 21:45:47 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97A1826C6 for ; Sun, 17 Nov 2013 21:45:44 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::982f:fa33:8d62:45e6] (unknown [IPv6:2001:7b8:3a7:0:982f:fa33:8d62:45e6]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4C85B5C43; Sun, 17 Nov 2013 22:45:39 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: make xdev broken From: Dimitry Andric In-Reply-To: Date: Sun, 17 Nov 2013 22:45:26 +0100 Message-Id: References: To: Warner Losh X-Mailer: Apple Mail (2.1822) Cc: "toolchain@freebsd.org" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 21:45:47 -0000 --Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 17 Nov 2013, at 20:37, Warner Losh wrote: > In 9.2 stable on amd64, make xdev is broken. >=20 > sudo make xdev XDEV=3Di386 XDEV_ARCH=3Di386 >=20 > terminates with >=20 > In file included from = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/lib/Analysis/CFG.cpp:17: > = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h: In static member function 'static bool = clang::MSInheritanceAttr::classof(const clang::Attr*)': > = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h:148: error: 'LAST_MS_INHERITABLE' is not a = member of 'clang::attr' >=20 > what's up with that? Any ideas on how to fix this? Was it ever supposed to work? As far as I can see in Makefile.inc1, it is only supposed to build binutils and gcc, but nothing clang-related. In any case, to build clang, you also need to build tblgen and clang-tblgen as bootstrap tools, otherwise you might end up with incorrectly generated .inc files. This is most likely the cause of the errors you list above. If the only purpose of xdev is to build binutils and gcc, the easiest solution is probably to exclude the clang libraries from the _xi-libraries target, for example by setting WITHOUT_CLANG to a non-empty value. -Dimitry --Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKJOP8ACgkQsF6jCi4glqMNlACdHvUNBKHLj7sJZ0xTdEw4dUMx /4sAoMscvAPd+UyEh7powdx1CGWJSUPY =0RGa -----END PGP SIGNATURE----- --Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F-- From owner-freebsd-toolchain@FreeBSD.ORG Sun Nov 17 22:50:29 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 946C679F for ; Sun, 17 Nov 2013 22:50:29 +0000 (UTC) Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 653D52A7C for ; Sun, 17 Nov 2013 22:50:29 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id u16so7463664iet.6 for ; Sun, 17 Nov 2013 14:50:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=xSh0NT0GyadUaXMIQoGtENVEq/lGS8cPB3v5Nz4U0Kc=; b=bwVS6Nta7HSpcvYP/gRLTewMJWXnp3B0S+trukgITQkKc/qfhXUY6GGXTbigISp4Vg nUAoqAmsf+crkFSRlOjbGlvP4OHtQhQ1eSsAbmmQetzukr8abWu5nqHn+6hkI+QpRiRR UHnL49/dcgsPsvDxT4Oy1RYloHZX7HDXcewYsLujjtkb9++ql2JKIMiKk6Flw6I78OgN sRgx3a58MCGLOlCYOOI9QehBh2D9OMNk+UZ146H83GfzsuG2B0bochy5BZfcO2AEMtpZ 4oKWsCB2eEPwGJrsSQwqzvVomBov0hYwyzEHl4Iw1wLOXs7dCsy1oy6qk2GNjXh283hC OHHw== X-Gm-Message-State: ALoCoQn1Ir5UJ9TKYPII7eTTm2ZdQJpwhUj5NXbChDC7OMWQx7ld7893VjV2HDpvskbdUrOk73uP X-Received: by 10.50.4.65 with SMTP id i1mr10747095igi.9.1384728628392; Sun, 17 Nov 2013 14:50:28 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id w7sm10418606igp.1.2013.11.17.14.50.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Nov 2013 14:50:27 -0800 (PST) Sender: Warner Losh Subject: Re: make xdev broken Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sun, 17 Nov 2013 15:50:26 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Dimitry Andric X-Mailer: Apple Mail (2.1085) Cc: "toolchain@freebsd.org" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 22:50:29 -0000 On Nov 17, 2013, at 2:45 PM, Dimitry Andric wrote: > On 17 Nov 2013, at 20:37, Warner Losh wrote: >> In 9.2 stable on amd64, make xdev is broken. >>=20 >> sudo make xdev XDEV=3Di386 XDEV_ARCH=3Di386 >>=20 >> terminates with >>=20 >> In file included from = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/lib/Analysis/CFG.cpp:17: >> = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h: In static member function 'static bool = clang::MSInheritanceAttr::classof(const clang::Attr*)': >> = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h:148: error: 'LAST_MS_INHERITABLE' is not a = member of 'clang::attr' >>=20 >> what's up with that? Any ideas on how to fix this? >=20 > Was it ever supposed to work? As far as I can see in Makefile.inc1, = it > is only supposed to build binutils and gcc, but nothing clang-related. But it builds clang stuff! Even though it isn't building clang. I added = WITHOUT_CLANG=3Dt... > In any case, to build clang, you also need to build tblgen and > clang-tblgen as bootstrap tools, otherwise you might end up with > incorrectly generated .inc files. This is most likely the cause of = the > errors you list above. That makes sense. > If the only purpose of xdev is to build binutils and gcc, the easiest > solution is probably to exclude the clang libraries from the > _xi-libraries target, for example by setting WITHOUT_CLANG to a > non-empty value. Yes. I realized that. I should fix this by adding that to the makefile. It isn't clear to me if xdev should evolve clang support or not. It was = done the way it was to be as compatible as possible with normal cross = development... I'm honestly not sure how to do that with clang.. The = clang guys just blew off (or were ignorant of) xdev, so it isn't = surprising it doesn't work. Annoying, but not surprising. Warner From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 21:20:03 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1890D37 for ; Mon, 18 Nov 2013 21:20:03 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 133F623CE7C for ; Mon, 18 Nov 2013 22:20:02 +0100 (CET) Message-ID: <528A8481.9010200@FreeBSD.org> Date: Mon, 18 Nov 2013 22:20:01 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org Subject: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 21:20:03 -0000 [Please keep me in Cc:, I am not subscribed.] Greetings, I have recently spent some efforts getting rawtherapee to compile on 10-stable. I think I succeeded, and came across something I find worth investigating. For just one of rawtherapee's files, clang++ 3.3's compile time is excessively long, compared both to the other files, as well as against gcc 4.6. System: FreeBSD 10.0-BETA3 #1 r258178: Fri Nov 15 20:00:11 CET 2013 toor@vmf10:/usr/obj/usr/src/sys/GENERIC Compiler: FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd10.0 Thread model: posix The port as it currently stands hacks the cmake-generated build.make to compile ipsharpen.cc with only -O1 option. If I remove that patch, so that the port compiles with -O2 or -O3, compiling that single file takes too long for me to wait for it, in excess of 10 minutes, on my 2.5 GHz AMD Phenom II X4. GCC 4.6 does not exhibit such behaviour. I have not yet isolated what might cause this, how would I best go about that so we can pin this issue and possibly fix clang++? Thanks. Best regards Matthias From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 22:04:54 2013 Return-Path: Delivered-To: freebsd-toolchain@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 ESMTPS id 4D3026FD; Mon, 18 Nov 2013 22:04:54 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0E7CC2A69; Mon, 18 Nov 2013 22:04:54 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::1c07:ea96:f4:d9c] (unknown [IPv6:2001:7b8:3a7:0:1c07:ea96:f4:d9c]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id ACE2B5C43; Mon, 18 Nov 2013 23:04:48 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_54762E6D-157F-4FBA-98AF-AC72DCAADFDB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) From: Dimitry Andric In-Reply-To: <528A8481.9010200@FreeBSD.org> Date: Mon, 18 Nov 2013 23:04:14 +0100 Message-Id: <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> References: <528A8481.9010200@FreeBSD.org> To: Matthias Andree X-Mailer: Apple Mail (2.1822) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:04:54 -0000 --Apple-Mail=_54762E6D-157F-4FBA-98AF-AC72DCAADFDB Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 18 Nov 2013, at 22:20, Matthias Andree wrote: > [Please keep me in Cc:, I am not subscribed.] > > Greetings, > > I have recently spent some efforts getting rawtherapee to compile on > 10-stable. I think I succeeded, and came across something I find worth > investigating. > > For just one of rawtherapee's files, clang++ 3.3's compile time is > excessively long, compared both to the other files, as well as against > gcc 4.6. > > System: FreeBSD 10.0-BETA3 #1 r258178: Fri Nov 15 20:00:11 CET 2013 > toor@vmf10:/usr/obj/usr/src/sys/GENERIC > > Compiler: FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix > > The port as it currently stands hacks the cmake-generated build.make to > compile ipsharpen.cc with only -O1 option. If I remove that patch, so > that the port compiles with -O2 or -O3, compiling that single file takes > too long for me to wait for it, in excess of 10 minutes, on my 2.5 GHz > AMD Phenom II X4. GCC 4.6 does not exhibit such behaviour. > > I have not yet isolated what might cause this, how would I best go about > that so we can pin this issue and possibly fix clang++? In general, first try to reproduce it with top-of-tree clang. If it does not occur there, the problem was fixed in the mean time, so the next question is which revision(s) fixed it, and if it is easy to import the fix on top of 3.3 release. This is usually done through bisection. If it also occurs with top-of-tree clang, either post a preprocessed file (.ii) to llvm.org's bugzilla, with the used optimization flags, or attempt to minimize the testcase yourself. I will have a look at the port meanwhile, I hope it does not pull in too many dependencies? -Dimitry --Apple-Mail=_54762E6D-157F-4FBA-98AF-AC72DCAADFDB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKKju8ACgkQsF6jCi4glqP1nACfegL0PnH8+fEIh8NrRA5KFDEN P54An3KU+lne1PYh2ITT0fP9H+XbQLV+ =vrBm -----END PGP SIGNATURE----- --Apple-Mail=_54762E6D-157F-4FBA-98AF-AC72DCAADFDB-- From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 22:20:52 2013 Return-Path: Delivered-To: toolchain@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 ESMTPS id 368B1A24 for ; Mon, 18 Nov 2013 22:20:52 +0000 (UTC) Received: from nm8-vm0.bullet.mail.bf1.yahoo.com (nm8-vm0.bullet.mail.bf1.yahoo.com [98.139.213.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E15862B50 for ; Mon, 18 Nov 2013 22:20:51 +0000 (UTC) Received: from [98.139.212.150] by nm8.bullet.mail.bf1.yahoo.com with NNFMP; 18 Nov 2013 22:18:53 -0000 Received: from [98.139.211.198] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 18 Nov 2013 22:18:53 -0000 Received: from [127.0.0.1] by smtp207.mail.bf1.yahoo.com with NNFMP; 18 Nov 2013 22:18:53 -0000 X-Yahoo-Newman-Id: 36532.81441.bm@smtp207.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: btO3nKIVM1llEkG8KZL03V_UFahXvGDULvuFhylaqeopRuK eTur9eLcshH25CddCQ6Xo4hihLf5RCNRuVPjNS347eg7wl.2_skQHh12tTGQ zQ9Q9H2rnT36X2HQj4M41O8DeU6nLMAg4geWFk98niP4Wfw9bDT0v8dC8v42 RGV.QaHVC6TVvkKIs9A.zHv8DEJ60YN4ftodxnTm0smCi3Xgvop.rUoCMVvz STYJVMioptjqAhuzq6dQ4G5JE18qFotgtnOUOP_Haf0Ryq5vVvPgEuHhYbYS ie56uQ.0bj6wyXKm3Wz5E1eExHs41JnjP3SICI2Gwpl_5QizetRw_mMulF0f Lw61stf16EOvCRShWUHxxvRriNnHpVEq9j.Bf3kQNeMQXGfH7tvCzzzvhRjN QWPXVqe5Dq8EjbOjufel03UeMx_XCvM.dR979T9aHmRCEvDm7SOtPy7u35yd DP2OIgh7d4FGUZMCY2ptexaibubdviFDWBqxNoizX8v_RGcNUXWvFAj24JwY xRBuI8AUi3iqaTa5C8nywmTQcwSsAJG2KGh_aUnf.XJQlyoAsb0HehyYL7s5 ZwIu.LF8ERWJam35ga_KxorPCdQjhcYx56BmFt3Db6xLIkXva9NA_je4dV_d 8zH4wIzil_05Fb7Fj1DgA1wdjmiooSkXxKoYbkQZ.uL_eiD30i0bdQhb_Zyn fExLUZ.xT7mS7TWZUeRXRt37unT5E5JHiU0CzbRtH_K55yHhYkjsDyJcDN06 lXP7JrxA_ikmgU.OLLB0S5gRCbkiH5Vyi.40- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with ) by smtp207.mail.bf1.yahoo.com with SMTP; 18 Nov 2013 14:18:52 -0800 PST Message-ID: <528A924A.8050904@FreeBSD.org> Date: Mon, 18 Nov 2013 17:18:50 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: toolchain@FreeBSD.org Subject: [CFT] Experimental gcc update Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:20:52 -0000 Hi; Apparently Google has an enhanced gcc distribution for Android [1] and I found a series of interesting patches there. Most of the patches are backports of patches produced by Google employees and submitted to the FSF. The license hasn't been changed from the GPLv2. While gcc doesn't have much a future in base, improving our old compiler is still good for some tier-2 platforms and for 9.x. The readme file was very useful to dig some GCC pre-4.3 bug reports and patches that have already been committed to -current. The remaining changes are here: http://people.freebsd.org/~pfg/patches/gcc/gcc-google.patch My kernel survived the initial round of testing but I have no hurry to commit it so more testers are welcome. Regards, Pedro. [1] https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/ From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 22:25:05 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7FE1AAC; Mon, 18 Nov 2013 22:25:05 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 247EF23CE7C; Mon, 18 Nov 2013 23:25:04 +0100 (CET) Message-ID: <528A93BF.3020707@FreeBSD.org> Date: Mon, 18 Nov 2013 23:25:03 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> In-Reply-To: <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8HTr4gKRusjVaDGXsXf3H46xh4mivcA7t" Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:25:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8HTr4gKRusjVaDGXsXf3H46xh4mivcA7t Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 18.11.2013 23:04, schrieb Dimitry Andric: > I will have a look at the port meanwhile, I hope it does not pull in to= o > many dependencies? Thanks for the prompt response. Trying top-of-clang-tree will take me a few days until I get around to it (is clang-devel good enough for a first attempt?) Dependencies: gtkmm-2.4 and libcanberra-gtk3.so with their dependencies will be the pain spots. They pulls in a lot of other GNOME-related mm-style libraries for C++ adaptation. If you already have Gtk+2 and 3, it's likely manageable. (Oh, and I wish we had more prominent error messages telling about an ABI mismatch between libc++ and libstdc++ than just the innocuous undefined references about - roughly - Glib::ustring::ustring(std::basic_string<> const &) - I needed to nm -sC the glibmm-2.0.so to figure out it provided the std::_1:: namespace stuff for c++ and finally figure out the libraries were alright but they were using the libc++ ABI rather than GCC's libstdc++.) --8HTr4gKRusjVaDGXsXf3H46xh4mivcA7t Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlKKk8AACgkQvmGDOQUufZVMjwCfXHN7yNtOZ20s7tQCljwCo8yQ gDwAoM9xZx0b+i4SR9vI7X/hLDDuNOZI =41bq -----END PGP SIGNATURE----- --8HTr4gKRusjVaDGXsXf3H46xh4mivcA7t-- From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 22:30:46 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E8FAB83; Mon, 18 Nov 2013 22:30:46 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E59E2BE7; Mon, 18 Nov 2013 22:30:45 +0000 (UTC) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D7F2F5C43; Mon, 18 Nov 2013 23:30:43 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) From: Dimitry Andric In-Reply-To: <528A93BF.3020707@FreeBSD.org> Date: Mon, 18 Nov 2013 23:30:16 +0100 Message-Id: References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> To: Matthias Andree X-Mailer: Apple Mail (2.1822) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:30:46 -0000 --Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 18 Nov 2013, at 23:25, Matthias Andree wrote: > Am 18.11.2013 23:04, schrieb Dimitry Andric: > >> I will have a look at the port meanwhile, I hope it does not pull in too >> many dependencies? > > Thanks for the prompt response. Trying top-of-clang-tree will take me a > few days until I get around to it (is clang-devel good enough for a > first attempt?) Can you please run the ipsharpen.cc compilation command with -save-temps added on your system, and then upload the resulting .ii file somewhere? That would save me the trouble of building most of GNOME, which it seems to pull in... :) > (Oh, and I wish we had more prominent error messages telling about an > ABI mismatch between libc++ and libstdc++ than just the innocuous > undefined references about - roughly - > Glib::ustring::ustring(std::basic_string<> const &) - I needed to nm -sC > the glibmm-2.0.so to figure out it provided the std::_1:: namespace > stuff for c++ and finally figure out the libraries were alright but they > were using the libc++ ABI rather than GCC's libstdc++.) Most of the time, you will only find out at link time if you have mixed libstdc++ and libc++ STL containers... I'm not sure if there is a nicer way to bring bad news. :-) -Dimitry --Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKKlQMACgkQsF6jCi4glqOKCwCeL7PB5+l5UvOdo0nCOkS+advx XzcAoJYD/iJu7YfSN1qWoAMfeutLOYSP =WPT+ -----END PGP SIGNATURE----- --Apple-Mail=_D136AC41-395C-497F-8AEF-722AB51E55F9-- From owner-freebsd-toolchain@FreeBSD.ORG Mon Nov 18 22:54:02 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDE4A706; Mon, 18 Nov 2013 22:54:01 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id B711623CE7C; Mon, 18 Nov 2013 23:54:00 +0100 (CET) Message-ID: <528A9A88.80904@FreeBSD.org> Date: Mon, 18 Nov 2013 23:54:00 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6njfJJk2QJsNTATh6a5XOh1ROofH6TrjW" Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 22:54:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6njfJJk2QJsNTATh6a5XOh1ROofH6TrjW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 18.11.2013 23:30, schrieb Dimitry Andric: > On 18 Nov 2013, at 23:25, Matthias Andree wrote: >> Am 18.11.2013 23:04, schrieb Dimitry Andric: >> >>> I will have a look at the port meanwhile, I hope it does not pull in = too >>> many dependencies? >> >> Thanks for the prompt response. Trying top-of-clang-tree will take me = a >> few days until I get around to it (is clang-devel good enough for a >> first attempt?) >=20 > Can you please run the ipsharpen.cc compilation command with -save-temp= s > added on your system, and then upload the resulting .ii file somewhere?= >=20 > That would save me the trouble of building most of GNOME, which it seem= s > to pull in... :) Uploaded. http://people.freebsd.org/~mandree/ has: : the xzipped .ii file (unpacked: 6.5 MB) : compiler command line (make VERBOSE=3D1 MAKE_JOBS_UNSAFE=3Dyes) and early warnings. It is still compiling, and these are the files in the working dir. work/rawtherapee-4.0.11/rtengine/ipsharpen.cc work/.build/rtengine/ipsharpen.ii work/.build/rtengine/ipsharpen.s-40cd6fd9 -O1, -Oz complete in c. 5 seconds, -Os require 5.6 s on my processor. -O2 has now spent more than 510 s I haven't dared -O3. I got: $ size work/.build/rtengine/CMakeFiles/rtengine.d text data bss dec hex filename 414247 16 168 414431 652df work/.build/rtengine/CMakeFiles/rtengine.dir/ipsharpen.cc.o and the .s file has also been xziped and uploaded to the URL above. (unpacked 3.5 MB). >> (Oh, and I wish we had more prominent error messages telling about an >> ABI mismatch between libc++ and libstdc++ than just the innocuous >> undefined references about - roughly - >> Glib::ustring::ustring(std::basic_string<> const &) - I needed to nm -= sC >> the glibmm-2.0.so to figure out it provided the std::_1:: namespace >> stuff for c++ and finally figure out the libraries were alright but th= ey >> were using the libc++ ABI rather than GCC's libstdc++.) >=20 > Most of the time, you will only find out at link time if you have mixed= > libstdc++ and libc++ STL containers... I'm not sure if there is a nice= r > way to bring bad news. :-) Glib shares the fate, because it defers to std:: containers where possibl= e. A nice way would require additional work and get the linkers to complain that symbols resolve with a different, incompatible ABI. That would, however, require second-guessing other ABIs and namespaces, and would hardly be portable -- or add ABI versions into the object files and .a and .so libraries, unless we already have ABI tags somewhere down deep in the ELF stuff. I never checked. --6njfJJk2QJsNTATh6a5XOh1ROofH6TrjW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlKKmogACgkQvmGDOQUufZUXoACgsV6iN28PLYSZE395ejveqaQm 38gAn3KZgfHuOUNDOnnbxSVGTjKpFIbJ =x4Kn -----END PGP SIGNATURE----- --6njfJJk2QJsNTATh6a5XOh1ROofH6TrjW-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 07:39:13 2013 Return-Path: Delivered-To: freebsd-toolchain@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 ESMTPS id 066D17A5; Tue, 19 Nov 2013 07:39:13 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A93529C0; Tue, 19 Nov 2013 07:39:12 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id rAJ7d3U6029543; Tue, 19 Nov 2013 09:39:03 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rAJ7d3U6029543 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rAJ7d3Te029542; Tue, 19 Nov 2013 09:39:03 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 19 Nov 2013 09:39:03 +0200 From: Konstantin Belousov To: Matthias Andree Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) Message-ID: <20131119073903.GX59496@kib.kiev.ua> References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SqVtrrZiLzYl8Wl+" Content-Disposition: inline In-Reply-To: <528A9A88.80904@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 07:39:13 -0000 --SqVtrrZiLzYl8Wl+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 18, 2013 at 11:54:00PM +0100, Matthias Andree wrote: > Glib shares the fate, because it defers to std:: containers where possibl= e. >=20 > A nice way would require additional work and get the linkers to complain > that symbols resolve with a different, incompatible ABI. That would, > however, require second-guessing other ABIs and namespaces, and would > hardly be portable -- or add ABI versions into the object files and .a > and .so libraries, unless we already have ABI tags somewhere down deep > in the ELF stuff. I never checked. The ABI there is an ABI of library, so linkers has nothing to do with such conflict resolution. Linker indeed could be tricked into stopping the linking if libstdc++ is linked into libc++-using binary. This can be hacked together with linker script for libc++ and use of ASSERT() and DEFINED() functions. But the right solution for the port troubles is to just switch to consistently use (newest) gcc for ports. I assume that Uses/compiler.mk finally allows to do this from the make.conf ? Anybody could share a working incantation to put there ? --SqVtrrZiLzYl8Wl+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSixWWAAoJEJDCuSvBvK1B/14QAKYI8SKImIVF6doyZVCZBFc9 t7LnnPZSu8FKTVLZTm9tctMdjcFWyffaQtWz1T8z+YPCwiIuAAfZpF7ZQPqs5zra fn1/Cdhfdd4y6PFijoGgvmsjKw3ijvZUz8X917WqaBUIUGTj37tqwZf2U0U36GqL zStUox1yo6lckE5TdNBYDssVZuBksrpx/uS1RHxs/4XAy3g10Xdu6fQCUYzMF2GO 4qkpdHWSjauN69VXmCInSfblzH5D/TmzEfo9Wv4+FW9OIfLTdTGE8BFb5bZc4PxE pW+CYPnkSWPLo6rQbRMCcVg/hVNo3hWAy6TcAj9HV6G6qDc36SZAZnapD78VAdkC WwVLhGbnV31PXFyfkLl/A++DvCVwaSaSPWCz3+0EqAgY2EGyey1jlC5L3x5kiDN0 XDCa64D7JYobCM30UffzjIe4koDEWW4M2IcZHYjBV79XWeS06Zd8vtE3xJeHMuv8 2XUXaGAXLDDrwHPUh+NGAnOewCxXdZyPgTkxym3qHXpI/YAC8irWAg1i34JFmDcG kydGWTQktj2kRta1JNnCwyUhWzHyGbpvpQNGqVvH310u/9UVwtguT2s+pnFO5/OA 97xC9q437pSYE1Wbd0hCsi5LHynJz9cvNIQD+zg+Q6GzfO9O2JDEiatOm5q8hEZ9 NGI0C4HPQ2ZYprfUNafU =ljhb -----END PGP SIGNATURE----- --SqVtrrZiLzYl8Wl+-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 07:50:11 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97E29C46; Tue, 19 Nov 2013 07:50:11 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 20A732A58; Tue, 19 Nov 2013 07:50:10 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::7d33:ea42:b519:bd90] (unknown [IPv6:2001:7b8:3a7:0:7d33:ea42:b519:bd90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 66D1B5C43; Tue, 19 Nov 2013 08:50:06 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_5F52A62D-76CD-41DA-90D7-B800976796D6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) From: Dimitry Andric In-Reply-To: <528A9A88.80904@FreeBSD.org> Date: Tue, 19 Nov 2013 08:49:53 +0100 Message-Id: References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> To: Matthias Andree X-Mailer: Apple Mail (2.1822) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 07:50:11 -0000 --Apple-Mail=_5F52A62D-76CD-41DA-90D7-B800976796D6 Content-Type: multipart/mixed; boundary="Apple-Mail=_6B0D564E-B2ED-4964-A617-C09A834DF87B" --Apple-Mail=_6B0D564E-B2ED-4964-A617-C09A834DF87B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 18 Nov 2013, at 23:54, Matthias Andree wrote: ... > Uploaded. http://people.freebsd.org/~mandree/ has: > > : the xzipped .ii > file (unpacked: 6.5 MB) > > : > compiler command line (make VERBOSE=1 MAKE_JOBS_UNSAFE=yes) > and early warnings. Ok, this looks like http://llvm.org/PR16474 , which has a relatively simple fix. I have attached it, can you please try it out? You can just apply the patch to /usr/src and do: make -C /usr/src/lib/clang make -C /usr/src/usr.bin/clang/clang sudo make -C /usr/src/usr.bin/clang/clang install It should basically recompile just one file, and re-link the clang executable. I tried building ipsharpen.ii at -O3, and it uses about 20 seconds now (on my relatively slow VM). -Dimitry --Apple-Mail=_6B0D564E-B2ED-4964-A617-C09A834DF87B Content-Disposition: attachment; filename=import-llvm-r191896-1.diff Content-Type: application/octet-stream; name="import-llvm-r191896-1.diff" Content-Transfer-Encoding: 7bit Index: contrib/llvm/lib/Analysis/CaptureTracking.cpp =================================================================== --- contrib/llvm/lib/Analysis/CaptureTracking.cpp (revision 258299) +++ contrib/llvm/lib/Analysis/CaptureTracking.cpp (working copy) @@ -146,8 +146,14 @@ void llvm::PointerMayBeCaptured(const Value *V, Ca case Instruction::PHI: case Instruction::Select: // The original value is not captured via this if the new value isn't. + Count = 0; for (Instruction::use_iterator UI = I->use_begin(), UE = I->use_end(); UI != UE; ++UI) { + // If there are lots of uses, conservatively say that the value + // is captured to avoid taking too much compile time. + if (Count++ >= Threshold) + return Tracker->tooManyUses(); + Use *U = &UI.getUse(); if (Visited.insert(U)) if (Tracker->shouldExplore(U)) --Apple-Mail=_6B0D564E-B2ED-4964-A617-C09A834DF87B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 --Apple-Mail=_6B0D564E-B2ED-4964-A617-C09A834DF87B-- --Apple-Mail=_5F52A62D-76CD-41DA-90D7-B800976796D6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKLGCsACgkQsF6jCi4glqOy3wCgndQTtyRI34gCaHBhgM5cSIm2 +ckAnj73b8Yd8+kJA2zJNnhlh/Eb2bHx =GjVy -----END PGP SIGNATURE----- --Apple-Mail=_5F52A62D-76CD-41DA-90D7-B800976796D6-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 08:10:31 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E21CE37; Tue, 19 Nov 2013 08:10:31 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id BAA0F23CE7C; Tue, 19 Nov 2013 09:10:29 +0100 (CET) Message-ID: <528B1CF5.4020706@FreeBSD.org> Date: Tue, 19 Nov 2013 09:10:29 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EMAbdm0umH5I7xo2CoMjH4lE9a2Pt0FEH" Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 08:10:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EMAbdm0umH5I7xo2CoMjH4lE9a2Pt0FEH Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 19.11.2013 08:49, schrieb Dimitry Andric: > On 18 Nov 2013, at 23:54, Matthias Andree wrote: > ... >> Uploaded. http://people.freebsd.org/~mandree/ has: >> >> : the xzipped .ii >> file (unpacked: 6.5 MB) >> >> := >> compiler command line (make VERBOSE=3D1 MAKE_JOBS_UNSAFE=3Dyes) >> and early warnings. >=20 > Ok, this looks like http://llvm.org/PR16474 , which has a relatively > simple fix. I have attached it, can you please try it out? You can > just apply the patch to /usr/src and do: >=20 > make -C /usr/src/lib/clang > make -C /usr/src/usr.bin/clang/clang > sudo make -C /usr/src/usr.bin/clang/clang install >=20 > It should basically recompile just one file, and re-link the clang > executable. I tried building ipsharpen.ii at -O3, and it uses about > 20 seconds now (on my relatively slow VM). Dimitry, thanks. The patch speeds up the compile by one and a half orders of magnitude, and we're down to 30 s for my VM and compiling the .ii file. The .cc now compiles in 22 s, rather than 500 s. Excellent, problem solved! Can we commit this (what the LLVM PR calls "regression") fix so it becomes part of 10.0-RELEASE? Best regards Matthias --EMAbdm0umH5I7xo2CoMjH4lE9a2Pt0FEH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlKLHPUACgkQvmGDOQUufZWUCQCcCARaLwLmgWdYBdrF3/SN0d14 G3cAn2Xy+Bp0a55m6MMCZRYBD/yexsTR =AvLQ -----END PGP SIGNATURE----- --EMAbdm0umH5I7xo2CoMjH4lE9a2Pt0FEH-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 08:25:29 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9E2B2DF; Tue, 19 Nov 2013 08:25:28 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 31D3B23CE7C; Tue, 19 Nov 2013 09:25:27 +0100 (CET) Message-ID: <528B2076.405@FreeBSD.org> Date: Tue, 19 Nov 2013 09:25:26 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: C++ ABI library incompatibilities c++/stdc++ (was: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port)) References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> <20131119073903.GX59496@kib.kiev.ua> In-Reply-To: <20131119073903.GX59496@kib.kiev.ua> X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NAl3THfvMFCmxhqccM35N6tfaEov9a9S9" Cc: freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 08:25:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NAl3THfvMFCmxhqccM35N6tfaEov9a9S9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 19.11.2013 08:39, schrieb Konstantin Belousov: > On Mon, Nov 18, 2013 at 11:54:00PM +0100, Matthias Andree wrote: >> Glib shares the fate, because it defers to std:: containers where poss= ible. >> >> A nice way would require additional work and get the linkers to compla= in >> that symbols resolve with a different, incompatible ABI. That would, >> however, require second-guessing other ABIs and namespaces, and would >> hardly be portable -- or add ABI versions into the object files and .a= >> and .so libraries, unless we already have ABI tags somewhere down deep= >> in the ELF stuff. I never checked. >=20 > The ABI there is an ABI of library, so linkers has nothing to do with > such conflict resolution. Nor should it. The only thing we could do to help is complain directly that the missing symbols are caused by attempting to linking libraries of different, incompatible ABIs. > Linker indeed could be tricked into stopping the linking if libstdc++ > is linked into libc++-using binary. This can be hacked together with > linker script for libc++ and use of ASSERT() and DEFINED() functions. >=20 > But the right solution for the port troubles is to just switch to > consistently use (newest) gcc for ports. I assume that Uses/compiler.mk= > finally allows to do this from the make.conf ? Anybody could share a > working incantation to put there ? That is not a solution, but an unnecessary limitation. We should make it possible to install the same library for multiple ABIs. I talked with bapt/bdrewery a tiny bit on IRC yesterday, and they fear mainly the overhead of installing the dependent C++ libraries on multiple ABI versions (say, glibmm-libstdc++-2.0, glibmm-libc++-2.0, or finding better names for the ABI), but we would only need the libraries, but not the documents or binaries or shared stuff, twice. Of course we'd need to write Mk/bsd.port.mk code to pull up dependencies specific to a certain ABI for C++ ports. I won't accept the flimsy excuses "c++ is a pain anyways, we should use objC" or "c++ has always been a pain on FreeBSD" that were offered on #bsdports. We need to change that, and we've come a good way already and are almost there. I take it that as of an up-to-date gcc48 patchlevel with an up-to-date libstdc++ this combo claims full C++11 support, too, but I like the plurality and having to support multiple compilers can only raise code quality. Still I do not see why we would want to force the whole ports world away from the system's base compiler. For graphics/rawtherapee, having fixing the compile time issue in clang and pending a commit to the 10.0-RELEASE, 10-stable and HEAD branches where applicable, we're almost there. Side note: The only remaining issue is OpenMP support, and help is on its way: . --NAl3THfvMFCmxhqccM35N6tfaEov9a9S9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlKLIHYACgkQvmGDOQUufZWDcgCgm/rZLcsZM/qKsyFRkBg0QJf/ kUEAn1cdSk5RMW/7Yi5CBvaGxtP7tL2N =sJwp -----END PGP SIGNATURE----- --NAl3THfvMFCmxhqccM35N6tfaEov9a9S9-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 10:28:20 2013 Return-Path: Delivered-To: freebsd-toolchain@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 ESMTPS id 41693671; Tue, 19 Nov 2013 10:28:20 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F36B92508; Tue, 19 Nov 2013 10:28:19 +0000 (UTC) Received: from [192.168.2.2] (unknown [77.243.161.229]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id F27A25C43; Tue, 19 Nov 2013 11:28:15 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_A6A80C7C-84BD-40E8-B006-16C7DCF7E3A0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) From: Dimitry Andric In-Reply-To: <528B1CF5.4020706@FreeBSD.org> Date: Tue, 19 Nov 2013 11:27:56 +0100 Message-Id: References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> <528B1CF5.4020706@FreeBSD.org> To: Matthias Andree X-Mailer: Apple Mail (2.1822) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 10:28:20 -0000 --Apple-Mail=_A6A80C7C-84BD-40E8-B006-16C7DCF7E3A0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 19 Nov 2013, at 09:10, Matthias Andree wrote: > Am 19.11.2013 08:49, schrieb Dimitry Andric: ... >> Ok, this looks like http://llvm.org/PR16474 , which has a relatively >> simple fix. I have attached it, can you please try it out? You can >> just apply the patch to /usr/src and do: >> >> make -C /usr/src/lib/clang >> make -C /usr/src/usr.bin/clang/clang >> sudo make -C /usr/src/usr.bin/clang/clang install >> >> It should basically recompile just one file, and re-link the clang >> executable. I tried building ipsharpen.ii at -O3, and it uses about >> 20 seconds now (on my relatively slow VM). > > Dimitry, > > thanks. > > The patch speeds up the compile by one and a half orders of magnitude, > and we're down to 30 s for my VM and compiling the .ii file. > > The .cc now compiles in 22 s, rather than 500 s. > > Excellent, problem solved! > > Can we commit this (what the LLVM PR calls "regression") fix so it > becomes part of 10.0-RELEASE? I will commit it to head tonight, and after the normal MFC period of 3 days I will ask re@ to approve merging it to stable/10. -Dimitry --Apple-Mail=_A6A80C7C-84BD-40E8-B006-16C7DCF7E3A0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKLPTgACgkQsF6jCi4glqNqaACggqtpFy1JivxLw9yedA/XsISd D3MAoP5ps0Y78aIuRlYcOmdUU9IQxGLg =THdV -----END PGP SIGNATURE----- --Apple-Mail=_A6A80C7C-84BD-40E8-B006-16C7DCF7E3A0-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 19 21:47:10 2013 Return-Path: Delivered-To: freebsd-toolchain@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 ESMTPS id D37ED247; Tue, 19 Nov 2013 21:47:10 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8F9772F4E; Tue, 19 Nov 2013 21:47:10 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::c15d:ea72:2ef6:f811] (unknown [IPv6:2001:7b8:3a7:0:c15d:ea72:2ef6:f811]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 758FC5C43; Tue, 19 Nov 2013 22:47:01 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_C6061032-72D2-46FE-8344-A7996F22F446"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: clang++ 3.3 issue (excessively slow compile vs. gcc 4.6 in just one file of a port) From: Dimitry Andric In-Reply-To: Date: Tue, 19 Nov 2013 22:46:50 +0100 Message-Id: <4722DA13-9B92-424E-8AAC-5512D769A4A0@FreeBSD.org> References: <528A8481.9010200@FreeBSD.org> <62194A12-1B41-48F6-8434-BA2181411020@FreeBSD.org> <528A93BF.3020707@FreeBSD.org> <528A9A88.80904@FreeBSD.org> <528B1CF5.4020706@FreeBSD.org> To: Matthias Andree X-Mailer: Apple Mail (2.1822) Cc: freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 21:47:10 -0000 --Apple-Mail=_C6061032-72D2-46FE-8344-A7996F22F446 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 19 Nov 2013, at 11:27, Dimitry Andric wrote: > On 19 Nov 2013, at 09:10, Matthias Andree wrote: >> Am 19.11.2013 08:49, schrieb Dimitry Andric: > ... >>> Ok, this looks like http://llvm.org/PR16474 , which has a relatively >>> simple fix. ... >> Excellent, problem solved! >> >> Can we commit this (what the LLVM PR calls "regression") fix so it >> becomes part of 10.0-RELEASE? > > I will commit it to head tonight, and after the normal MFC period of 3 > days I will ask re@ to approve merging it to stable/10. Fix committed as r258350. This will probably make it into 10.0. -Dimitry --Apple-Mail=_C6061032-72D2-46FE-8344-A7996F22F446 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKL3E4ACgkQsF6jCi4glqN2hQCgwbni52udozYWLzZHZMjindC9 HhgAoPefoHB4kpzCahxYDZ2kl1fFDGMc =NTYg -----END PGP SIGNATURE----- --Apple-Mail=_C6061032-72D2-46FE-8344-A7996F22F446-- From owner-freebsd-toolchain@FreeBSD.ORG Fri Nov 22 07:41:46 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2119688 for ; Fri, 22 Nov 2013 07:41:45 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 901E523CE7C for ; Fri, 22 Nov 2013 08:41:43 +0100 (CET) Message-ID: <528F0AB7.6040306@FreeBSD.org> Date: Fri, 22 Nov 2013 08:41:43 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org Subject: Clang crash on i386 (Fwd: [REL - head-i386-default][graphics/rawtherapee] Failed for rawtherapee-4.0.11_2 in build) References: <201311212319.rALNJR95064746@beefy1.isc.freebsd.org> In-Reply-To: <201311212319.rALNJR95064746@beefy1.isc.freebsd.org> X-Enigmail-Version: 1.5.2 X-Forwarded-Message-Id: <201311212319.rALNJR95064746@beefy1.isc.freebsd.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 07:41:46 -0000 Is this i386-specific compiler crash in clang a known issue? The amd64 build seems fine, by constrast: Can I, for bug reporting purposes, use a different OS or compiler version to derive the .ii files? That would ease my bug reporting. Or does it have to be the exact same? Then I'd have to set up HEAD or 10 for i386 (or at least try if a poudriere i386 jail and amd64 reproduces the problem). -------- Original-Nachricht -------- Betreff: [REL - head-i386-default][graphics/rawtherapee] Failed for rawtherapee-4.0.11_2 in build Datum: Thu, 21 Nov 2013 23:19:27 GMT Von: pkg-fallout@FreeBSD.org An: mandree@FreeBSD.org Kopie (CC): pkg-fallout@FreeBSD.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: mandree@FreeBSD.org Last committer: mandree@FreeBSD.org Ident: $FreeBSD: head/graphics/rawtherapee/Makefile 334119 2013-11-17 20:07:07Z mandree $ Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-21_12h33m28s/logs/rawtherapee-4.0.11_2.log Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-21_12h33m28s Log: ====>> Building graphics/rawtherapee build started at Thu Nov 21 23:14:39 UTC 2013 port directory: /usr/ports/graphics/rawtherapee building for: FreeBSD head-i386-default-job-13 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 i386 maintained by: mandree@FreeBSD.org Makefile ident: $FreeBSD: head/graphics/rawtherapee/Makefile 334119 2013-11-17 20:07:07Z mandree $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1100000 UNAME_v=FreeBSD 11.0-CURRENT r256430 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref PKG_EXT=txz tpid=92828 POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=rawtherapee-4.0.11_2 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for rawtherapee-4.0.11_2: OPENMP=on: Enable multicore processing using OpenMP OPTIMIZED_CFLAGS=on: Use extra compiler optimizations ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" PKG_CONFIG=pkgconf TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -pthread" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- RTDIR="/usr/local/libdata/rawtherapee" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rawtherapee DOCSDIR=/usr/local/share/doc/rawtherapee EXAMPLESDIR=/usr/local/share/examples/rawtherapee WWWDIR=/usr/local/www/rawtherapee ETCDIR=/usr/local/etc/rawtherapee --End SUB_LIST-- ---Begin make.conf--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for rawtherapee-4.0.11_2 =================================================== =========================================================================== =================================================== ===> rawtherapee-4.0.11_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.1.4_10.txz Installing pkg-1.1.4_10... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of rawtherapee-4.0.11_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by rawtherapee-4.0.11_2 for building =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by rawtherapee-4.0.11_2 for building => SHA256 Checksum OK for rawtherapee-4.0.11.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by rawtherapee-4.0.11_2 for building ===> Extracting for rawtherapee-4.0.11_2 => SHA256 Checksum OK for rawtherapee-4.0.11.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for rawtherapee-4.0.11_2 ===> Applying FreeBSD patches for rawtherapee-4.0.11_2 =========================================================================== =================================================== ===> rawtherapee-4.0.11_2 depends on file: /usr/local/bin/cmake - not found ===> Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake ===> Installing existing package /packages/All/cmake-2.8.12.1.txz Installing cmake-2.8.12.1...Installing cmake-modules-2.8.12.1... done done ===> Returning to build of rawtherapee-4.0.11_2 ===> rawtherapee-4.0.11_2 depends on executable: pkgconf - not found ===> Verifying install for pkgconf in /usr/ports/devel/pkgconf ===> Installing existing package /packages/All/pkgconf-0.9.3.txz Installing pkgconf-0.9.3... done ===> Returning to build of rawtherapee-4.0.11_2 ===> rawtherapee-4.0.11_2 depends on executable: update-desktop-database - not found ===> Verifying install for update-desktop-database in /usr/ports/devel/desktop-file-utils ===> Installing existing package /packages/All/desktop-file-utils-0.22_1.txz Installing desktop-file-utils-0.22_1...Installing gettext-0.18.3.1... done Installing glib-2.36.3...Installing python27-2.7.5_4... done Installing python2-2_1... done Installing python-2.7_1,2... done Installing perl5-5.16.3_3...Removing /usr/local/etc/perl5_version... Done. Creating /usr/local/etc/perl5_version... Done. Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5 Done. done Installing pcre-8.33... done Installing libffi-3.0.13... done No schema files found: doing nothing. done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of rawtherapee-4.0.11_2 ===> rawtherapee-4.0.11_2 depends on executable: gtk-update-icon-cache - not found ===> Verifying install for gtk-update-icon-cache in /usr/ports/graphics/gtk-update-icon-cache ===> Installing existing package /packages/All/gtk-update-icon-cache-2.24.19.txz Installing gtk-update-icon-cache-2.24.19...Installing xproto-7.0.24... done Installing xineramaproto-1.2.1... done Installing xf86vidmodeproto-2.3.1... done Installing xextproto-7.2.1... done Installing xcb-util-renderutil-0.3.8...Installing libXau-1.0.8... done Installing libXdmcp-1.1.1... done Installing libpthread-stubs-0.3_4... done Installing libxcb-1.9.1...Installing libxml2-2.8.0_2... done done Installing xcb-util-0.3.9_1,1... done done Installing renderproto-0.11.1... done Installing randrproto-1.4.0... done Installing pixman-0.30.2... done Installing libXxf86vm-1.1.3...Installing libXext-1.3.2,1...Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done done done done Installing libXrender-0.9.8... done Installing libXrandr-1.4.2... done Installing libXinerama-1.1.3,1... done Installing libXi-1.7.2,1...Installing libXfixes-5.0.1...Installing fixesproto-5.0... done done Installing inputproto-2.3... done done Installing libXdamage-1.1.4...Installing damageproto-1.2.1... done done Installing libXcursor-1.1.14... done Installing libXcomposite-0.4.4,1...Installing compositeproto-0.4.2... done In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 10%] Building CXX object rtengine/CMakeFiles/rtengine.dir/image8.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/image8.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image8.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image8.cc:21: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image8.h:25: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imageio.h:30: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 7 [ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/image16.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/image16.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image16.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image16.cc:19: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/image16.h:25: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imageio.h:30: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 11%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagefloat.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/imagefloat.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagefloat.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagefloat.cc:20: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagefloat.h:25: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imageio.h:30: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 8 [ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imagedata.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/imagedata.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagedata.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagedata.cc:19: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagedata.h:29: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 12%] Building CXX object rtengine/CMakeFiles/rtengine.dir/imageio.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/imageio.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imageio.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imageio.cc:29: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/options.h:23: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/../rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 9 [ 13%] Building CXX object rtengine/CMakeFiles/rtengine.dir/improcfun.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/improcfun.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/improcfun.cc /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/improcfun.cc:2:1: warning: '/*' within block comment [-Wcomment] /* ^ In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/improcfun.cc:24: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/improcfun.cc:2570:72: warning: implicit conversion from 'float' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] if(params->dirpyrDenoise.enabled && chromaticity ==0) chromaticity = 0.5f; ~ ^~~~ 3 warnings generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 13%] Building CXX object rtengine/CMakeFiles/rtengine.dir/init.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/init.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/init.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/init.cc:19: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 10 [ 14%] Building CXX object rtengine/CMakeFiles/rtengine.dir/dcrop.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/dcrop.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/dcrop.cc /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/dcrop.cc:2:1: warning: '/*' within block comment [-Wcomment] /* ^ In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/dcrop.cc:20: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/dcrop.h:22: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/improccoordinator.h:22: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 2 warnings generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 14%] Building CXX object rtengine/CMakeFiles/rtengine.dir/loadinitial.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/loadinitial.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/loadinitial.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/loadinitial.cc:19: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 11 [ 15%] Building CXX object rtengine/CMakeFiles/rtengine.dir/procparams.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/procparams.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/procparams.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/procparams.cc:30: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/mydiagonalcurve.h:26: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/mycurve.h:26: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/coloredbar.h:23: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/guiutils.h:23: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/../rtgui/../rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles [ 15%] Building CXX object rtengine/CMakeFiles/rtengine.dir/rawimagesource.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/rawimagesource.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rawimagesource.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rawimagesource.cc:22: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ 1 warning generated. /usr/local/bin/cmake -E cmake_progress_report /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/CMakeFiles 12 [ 16%] Building CXX object rtengine/CMakeFiles/rtengine.dir/demosaic_algos.cc.o cd /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine && /usr/bin/c++ -DBZIP_SUPPORT -DMYFILE_MMAP -DNDEBUG -D_DNDEBUG -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -O2 -pipe -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -fno-strict-aliasing -I/usr/local/include -fPIC -Qunused-arguments -O3 -ffast-math -fexpensive-optimizations -funroll-loops -msse -I/wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/libiptcdata -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/in clude/atkmm-1.6 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -o CMakeFiles/rtengine.dir/demosaic_algos.cc.o -c /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/demosaic_algos.cc In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/demosaic_algos.cc:22: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rawimagesource.h:22: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/imagesource.h:24: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/rtengine.h:31: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/iimage.h:33: In file included from /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/colortemp.h:24: /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/sleef.c:78:17: warning: implicit conversion from 'double' to 'int' changes value from 2147483648 to 2147483647 [-Wliteral-conversion] e = d == 0 ? -2147483648.0 : e; ~ ^~~~~~~~~~~~ Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple i386-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name demosaic_algos.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -ffp-contract=fast -ffast-math -masm-verbose -mconstructor-aliases -target-cpu i486 -target-feature +sse -coverage-file /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine/CMakeFiles/rtengine.dir/demosaic_algos.cc.o -resource-dir /usr/bin/../lib/clang/3.3 -D BZIP_SUPPORT -D MYFILE_MMAP -D NDEBUG -D _DNDEBUG -I /usr/local/include -I /usr/local/include -I /usr/local/include -I /usr/local/include -I /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -I /usr/local/include/glib-2.0 -I /usr/local/include -I /usr/local/include/glibmm-2.4 -I /usr/local/lib/glibmm-2.4/include -I /usr/local/include/sigc++-2.0 -I /usr/local/lib/sigc++-2.0/include -I /usr/local/include/libiptcdata -I /usr/local/include/gtkmm-2.4 -I /usr/ local/lib/gtkmm-2.4/include -I /usr/local/include/atkmm-1.6 -I /usr/local/include/gtk-unix-print-2.0 -I /usr/local/include/gdkmm-2.4 -I /usr/local/lib/gdkmm-2.4/include -I /usr/local/include/giomm-2.4 -I /usr/local/lib/giomm-2.4/include -I /usr/local/include/pangomm-1.4 -I /usr/local/lib/pangomm-1.4/include -I /usr/local/include/cairomm-1.0 -I /usr/local/lib/cairomm-1.0/include -I /usr/local/include/gtk-2.0 -I /usr/local/include/gio-unix-2.0 -I /usr/local/include/atk-1.0 -I /usr/local/include/cairo -I /usr/local/include/pixman-1 -I /usr/local/include/gdk-pixbuf-2.0 -I /usr/local/include/libpng15 -I /usr/local/include/pango-1.0 -I /usr/local/include/freetype2 -I /usr/local/include/harfbuzz -internal-isystem /usr/include/c++/v1 -O3 -fdeprecated-macro -fdebug-compilation-dir /wrkdirs/usr/ports/graphics/rawtherapee/work/.build/rtengine -ferror-limit 19 -fmessage-length 0 -funroll-loops -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptio ns -fdiagnostics-show-option -backend-option! -vectorize-loops -o CMakeFiles/rtengine.dir/demosaic_algos.cc.o -x c++ /wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/demosaic_algos.cc 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/wrkdirs/usr/ports/graphics/rawtherapee/work/rawtherapee-4.0.11/rtengine/demosaic_algos.cc'. 4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN8rtengine14RawImageSource13hphd_verticalEPPfii' c++: error: unable to execute command: Segmentation fault (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: i386-unknown-freebsd11.0 Thread model: posix c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/demosaic_algos-ooaqZ3.cpp c++: note: diagnostic msg: /tmp/demosaic_algos-ooaqZ3.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. make[3]: stopped in /wrkdirs/usr/ports/graphics/rawtherapee/work/.build *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/graphics/rawtherapee/work/.build *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/graphics/rawtherapee/work/.build *** Error code 1 Stop. make: stopped in /usr/ports/graphics/rawtherapee ===> Cleaning for rawtherapee-4.0.11_2 From owner-freebsd-toolchain@FreeBSD.ORG Sat Nov 23 22:13:01 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4537DD30 for ; Sat, 23 Nov 2013 22:13:01 +0000 (UTC) Received: from nm26-vm0.bullet.mail.bf1.yahoo.com (nm26-vm0.bullet.mail.bf1.yahoo.com [98.139.213.74]) by mx1.freebsd.org (Postfix) with SMTP id E15C72E15 for ; Sat, 23 Nov 2013 22:13:00 +0000 (UTC) Received: from [98.139.214.32] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 23 Nov 2013 22:11:05 -0000 Received: from [98.139.213.12] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 23 Nov 2013 22:11:05 -0000 Received: from [127.0.0.1] by smtp112.mail.bf1.yahoo.com with NNFMP; 23 Nov 2013 22:11:05 -0000 X-Yahoo-Newman-Id: 748128.88397.bm@smtp112.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: oHuib40VM1nVdK6P2vJkqVcaSSFovs91jpAcA41eS1EKAQP A4AoOOdP05YJXsO05.BWBpPoMoBO1WtyrdBAvu2F8S1d_sE84UvDCMwzYkCy CW70zuzEVNPa10MDySS9DW9FPO58tdIjZZtY3NEV1ptBjUIxzk64wyfZZYqK FFfMJDWzAZoPZvesV4ZGsvUgAFStxGeTJsKIeOfbuecAU9Tv4knU5Q90Ec.t BbLW_J_HsA.XJOQapv4rY8NT_oVcNc.V7KWkAdn3g7zyftuISrB5HfXd_jCZ 3HgYF_VMR.2YOk23TROi1zNnwRszszOkqKdwDvP2YXzxZB_nPgWFOwJcpKfX nQzv9hgHpmrowHagbXezEF8WVud.ysBM7SpodpznwlHi1JoCyWpr.f.qi2Pa LRNWQcUv2nMrovfHoqtHJdiR4VoAAfXVLJZnTaByYkyUIAgD2kpXZbc_LYtL OjRwDG68c3s44WMCZ66ilwL6z.42d2c4zGziK7WW5KZdl3Bvynn25XXmF0Z2 wP1YKGJbxC57T_zSwLS0JQs7Jf.i3FyUdi9A17NQqSbbeLEby62OQOAZV_F9 ZSFOkIzY_lQ62zDOLO5ms7HuKk51OpbBXd78mYnmBzvvoWVTDC_a21HdemGJ 7wY5n2Q6E2xs2TKm84cU- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with ) by smtp112.mail.bf1.yahoo.com with SMTP; 23 Nov 2013 14:11:05 -0800 PST Message-ID: <529127F8.5080606@FreeBSD.org> Date: Sat, 23 Nov 2013 17:11:04 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: toolchain@FreeBSD.org Subject: Apple's GCC 42 enhancements (was Re: [CFT] Experimental gcc update). References: <528A924A.8050904@FreeBSD.org> In-Reply-To: <528A924A.8050904@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2013 22:13:01 -0000 Hi; I committed the patches from Google's old gcc 4.2.1. I would like to work slowly on bringing some changes from Apple's GCC now. I have particular interest in -fwritable-strings and the block support, mostly with the idea of making our gcc somewhat more compatible to clang. Maybe someone is interested in something else so I thought I would share this site I set up: http://code.google.com/p/apple-gcc/ I basically uploaded several apple gcc42 versions as SVN revisions so I can check changes between different versions and generate diffs. If I have time I would also like to merge back some of our fixes to Apple's GCC but for now it is just a tool to examine the existing GPLv2 changes from Apple. Enjoy, Pedro.