[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch to fix Makefile.clang in libobjc2
From: |
Charlie Sharpsteen |
Subject: |
Re: Patch to fix Makefile.clang in libobjc2 |
Date: |
Mon, 8 Aug 2011 08:15:55 -0700 |
Oops, the first patch I sent out was short a couple of changes that added files like arc.m, associate.m and a garbage collection source. Attached is a complete patch.
Also, it looks like the file blocks_runtime.m is compiled by the other Makefiles, but Clang doesn't like it for some reason:
Linking bitcode...
llvm-ld: error: Cannot link file 'blocks_runtime.bc': Linking globals named 'block_getType_np': symbol multiply defined!
I have no idea why there would be multiply defined symbols---everything seems to be declared appropriately.
-Charlie
On Mon, Aug 8, 2011 at 6:27 AM, David Chisnall
<theraven@sucs.org> wrote:
Thanks!
Makefile.clang was work-in-progress - I completely forgot that I'd committed it, so thanks for finishing it. The generated library seems a lot smaller with link-time optimisation - it'll be interesting to see if it's any faster...
David
On 8 Aug 2011, at 14:15, Fred Kiefer wrote:
> Hi David,
>
> you really need to subscribe to this mailing list too.
>
> Fred
>
> -------- Original-Nachricht --------
> Betreff: Patch to fix Makefile.clang in libobjc2
> Datum: Sun, 7 Aug 2011 00:18:49 -0700
> Von: Charlie Sharpsteen <chuck@sharpsteen.net>
> An: bug-gnustep@gnu.org
>
> Hello,
>
> Downloaded libobjc2-1.5.1 and tried compiling it using Makefile.clang---it
> failed. Attached is a patch that makes some updates that should allow
> Makefile.clang to compile libobjc2.
>
> Hope it helps.
>
> -Charlie
>
> <0001-Update-Makefile.clang.patch><Nachrichtenteil als Anhang.txt>
-- Sent from my Apple II
0001-Update-Makefile.clang.patch
Description: Binary data