Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2017 21:07:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ppc@FreeBSD.org
Subject:   [Bug 201623] /usr/ports/graphics/dri fails on powerpc
Message-ID:  <bug-201623-21-INuRTukN0L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201623-21@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201623-21@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201623

--- Comment #6 from Mark Millard <markmi@dsl-only.net> ---
(In reply to Mark Millard from comment #4)

A clang status update:

clang 4 and clang 5 are better behaved for
TARGET_ARCH=powerpc . 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/2017-May/002961.html
>  
> I attempted to fix gnu ld in base to fix the wrongly set bit.
> 
> The following patch 
> http://www.vlakno.cz/~rdivacky/ppc64.exceptions.fix.patch
> 
> switches a few computations to happen in 64bits instead of 32bit and fixes the
> wrong personality/LDSA info in binaries.
> 
> As a result clang compiled/assembled c++ binaries with EH start to work for me.
> 
> Can someone verify this works for everyone? I can see the same cast in upstream
> binutils but in a couple more places, so this is probably not the final answer
> but is good enough for me.

For more see:

https://lists.freebsd.org/pipermail/freebsd-toolchain/2017-October/003349.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201623-21-INuRTukN0L>