#502: [PATCH] build on OpenBSD/ppc
----------------------+-----------------------------------------------------
Reporter: smallm | Type: bug
Status: closed | Priority: normal
Milestone: | Component: core
Version: trunk | Severity: medium
Resolution: fixed | Keywords: build
Lang: | Patch:
Platform: openbsd |
----------------------+-----------------------------------------------------
Comment(by smallm):
Replying to [comment:2 Infinoid]:
> Thanks, this should be fixed in r38186. Please reopen this ticket if
the issue persists.
Sorry for taking so long to try this out.
I now get this compilation error:
{{{
perl tools/build/jit2c.pl ppc src/exec_cpu.c
jit2c: JITed 144 (+ 206 vtable) of 1260 ops
src/exec_cpu.c
src/exec_dep.c
src/exec_save.c
src/exec_save.c: In function `Parrot_exec_save':
src/exec_save.c:363: error: `RELOC_REL24' undeclared (first use in this
function)
src/exec_save.c:363: error: (Each undeclared identifier is reported only
once
src/exec_save.c:363: error: for each function it appears in.)
src/exec_save.c:370: error: `RELOC_16_HI' undeclared (first use in this
function)
src/exec_save.c:382: error: `RELOC_16_LO' undeclared (first use in this
function)
gmake: *** [src/exec_save.o] Error 1
}}}
I think NetBSD must pull in a machine/reloc.h file that doesn't get swept
in on OpenBSD.[[BR]]
The patch below (src_exec_openbsd_include_reloc_h.patch) lets it compile
and all tests[[BR]]
pass for me on OpenBSD 4.5/ppc. I tried in on OpenBSD 4.5/i386 to check,
and it was[[BR]]
okay there too.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/502#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets