On 20 Mar 2018, at 21:30, bertrand <[email protected]> wrote:
> 
> Le mardi 20 mars 2018 à 10:46 +0000, David Chisnall a écrit :
>> There are two issues.  The first is the warnings in the libobjc2 build.  
>> These warnings are telling you that objc_msgSend and 
>> imp_implementationWithBlock (neither of which can be implemented in C) are 
>> not available on your platform.  This means that you can’t use blocks as 
>> IMPs and you must use the older two-stage dispatch mechanism (which clang 
>> will default to for architectures where libobjc2 does not implement the 
>> objc_msgSend family).
>> 
>> I would be very happy to help anyone who wants to add PowerPC support to 
>> these code paths, but I personally have a very low tolerance for PowerPC 
>> assembly and no easy access to PowerPC hardware, so won’t be doing it myself.
>> 
>> The later errors are coming from gas, which appears not to be supporting 
>> some of the assembly that clang is generating.  You can try using 
>> -integrated-as, which tells clang to generate object code directly rather 
>> than via gas.  I don’t know what the status is for PowerPC, but a newer 
>> version might help here (PowerPC in LLVM has had a lot of work from IBM and 
>> Argone National Labs recently).
>> 
>> David
>> 
> 
> I've set CC to 'clang -integrated-as' and CXX as well. Not a complete
> success. But there is some progress. It fails at link times now in
> ManyManySelectors.m because objc_msgSend is called . See below.
> Thanks,

It looks as if the library has built correctly, but some of the tests fail to 
compile.  The easiest thing to do is run ccmake and disable building the tests.

David


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to