Re: GNUstep on Windows using Clang + MSVC ABI

2021-03-22 Thread David Chisnall
Thanks, I’m taking next week off for Easter - hopefully I’ll have some time to look at both of these then. I don’t think either is much work to fix, if I can easily set up the test environment. David > On 22 Mar 2021, at 16:53, Frederik Seiffert wrote: > > Hi David, > >> Am 02.02.2021 um

Re: GNUstep on Windows using Clang + MSVC ABI

2021-03-22 Thread Frederik Seiffert
Hi David, > Am 02.02.2021 um 12:29 schrieb David Chisnall : > lld-link: error: relocation against symbol in discarded section: __start_.objcrt$SEL >>> referenced by C:\msys64\tmp\conftest-78a937.o:(.objc_init) This is reproducible when building a file that calls ObjC runtime

Re: GNUstep on Windows using Clang + MSVC ABI

2021-02-09 Thread David Chisnall
On 09/02/2021 16:20, Richard Frith-Macdonald wrote: On 29 Jan 2021, at 16:28, David Chisnall wrote: We have given up supporting MinGW for snmalloc and I am considering optionally supporting snmalloc for Objective-C object allocations since it is much faster than the system malloc on

Re: GNUstep on Windows using Clang + MSVC ABI

2021-02-09 Thread Richard Frith-Macdonald
> On 29 Jan 2021, at 16:28, David Chisnall wrote: > > We have given up supporting MinGW for snmalloc and I am considering > optionally supporting snmalloc for Objective-C object allocations since it is > much faster than the system malloc on most platforms and is particularly good > for

Re: GNUstep on Windows using Clang + MSVC ABI

2021-02-02 Thread David Chisnall
On 01/02/2021 18:24, Frederik Seiffert wrote: Sorry everyone, looks like my earlier draft got sent out prematurely... Am 29.01.2021 um 17:28 schrieb David Chisnall mailto:gnus...@theravensnest.org>>: ld -r is pretty flaky everywhere.  LLD wasn't going to implement it at all and GNUstep was

Re: GNUstep on Windows using Clang + MSVC ABI

2021-02-01 Thread Frederik Seiffert
Sorry everyone, looks like my earlier draft got sent out prematurely... > Am 29.01.2021 um 17:28 schrieb David Chisnall : > > ld -r is pretty flaky everywhere. LLD wasn't going to implement it at all > and GNUstep was one of only two consumers so I think it's fair to say that > it's pretty

Re: GNUstep on Windows using Clang + MSVC ABI

2021-02-01 Thread Frederik Seiffert
>> - Linking subproject object files directly (instead of merging) >> As David had suspected, merging the subproject object files turned out to be >> an issue: `ld -r` is not available on Windows, and using `ar cr` resulted in >> a subproject.o that didn’t contain all the symbols (I’m guessing

Re: GNUstep on Windows using Clang + MSVC ABI

2021-01-29 Thread David Chisnall
On 29/01/2021 16:03, Frederik Seiffert wrote: Good news everyone: I’ve successfully built Base on Windows with Clang, libobjc2, and the MSVC ABI. This results in lib, DLL, and PDB files that should be usable in any Windows app without using the MinGW toolchain. *Very* nice! I’ve opened