ATI radeon 3450 with new xorg

Dimitry Andric dim at FreeBSD.org
Tue Jul 29 19:13:02 UTC 2014


On 28 Jul 2014, at 22:09, Dimitry Andric <dim at freebsd.org> wrote:
> On 23 Jul 2014, at 09:35, Jean-Sébastien Pédron <jean-sebastien.pedron at dumbbell.fr> wrote:
...
>> The bug is described here:
>> http://llvm.org/bugs/show_bug.cgi?id=19778
>> 
>> I add Dimitry into the loop: Dimitry, do you have any news for this
>> Clang bug?
> 
> I haven't seen any updates from upstream on this bug.  I will try again
> to get some attention, but in the mean time, I propose the workaround
> patch which I have attached.  This simply avoids the duplicate symbol
> definitions, and makes the libglapi port work with clang.
> 
> The resulting assembly output looks the same in the places that count,
> but I do not have the proper hardware to test if the libglapi support
> really works as expected.  Can somebody with actual GL hardware please
> verify that it doesn't blow up?

Here is an updated diff, which produces the same @GOTOFF accesses as
were generated by gcc originally, by marking the symbols as hidden.

This should work for both clang and gcc (base or ports).

-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphics__libGL-workaround-duplicate-asm-defs-2.diff
Type: application/octet-stream
Size: 2748 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20140729/783d168c/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20140729/783d168c/attachment.sig>


More information about the freebsd-x11 mailing list