2008/5/24 chromatic <[EMAIL PROTECTED]>: > On Friday 23 May 2008 04:06:45 NotFound wrote: > > > Looking better at the Parrot_exec_rel_... vars, they are not intended > > to be exported at all, they are globals for private usage between exec > > and jit, so they don't need the API or DATA things. This patch cleans > > it, make sure they are defined only in jit.c and declared as extern in > > the others, and also moves his declaration in 386 jit_emit.h before > > his first usage. > > > > I hope that this changes will solve the issue in all platforms. > > > > Next step will be to try to get rid of these globals. > > As this builds in PPC and 64-bit x86 and 32-bit x86, I applied it as > r27785. > Thanks! >
on Windows, since r27785, the command 'make hello' can't link. Info: resolving _op_jit by linking to __imp__op_jit (auto-import) src\exec_start.o: In function `emit_disp8_32': D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_addr' D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_count' D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_addr' D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_count' src\exec_start.o: In function `emit_r_X': ... the attached patch fixes it. François. > > -- c > >
hello.patch
Description: Binary data