Created
July 6, 2018 16:56
-
-
Save dogbert17/ab6953e0fdcdeea1400d0dcdf984bf60 to your computer and use it in GitHub Desktop.
Broken MoarVM build on 32 bit Linux
This file contains 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
dogbert@dogbert-VirtualBox ~/repos/rakudo/nqp/MoarVM $ make -j5 install | |
compiling src/main.o | |
compiling src/core/callsite.o | |
compiling src/core/args.o | |
compiling src/core/exceptions.o | |
compiling src/core/interp.o | |
In file included from src/moar.h:101:0, | |
from src/core/callsite.c:1: | |
src/strings/uthash.h:127:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
const static uint32_t max_hashv_div_phi = 2654435769; | |
^ | |
In file included from src/moar.h:101:0, | |
from src/main.c:4: | |
src/strings/uthash.h:127:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
const static uint32_t max_hashv_div_phi = 2654435769; | |
^ | |
src/strings/uthash.h:180:5: warning: data definition has no type or storage class [enabled by default] | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:180:5: warning: data definition has no type or storage class [enabled by default] | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:186:1: warning: parameter names (without types) in function declaration [enabled by default] | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:186:1: warning: parameter names (without types) in function declaration [enabled by default] | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:180:5: error: conflicting types for ‘ptr_hash_32_to_32’ | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:180:5: error: conflicting types for ‘ptr_hash_32_to_32’ | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:165:29: note: previous definition of ‘ptr_hash_32_to_32’ was here | |
MVM_STATIC_INLINE MVMuint32 ptr_hash_32_to_32(uintptr_t u) { | |
^ | |
src/strings/uthash.h:165:29: note: previous definition of ‘ptr_hash_32_to_32’ was here | |
MVM_STATIC_INLINE MVMuint32 ptr_hash_32_to_32(uintptr_t u) { | |
^ | |
src/strings/uthash.h:186:26: error: expected ‘,’ or ‘;’ before ‘void’ | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:186:26: error: expected ‘,’ or ‘;’ before ‘void’ | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
In file included from src/moar.h:101:0, | |
from src/core/exceptions.c:1: | |
src/strings/uthash.h:127:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
const static uint32_t max_hashv_div_phi = 2654435769; | |
^ | |
src/strings/uthash.h:180:5: warning: data definition has no type or storage class [enabled by default] | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:186:1: warning: parameter names (without types) in function declaration [enabled by default] | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:180:5: error: conflicting types for ‘ptr_hash_32_to_32’ | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:165:29: note: previous definition of ‘ptr_hash_32_to_32’ was here | |
MVM_STATIC_INLINE MVMuint32 ptr_hash_32_to_32(uintptr_t u) { | |
^ | |
src/strings/uthash.h:186:26: error: expected ‘,’ or ‘;’ before ‘void’ | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
In file included from src/moar.h:101:0, | |
from src/core/interp.c:1: | |
src/strings/uthash.h:127:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
const static uint32_t max_hashv_div_phi = 2654435769; | |
^ | |
src/strings/uthash.h:180:5: warning: data definition has no type or storage class [enabled by default] | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:186:1: warning: parameter names (without types) in function declaration [enabled by default] | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:180:5: error: conflicting types for ‘ptr_hash_32_to_32’ | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:165:29: note: previous definition of ‘ptr_hash_32_to_32’ was here | |
MVM_STATIC_INLINE MVMuint32 ptr_hash_32_to_32(uintptr_t u) { | |
^ | |
src/strings/uthash.h:186:26: error: expected ‘,’ or ‘;’ before ‘void’ | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
In file included from src/moar.h:101:0, | |
from src/core/args.c:1: | |
src/strings/uthash.h:127:1: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
const static uint32_t max_hashv_div_phi = 2654435769; | |
^ | |
src/strings/uthash.h:180:5: warning: data definition has no type or storage class [enabled by default] | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:186:1: warning: parameter names (without types) in function declaration [enabled by default] | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
src/strings/uthash.h:180:5: error: conflicting types for ‘ptr_hash_32_to_32’ | |
ptr_hash_32_to_32(u) | |
^ | |
src/strings/uthash.h:165:29: note: previous definition of ‘ptr_hash_32_to_32’ was here | |
MVM_STATIC_INLINE MVMuint32 ptr_hash_32_to_32(uintptr_t u) { | |
^ | |
src/strings/uthash.h:186:26: error: expected ‘,’ or ‘;’ before ‘void’ | |
MVM_PUBLIC MVM_NO_RETURN void MVM_exception_throw_adhoc(MVMThreadContext *tc, const char *messageFormat, ...) MVM_NO_RETURN_ATTRIBUTE MVM_FORMAT(printf, 2, 3); | |
^ | |
make: *** [src/core/callsite.o] Error 1 | |
make: *** Waiting for unfinished jobs.... | |
src/main.c: In function ‘main’: | |
src/main.c:234:21: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘MVMint64’ [-Wformat=] | |
fprintf(stderr, "ERROR: debug server port out of range. We only accept ports above 1024 and below 65535. (got: %lu)\n", port); | |
^ | |
src/core/exceptions.c: In function ‘handler_can_handle’: | |
make: *** [src/main.o] Error 1 | |
src/core/exceptions.c:85:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] | |
MVMuint64 block_label = block_has_label ? (MVMuint64)(f->work[fh->label_reg].o) : 0; | |
^ | |
src/core/exceptions.c:86:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] | |
MVMuint64 thrown_label = payload ? (MVMuint64)payload : 0; | |
^ | |
src/core/exceptions.c: In function ‘search_frame_handlers_lex’: | |
src/core/exceptions.c:188:13: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
if (fh->category_mask == MVM_EX_INLINE_BOUNDARY) { | |
^ | |
src/core/exceptions.c:229:13: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] | |
if (fh->category_mask == MVM_EX_INLINE_BOUNDARY) { | |
^ | |
make: *** [src/core/exceptions.o] Error 1 | |
make: *** [src/core/args.o] Error 1 | |
src/core/interp.c: In function ‘MVM_interp_run’: | |
src/core/interp.c:1906:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] | |
GET_REG(cur_op, 0).i64 = (MVMint64)GET_REG(cur_op, 2).o; | |
^ | |
src/core/interp.c:6021:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] | |
char *cache = (char *)MVM_BC_get_I64(cur_op, 12); | |
^ | |
make: *** [src/core/interp.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment