[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dotgnu-libjit] Compilation Error on Mac OS X x86-64
From: |
Noah Lavine |
Subject: |
Re: [Dotgnu-libjit] Compilation Error on Mac OS X x86-64 |
Date: |
Mon, 4 Oct 2010 13:02:31 -0400 |
Thanks a lot!
Unfortunately I must report another compilation error :/.
This time it's the linker. I get ld: duplicate symbol
__jit_intrinsic_signature in .libs/jit-apply.o and .libs/jit-alloc.o
The following trivial patch fixes it:
diff --git a/jit/jit-internal.h b/jit/jit-internal.h
index 83d0bb4..5d152ca 100644
--- a/jit/jit-internal.h
+++ b/jit/jit-internal.h
@@ -776,7 +776,7 @@ extern struct _jit_type const _jit_type_void_ptr_def;
* Special signatures are conv and conv_ovf for type conversions without
* and with overflow checks.
*/
-enum
+typedef enum
{
JIT_SIG_NONE = 0,
JIT_SIG_i_i = 1,
All tests pass on my machine.
Thanks
Noah
On Mon, Oct 4, 2010 at 10:43 AM, <address@hidden> wrote:
> Hi Noah,
>
>>Hello LibJIT Developers,
>>
>>I tried to compile libjit 0.1.2 on an x86-64 system running Mac OS X,
>>and I encountered the following error. This is while making the jit
>>directory:
>>
>>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>>-I.. -I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall
>>-fno-omit-frame-pointer -MT jit-apply.lo -MD -MP -MF
>>.deps/jit-apply.Tpo -c -o jit-apply.lo jit-apply.c
>> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I. -I.
>>-fno-gcse -g -O2 -Wall -fno-omit-frame-pointer -MT jit-apply.lo -MD
>>-MP -MF .deps/jit-apply.Tpo -c jit-apply.c -fno-common -DPIC -o
>>.libs/jit-apply.o
>>/var/folders/k-/k-np0PLEE5ucAx7tx2rw0U+++TI/-Tmp-//ccnPwgb5.s:1189:junk
>>address@hidden' after expression
>>/var/folders/k-/k-np0PLEE5ucAx7tx2rw0U+++TI/-Tmp-//ccnPwgb5.s:1274:junk
>>address@hidden' after expression
>>/var/folders/k-/k-np0PLEE5ucAx7tx2rw0U+++TI/-Tmp-//ccnPwgb5.s:1813:junk
>>address@hidden' after expression
>>/var/folders/k-/k-np0PLEE5ucAx7tx2rw0U+++TI/-Tmp-//ccnPwgb5.s:1930:junk
>>address@hidden' after expression
>>
>>Could anyone suggest where I would start to look to solve this?
>>
>
> this issue is fixed in the current libjit GIT repository version.
> You should use the GIT version because there are a lot of other issues fixed
> too.
>
> See http://dotgnu.org/pnet-git.html
>
> Cheers,
> Klaus
> ___________________________________________________________
> Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02
>