Ports x11/gnustep/ failures on macppc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ports x11/gnustep/ failures on macppc

Anthony Richardby
Greetings all,
I've spent some time looking into getting the GNUstep packages working
under clang on macppc, and it seems that the root cause of the failure
is va_arg simply not working correctly when passed type 'id'. The
workaround to get all of the GNUstep packages compiling correctly
right now is replacing any occurance of va_arg(_, id) with va_arg(_,
void*). Having done this, I've got a fully working set of gnustep
packages which I've been using for a few weeks without issue now.

I've got a patch that does this for base and a few other packages if
anyone is interested.
I've also filed a bug report here:
https://bugs.llvm.org/show_bug.cgi?id=47921

Anyways, this is just an 'FYI' in case anyone cares!

Thanks,
Anthony.

Reply | Threaded
Open this post in threaded view
|

Re: Ports x11/gnustep/ failures on macppc

George Koehler-2
On Tue, 20 Oct 2020 21:05:48 +0100
Anthony Richardby <[hidden email]> wrote:

> Greetings all,
> I've spent some time looking into getting the GNUstep packages working
> under clang on macppc, and it seems that the root cause of the failure
> is va_arg simply not working correctly when passed type 'id'....
> I've also filed a bug report here:
> https://bugs.llvm.org/show_bug.cgi?id=47921

Hi Anthony.  Thank you for finding the va_arg(_, id) bug; I didn't
know about the bug until I saw your mail.  I started commenting on the
llvm bug, where I shared a clang diff that might fix va_arg(_, id).
If the diff works, then I will mail it to OpenBSD's tech list before
I might commit it to OpenBSD's clang.

--George

Reply | Threaded
Open this post in threaded view
|

Re: Ports x11/gnustep/ failures on macppc

Anthony Richardby
That's really great to hear, thank you very much for looking into this
and putting the time in to create a patch.

On 2020-10-23 01:49:32 +0100 George Koehler <[hidden email]> wrote:

> On Tue, 20 Oct 2020 21:05:48 +0100
> Anthony Richardby <[hidden email]> wrote:
>
>> Greetings all,
>> I've spent some time looking into getting the GNUstep packages
>> working
>> under clang on macppc, and it seems that the root cause of the
>> failure
>> is va_arg simply not working correctly when passed type 'id'....
>> I've also filed a bug report here:
>> https://bugs.llvm.org/show_bug.cgi?id=47921
>
> Hi Anthony.  Thank you for finding the va_arg(_, id) bug; I didn't
> know about the bug until I saw your mail.  I started commenting on the
> llvm bug, where I shared a clang diff that might fix va_arg(_, id).
> If the diff works, then I will mail it to OpenBSD's tech list before
> I might commit it to OpenBSD's clang.
>
> --George
>
>