Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Failing make on Darwin...

0 views
Skip to first unread message

Alberto Simões

unread,
Oct 16, 2005, 9:50:02 AM10/16/05
to perl6-i...@perl.org
The make:

[...]
../../parrot mklib.pir >PGE/Library.pir
make[1]: *** [PGE.pbc] Error 138
make: *** [compilers.dummy] Error 2


Debugging a little:

[ambs@Diabelli pge]$ ../../parrot mklib.pir > PGE/Library.pir
Bus error
[ambs@Diabelli pge]$ gdb ../../parrot
GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT 2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols for
shared libraries .... done

(gdb) r mklib.pir
Starting program: /Users/ambs/tmp/parrot/parrot mklib.pir
Reading symbols for shared libraries .+ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0001065c in PackFile_Segment_new_seg (interpreter=0xd00150, dir=0x0,
type=5, name=0xd68e00 "BYTECODE_EVAL_1_DB", add=0) at src/packfile.c:1160
1160 struct PackFile *pf = dir->base.pf;
(gdb) bt
#0 0x0001065c in PackFile_Segment_new_seg (interpreter=0xd00150,
dir=0x0, type=5, name=0xd68e00 "BYTECODE_EVAL_1_DB", add=0) at
src/packfile.c:1160
#1 0x00012c0c in Parrot_new_debug_seg (interpreter=0xd00150,
cs=0xd4fb10, size=13) at src/packfile.c:2225
#2 0x000dd7c4 in e_pbc_emit (interpreter=0xd00150, param=0x0,
unit=0xd38a80, ins=0xd3a530) at imcc/pbc.c:1148
#3 0x0001a7b8 in emit_flush (interp=0xd00150, param=0x0, unit=0xd38a80)
at imcc/instructions.c:586
#4 0x0001aa70 in imc_compile_unit (interp=0xd00150, unit=0xd38a80) at
imcc/imc.c:73
#5 0x0001acac in imc_close_unit (interp=0xd00150, unit=0xd38a80) at
imcc/imc.c:140
#6 0x0002077c in yyparse (interp=0xd00150) at imcc/imcc.y:412
#7 0x0000e628 in compile_string (interp=0xd00150, s=0xa59000
".namespace [ \"PGE::Rule\" ]\n\n.sub _pge_rule\n .param pmc mob\n
.local pmc corou\n $P0 = find_global \"PGE::Match\", \"newfrom\"\n
mob = $P0(mob)\n newsub corou, .Coroutine, __pge_rule_coroutine\n
"...) at imcc/imcc.l:981
#8 0x0001d0c8 in imcc_compile (interp=0xd00150, s=0xa59000 ".namespace
[ \"PGE::Rule\" ]\n\n.sub _pge_rule\n .param pmc mob\n .local pmc
corou\n $P0 = find_global \"PGE::Match\", \"newfrom\"\n mob =
$P0(mob)\n newsub corou, .Coroutine, __pge_rule_coroutine\n "...,
pasm_file=0) at imcc/parser_util.c:697
#9 0x0001d26c in imcc_compile_pir (interp=0xd00150, s=0xa59000
".namespace [ \"PGE::Rule\" ]\n\n.sub _pge_rule\n .param pmc mob\n
.local pmc corou\n $P0 = find_global \"PGE::Match\", \"newfrom\"\n
mob = $P0(mob)\n newsub corou, .Coroutine, __pge_rule_coroutine\n
"...) at imcc/parser_util.c:738
#10 0x0025340c in pcf_P_Jt (interpreter=0xd00150, self=0xf12200) at
src/nci.c:2563
#11 0x00201348 in Parrot_Compiler_invoke (interpreter=0xd00150,
pmc=0xf12200, code_ptr=0x3b4ddd8) at classes/compiler.pmc:42
#12 0x0006a92c in Parrot_invokecc_p (cur_opcode=0x3b4ddd0,
interpreter=0xd00150) at ops/core.ops:413
#13 0x001dcff4 in runops_slow_core (interpreter=0xd00150, pc=0x3b4ddd0)
at src/runops_cores.c:153
#14 0x0004c430 in runops_int (interpreter=0xd00150, offset=0) at
src/interpreter.c:750
#15 0x000453f4 in runops (interpreter=0xd00150, offs=0) at
src/inter_run.c:81
#16 0x000456dc in runops_args (interpreter=0xd00150, sub=0xf121d0,
obj=0x201b1d0, meth=0x0, sig=0x26aafc "vP", ap=0xbffff5c4 "") at
src/inter_run.c:181
#17 0x00045880 in Parrot_runops_fromc_args (interpreter=0xd00150,
sub=0xf121d0, sig=0x26aafc "vP") at src/inter_run.c:275
#18 0x00018660 in Parrot_runcode (interpreter=0xd00150, argc=1,
argv=0xbffff790) at src/embed.c:841
#19 0x000183cc in Parrot_runcode (interpreter=0xd00150, argc=1,
argv=0xbffff790) at src/embed.c:772
#20 0x000043c8 in main (argc=1, argv=0xbffff790) at imcc/main.c:643
(gdb)
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal

Jonathan Worthington

unread,
Oct 16, 2005, 3:44:20 PM10/16/05
to Alberto Simões, perl6-i...@perl.org
"Alberto Simões" <al...@alfarrabio.di.uminho.pt> wrote:
> The make:
>
> [...]
> ../../parrot mklib.pir >PGE/Library.pir
> make[1]: *** [PGE.pbc] Error 138
> make: *** [compilers.dummy] Error 2
>
Fixed before the message hit the mailing list. ;-)

Thanks again,

Jonathan

0 new messages