[MacPorts] #50169: MoarVM to nqp does not build | 32-bit problem? | Snow Leopard 10.6.8

MacPorts noreply at macports.org
Tue Dec 29 07:26:33 PST 2015


#50169: MoarVM to nqp does not build | 32-bit problem? | Snow Leopard 10.6.8
---------------------------------+--------------------------------
 Reporter:  drennan@…            |      Owner:  macports-tickets@…
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.3.4
 Keywords:  MoarVM, nqp, rakudo  |       Port:  MoarVM
---------------------------------+--------------------------------
 I'm ecstatic to see rakudo here. A looooong time ago I managed to get it
 to compile on my Snow Leopard 10.6.8 Hackintosh. I recall this involved
 explicitly stating "darwin" as a system and "gcc" as compiler and without
 jit. But then after that it wouldn't work, so I decided to wait until all
 the beginning lumps were beaten out of it and it showed up as a port.

 I'm attaching the debug statements for MoarVM which *seems* to build, but
 not without a lot of complaining. Beyond that, nqp fails to build, and I'm
 attaching its build log as well. I have a feeling there's a problem with
 32-bitness, and perhaps this flag: -D_DARWIN_USE_64_BIT_INODE=1 but I am
 not sure.

 The warnings from clang are:


 {{{
 clang: warning: argument unused during compilation: '-fno-optimize-
 sibling-calls'
 clang: warning: argument unused during compilation: '-O3'
 warning: unknown warning option '-Wno-logical-op-parentheses' [-Wunknown-
 warning-option]
 }}}

 and


 {{{
 src/jit/emit_x64.dasc:1443:328: warning: shift count >= width of type
         dasm_put(Dst, 2235, Dt1E([cont]), DtC(->st),
 DtF(->container_spec), (unsigned int)((uintptr_t)("Cannot assign to an
 immutable value")), (unsigned int)(((uintptr_t)("Cannot assign to an
 immutable value"))>>32), (unsigned
 int)((uintptr_t)&MVM_exception_throw_adhoc), (unsigned
 int)(((uintptr_t)&MVM_exception_throw_adhoc)>>32), Dt1E([obj]));
 }}}

 My research online seems to show that MoarVM is possible on 10.6.8, and
 recently (August). If this has changed, I guess I probably need to know
 that. Otherwise, I'm wondering if it is possible to add variants to the
 port for, say, a gcc compile or no jit?

 If I am completely off the mark, apologies in advance. Thanks for any
 assistance.

-- 
Ticket URL: <https://trac.macports.org/ticket/50169>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list