Created
July 24, 2013 13:44
-
-
Save crab2313/6070706 to your computer and use it in GitHub Desktop.
moarvm & nqp-cc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd src/ops && /usr/bin/ops2c C --dynamic mvmcc.ops | |
/usr/bin/nqp --target=pir ../lib/MAST/Ops.nqp > MASTOps.pir | |
# Parsing mvmcc.ops... | |
# Parsed mvmcc.ops in 0.148 seconds; found 3 ops. | |
# Ops parsed in 0.165 seconds. | |
cd src/ops && clang -c -o mvmcc_ops.o -I/usr/include/parrot/5.6.0-devel -I/usr/include/parrot/5.6.0-devel/pmc -D_REENTRANT -D_GNU_SOURCE -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.11/include -fPIC -march=native -O2 -pipe -funit-at-a-time -Wall -Wextra -Waggregate-return -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Werror=missing-braces -Wmissing-declarations -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Werror=undef -Wno-unused -Wvariadic-macros -Wwrite-strings -Wc++-compat -Werror=declaration-after-statement -Werror=implicit-function-declaration -Wmissing-prototypes -Werror=nested-externs -Werror=old-style-definition -Werror=strict-prototypes -I.. mvmcc_ops.c | |
cd src && clang -c -o compiler.o -I/usr/include/parrot/5.6.0-devel -I/usr/include/parrot/5.6.0-devel/pmc -D_REENTRANT -D_GNU_SOURCE -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.11/include -fPIC -march=native -O2 -pipe -funit-at-a-time -Wall -Wextra -Waggregate-return -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Werror=missing-braces -Wmissing-declarations -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Werror=undef -Wno-unused -Wvariadic-macros -Wwrite-strings -Wc++-compat -Werror=declaration-after-statement -Werror=implicit-function-declaration -Wmissing-prototypes -Werror=nested-externs -Werror=old-style-definition -Werror=strict-prototypes -I. -DPARROT_OPS_BUILD ../../src/mast/compiler.c | |
../../src/mast/compiler.c:208:19: warning: unused parameter 'interp' | |
[-Wunused-parameter] | |
void ensure_space(VM, char **buffer, unsigned int *alloc, unsigned int p... | |
^ | |
./nodes_parrot.h:131:12: note: expanded from macro 'VM' | |
#define VM PARROT_INTERP | |
^ | |
/usr/include/parrot/5.6.0-devel/parrot/interpreter.h:102:67: note: expanded from | |
macro 'PARROT_INTERP' | |
#define PARROT_INTERP /*@notnull@*/ /*@in@*/ ARGMOD(Parrot_Interp interp) | |
^ | |
/usr/include/parrot/5.6.0-devel/parrot/compiler.h:224:62: note: expanded from | |
macro 'ARGMOD' | |
# define ARGMOD(x) /*@in@*/ /*@notnull@*/ x | |
^ | |
../../src/mast/compiler.c:216:20: warning: unused parameter 'interp' | |
[-Wunused-parameter] | |
void cleanup_frame(VM, FrameState *fs) { | |
^ | |
./nodes_parrot.h:131:12: note: expanded from macro 'VM' | |
#define VM PARROT_INTERP | |
^ | |
/usr/include/parrot/5.6.0-devel/parrot/interpreter.h:102:67: note: expanded from | |
macro 'PARROT_INTERP' | |
#define PARROT_INTERP /*@notnull@*/ /*@in@*/ ARGMOD(Parrot_Interp interp) | |
^ | |
/usr/include/parrot/5.6.0-devel/parrot/compiler.h:224:62: note: expanded from | |
macro 'ARGMOD' | |
# define ARGMOD(x) /*@in@*/ /*@notnull@*/ x | |
^ | |
2 warnings generated. | |
cd src && clang -c -o ops.o -I/usr/include/parrot/5.6.0-devel -I/usr/include/parrot/5.6.0-devel/pmc -D_REENTRANT -D_GNU_SOURCE -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.11/include -fPIC -march=native -O2 -pipe -funit-at-a-time -Wall -Wextra -Waggregate-return -Wcast-qual -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Werror=missing-braces -Wmissing-declarations -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wpointer-arith -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Werror=undef -Wno-unused -Wvariadic-macros -Wwrite-strings -Wc++-compat -Werror=declaration-after-statement -Werror=implicit-function-declaration -Wmissing-prototypes -Werror=nested-externs -Werror=old-style-definition -Werror=strict-prototypes -I. -DPARROT_OPS_BUILD ../../src/core/ops.c | |
../../src/core/ops.c:17:5: warning: missing field 'operands' initializer | |
[-Wmissing-field-initializers] | |
}, | |
^ | |
../../src/core/ops.c:274:5: warning: missing field 'operands' initializer | |
[-Wmissing-field-initializers] | |
}, | |
^ | |
../../src/core/ops.c:2027:5: warning: missing field 'operands' initializer | |
[-Wmissing-field-initializers] | |
}, | |
^ | |
../../src/core/ops.c:2978:5: warning: missing field 'operands' initializer | |
[-Wmissing-field-initializers] | |
}, | |
^ | |
../../src/core/ops.c:2983:5: warning: missing field 'operands' initializer | |
[-Wmissing-field-initializers] | |
}, | |
^ | |
5 warnings generated. | |
cd src/ops && clang -o mvmcc_ops.so mvmcc_ops.o ../ops.o ../compiler.o -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe -shared -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -fPIC -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp -lreadline -lffi -L/usr/lib64 -licuuc -licudata | |
/usr/bin/perl5.12.4 -MExtUtils::Command -e cp src/ops/mvmcc_ops.so dynext | |
/usr/bin/perl5.12.4 -MExtUtils::Command -e chmod 755 dynext/mvmcc_ops.so | |
/usr/bin/parrot --output=MASTOps.pbc MASTOps.pir | |
/usr/bin/nqp --target=pir ../lib/MAST/Nodes.nqp > MASTNodes.pir | |
/usr/bin/parrot --output=MASTNodes.pbc MASTNodes.pir | |
/usr/bin/nqp --vmlibs=mvmcc_ops --target=pir src/MASTCompiler.nqp > MASTCompiler.pir | |
/usr/bin/nqp --target=pir src/QASTOperationsMAST.nqp > QASTOperationsMAST.pir | |
/usr/bin/parrot --output=MASTCompiler.pbc MASTCompiler.pir | |
/usr/bin/parrot --output=QASTOperationsMAST.pbc QASTOperationsMAST.pir | |
/usr/bin/nqp --target=pir src/QASTRegexCompilerMAST.nqp > QASTRegexCompilerMAST.pir | |
/usr/bin/parrot --output=QASTRegexCompilerMAST.pbc QASTRegexCompilerMAST.pir | |
/usr/bin/nqp --target=pir src/QASTCompilerMAST.nqp > QASTCompilerMAST.pir | |
/usr/bin/parrot --output=QASTCompilerMAST.pbc QASTCompilerMAST.pir | |
/usr/bin/nqp --vmlibs=mvmcc_ops --target=pir src/MASTTesting.nqp > MASTTesting.pir | |
/usr/bin/parrot --output=MASTTesting.pbc MASTTesting.pir | |
/usr/bin/nqp --target=pir --setting=NULL --stable-sc --output=nqp-mo.pir nqp-src/nqp-mo.pm | |
/usr/bin/nqp nqp-moar-cc.nqp --setting=NULL --target=mbc --output=ModuleLoader.class nqp-src/ModuleLoader.pm | |
make: *** [ModuleLoader.class] Segmentation fault | |
make: *** Waiting for unfinished jobs.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment