From owner-freebsd-x11@freebsd.org Sat Dec 16 21:07:11 2017 Return-Path: Delivered-To: freebsd-x11@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 5312FE8F757 for ; Sat, 16 Dec 2017 21:07: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 4080574918 for ; Sat, 16 Dec 2017 21:07: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 vBGL7BDH016748 for ; Sat, 16 Dec 2017 21:07:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-x11@FreeBSD.org Subject: [Bug 201623] /usr/ports/graphics/dri fails on powerpc Date: Sat, 16 Dec 2017 21:07:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-x11@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-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 21:07:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201623 --- Comment #6 from Mark Millard --- (In reply to Mark Millard from comment #4) A clang status update: clang 4 and clang 5 are better behaved for TARGET_ARCH=3Dpowerpc . There is a problem if clang built the system library code involved in handling thrown C++ exceptions (process crash). But there was a fix to the system ld to fix clang-based C++ exception operation when the system libraries are built by gcc (such as the system gcc 4.2.1 compiler): Roman Divacky rdivacky at freebsd.org wrote on Sat Oct 7 10:03:10 UTC 2017 : > In a followup to https://lists.freebsd.org/pipermail/freebsd-toolchain/20= 17-May/002961.html >=20=20 > I attempted to fix gnu ld in base to fix the wrongly set bit. >=20 > The following patch=20 > http://www.vlakno.cz/~rdivacky/ppc64.exceptions.fix.patch >=20 > switches a few computations to happen in 64bits instead of 32bit and fixe= s the > wrong personality/LDSA info in binaries. >=20 > As a result clang compiled/assembled c++ binaries with EH start to work f= or me. >=20 > Can someone verify this works for everyone? I can see the same cast in up= stream > binutils but in a couple more places, so this is probably not the final a= nswer > but is good enough for me. For more see: https://lists.freebsd.org/pipermail/freebsd-toolchain/2017-October/003349.h= tml --=20 You are receiving this mail because: You are the assignee for the bug.=