#1105: [PATCH] change to a libjit based frame builder
----------------------+-----------------------------------------------------
Reporter: plobsing | Owner: jkeenan
Type: patch | Status: assigned
Priority: normal | Milestone:
Component: core | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Comment(by jkeenan):
While `Configure.pl` now completes in the ''auto_libjit'' branch, I got a
`make` failure when building on Linux/i386. Complete `make` output is
attached; here are the most relevant lines:
{{{
335 src/frame_builder.c
336 src/frame_builder_libjit.c
337 In file included from src/frame_builder_libjit.c:20:
338 src/frame_builder_libjit.h:26:5: warning: "PARROT_HAS_LIBJIT" is not
defined
339 src/frame_builder_libjit.c:22:5: warning: "PARROT_HAS_LIBJIT" is not
defined
...
470 compilers/imcc/imcparser.c: In function 'yyparse':
471 compilers/imcc/imcparser.c:3092: warning: statement with no effect
472 compilers/imcc/imcparser.c:5225: warning: logical '&&' with non-zero
constant w ill always evaluate as true
473 compilers/imcc/imcparser.c:5228: warning: statement with no effect
474 compilers/imcc/imcparser.c:5385: warning: statement with no effect
475 compilers/imcc/imcparser.c:5389: warning: statement with no effect
476 compilers/imcc/imcc.y:1360: warning: ignoring return value of
'iSUBROUTINE', de clared with attribute warn_unused_result
...
496 ( cd blib/lib ; ln -sf libparrot.so.1.6.0 libparrot.so )
497 src/main.c
498 /usr/local/bin/perl tools/build/parrot_config_c.pl --mini > \
499 src/null_config.c
500 src/null_config.c
501 cc -o miniparrot src/main.o src/null_config.o \
502 -Wl,-rpath=/home/jimk/work/auto_libjit/blib/lib
-L/home/jimk/work/auto_libj it/blib/lib -lparrot -lpthread -lm
-L/usr/lib -licuuc -licudata -lpthread -lm -lnsl -ldl -lm -lcrypt
-lutil -lpthread -lrt -lgmp -lreadline -fstack-protecto r
-L/usr/local/lib -Wl,-E
503 /home/jimk/work/auto_libjit/blib/lib/libparrot.so: undefined reference
to `Parr ot_jit_build_call_func'
504 collect2: ld returned 1 exit status
505 make: *** [miniparrot] Error 1
}}}
For comparison purposes, 'normal' `make` output on this box is approx 795
lines long. As you can see, this build died at line 505.
Thank you very much.
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1105#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets