From owner-freebsd-toolchain@freebsd.org Sun Oct 2 03:17:16 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43EB4AC4331 for ; Sun, 2 Oct 2016 03:17:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-72.reflexion.net [208.70.210.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE4A7FDE for ; Sun, 2 Oct 2016 03:17:15 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12244 invoked from network); 2 Oct 2016 03:17:07 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 2 Oct 2016 03:17:07 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Sat, 01 Oct 2016 23:17:11 -0400 (EDT) Received: (qmail 3257 invoked from network); 2 Oct 2016 03:17:08 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Oct 2016 03:17:08 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 5200BEC885B; Sat, 1 Oct 2016 20:17:03 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: From llvm: Fwd: [Bug 26970] clang 3.8.0 for powerpc64 vs. FreeBSD buildworld: error: invalid float ABI 'soft float is not supported for ppc64' [llvm r283060/r283061 are a fix] From: Mark Millard Date: Sat, 1 Oct 2016 20:17:02 -0700 Cc: FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <02B888C5-B4FB-4A7D-9DB1-31F29D98799B@dsl-only.net> References: To: Dimitry Andric , FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 02 Oct 2016 03:17:16 -0000 llvm's bugzilla reports that as of llvm's -r283060/-r283061 = TARGET_ARCH=3Dpowerpc64 (in FreeBSD terms) has soft-float available in = clang (probably this is on/from trunk). See the forward below. This was another of the items blocking use of clang 3.8.0 for buildworld = and the like for powerpc64. This is another fix by Hal Finkel, one of the two people that have = recently been working on things that block clang's use as the system = compiler for TARGET_ARCH=3Dpowerpc64 and TARGET_ARCH=3Dpowerpc for = FreeBSD. [Note: Lots of the fixes made so far would be required for clang's that = are from ports and target powerpc64 and/or powerpc as well, especially = for powerpc since clang produces code that has (SVR4) ABI violations for = stack handling. (so-called "red-zone" on stack for signal handling = required to protect that stack --but the ABI says such should not be = required and the standard kernel does not provide such.)] With the prior llvm -r282174 completing the SVR4 stack handling ABI = fixes for TARGE_ARCH=3Dpowerpc plus the work before that I expect this = leaves only some of the C++ exception handling defects from what I'd = submitted as bugzilla reports to llvm, for powerpc64 and for powerpc. If projects/clang390-import also picks up these latest fixes ( -r282174 = , -r283060 , -r283061 ) some interesting powerpc64 and powerpc = experiments should be possible. (But it will be around a couple of weeks = before I've got access to the powerpc64 and powerpc machines again.) =3D=3D=3D Mark Millard markmi at dsl-only.net Begin forwarded message: > From: bugzilla-daemon[ at ]llvm.org > Subject: [Bug 26970] clang 3.8.0 for powerpc64 vs. FreeBSD buildworld: = error: invalid float ABI 'soft float is not supported for ppc64' > Date: October 1, 2016 at 7:12:07 PM PDT > To: >=20 > Hal Finkel changed bug 26970=20 > What Removed Added > Status NEW RESOLVED > Resolution --- FIXED >=20 > Comment # 1 on bug 26970 from Hal Finkel > r283060/r283061 enables soft-float for PPC64. >=20 > You are receiving this mail because: > =E2=80=A2 You reported the bug. >=20 From owner-freebsd-toolchain@freebsd.org Wed Oct 5 03:25:27 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63D63AF5E27 for ; Wed, 5 Oct 2016 03:25:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 52F35BB9 for ; Wed, 5 Oct 2016 03:25:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u953PRY8072901 for ; Wed, 5 Oct 2016 03:25:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 213217] [patch] Passing -isystem /usr/include to clang breaks C++ compilation Date: Wed, 05 Oct 2016 03:25:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 03:25:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-toolchain@FreeBSD.o | |rg Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Oct 5 10:43:11 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 273F4AF686E for ; Wed, 5 Oct 2016 10:43:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F204D37A for ; Wed, 5 Oct 2016 10:43:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u95AhAcR022605 for ; Wed, 5 Oct 2016 10:43:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 213217] [patch] Passing -isystem /usr/include to clang breaks C++ compilation Date: Wed, 05 Oct 2016 10:43:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Rejected X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 10:43:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org Status|New |Closed Resolution|--- |Rejected --- Comment #2 from Dimitry Andric --- Short answer: Don't use -isystem /usr/include. If you do so for C++ programs, you mess up the include search path order. = If you must do it for some reason, you must also add -isystem entries for the = C++ include directories, and at the front of the list. For example, a C++ program will use the following search path by default (w= here x.y.z is the clang version): #include "..." search starts here: #include <...> search starts here: /usr/include/c++/v1 /usr/bin/../lib/clang/x.y.z/include /usr/include End of search list. >From libc++ 3.8.0 onwards, if you include a C standard header, such as , you will get libc++'s wrapper header first. This header sets up= a few things, then does #include_next, and with the above search pa= th, this finds /usr/include/stddef.h. (We don't install clang's internal stdde= f.h, since it is not compatible with our system headers yet.) However, if you add -isystem /usr/include, you force /usr/include to be the first in the list, e.g. the search path will become: ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/include /usr/include/c++/v1 /usr/bin/../lib/clang/x.y.z/include End of search list. If you now include , and it eventually does #include_next, it will attempt to search the paths *after* /usr/include/c++/v1, and will n= ot be able to find the header. Summary: If for some reason you must completely rebuild the header search p= ath from scratch, you need to add -isystem /usr/include/c++/v1 *before* -isyst= em /usr/include. But it is better not to do this at all. :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Oct 7 09:27:11 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A49B2C00449 for ; Fri, 7 Oct 2016 09:27:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93C6EA9E for ; Fri, 7 Oct 2016 09:27:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u979RBJj010020 for ; Fri, 7 Oct 2016 09:27:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 213217] [patch] Passing -isystem /usr/include to clang breaks C++ compilation Date: Fri, 07 Oct 2016 09:27:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Rejected X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Oct 2016 09:27:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 ohartman@zedat.fu-berlin.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ohartman@zedat.fu-berlin.de --- Comment #3 from ohartman@zedat.fu-berlin.de --- See Bug 211808 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Fri Oct 7 09:30:33 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB520C005B7 for ; Fri, 7 Oct 2016 09:30:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA3A1DEC for ; Fri, 7 Oct 2016 09:30:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u979UXOE016240 for ; Fri, 7 Oct 2016 09:30:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 213217] [patch] Passing -isystem /usr/include to clang breaks C++ compilation Date: Fri, 07 Oct 2016 09:30:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartman@zedat.fu-berlin.de X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Rejected X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Oct 2016 09:30:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213217 --- Comment #4 from ohartman@zedat.fu-berlin.de --- I see the problem arising on two ports, graphics/opencv-core and graphics/blender. Both ports do not compile on CURRENT on several machines, while they compile on other systems, also running CURRENT. The configuratio= ns (especially /etc/src.conf and /etc/make.conf) are spread around our systems= , so I consider the systems not identical, but very similar. I know this is not enough in terms of mathematical logik and approval. --=20 You are receiving this mail because: You are the assignee for the bug.=