Changes between Version 1 and Version 2 of Ticket #64587, comment 2


Ignore:
Timestamp:
Mar 21, 2022, 10:33:34 AM (2 years ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #64587, comment 2

    v1 v2  
    22
    33P. S. I have found the following and will try that: https://github.com/MoarVM/MoarVM/issues/1149
     4
     5Config error is solved but the build fails on:
     6
     7
     8{{{
     9:info:build compiling src/platform/malloc_trim.o
     10:info:build In file included from 3rdparty/mimalloc/src/static.c:17:0:
     11:info:build 3rdparty/mimalloc/include/mimalloc-internal.h: In function '_mi_ptr_segment':
     12:info:build 3rdparty/mimalloc/include/mimalloc-internal.h:427:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     13:info:build    return (mi_segment_t*)((uintptr_t)p & ~MI_SEGMENT_MASK);
     14:info:build           ^
     15:info:build compiling src/moar.o
     16:info:build In file included from 3rdparty/mimalloc/src/static.c:23:0:
     17:info:build 3rdparty/mimalloc/src/stats.c: In function 'mi_stat_process_info':
     18:info:build 3rdparty/mimalloc/src/stats.c:534:31: error: storage size of 'info' isn't known
     19:info:build    struct mach_task_basic_info info;
     20:info:build                                ^~~~
     21:info:build 3rdparty/mimalloc/src/stats.c:535:38: error: 'MACH_TASK_BASIC_INFO_COUNT' undeclared (first use in this function)
     22:info:build    mach_msg_type_number_t infoCount = MACH_TASK_BASIC_INFO_COUNT;
     23:info:build                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
     24:info:build 3rdparty/mimalloc/src/stats.c:535:38: note: each undeclared identifier is reported only once for each function it appears in
     25:info:build 3rdparty/mimalloc/src/stats.c:536:35: error: 'MACH_TASK_BASIC_INFO' undeclared (first use in this function)
     26:info:build    if (task_info(mach_task_self(), MACH_TASK_BASIC_INFO, (task_info_t)&info, &infoCount) == KERN_SUCCESS) {
     27:info:build                                    ^~~~~~~~~~~~~~~~~~~~
     28:info:build compiling src/platform/posix/mmap.o
     29:info:build In file included from 3rdparty/mimalloc/src/static.c:24:0:
     30:info:build 3rdparty/mimalloc/src/random.c: In function 'os_random_buf':
     31:info:build 3rdparty/mimalloc/src/random.c:198:3: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration]
     32:info:build    arc4random_buf(buf, buf_len);
     33:info:build    ^~~~~~~~~~~~~~
     34:info:build In file included from 3rdparty/mimalloc/src/static.c:29:0:
     35:info:build 3rdparty/mimalloc/src/segment.c: In function 'mi_tagged_segment_ptr':
     36:info:build 3rdparty/mimalloc/src/segment.c:1081:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     37:info:build    return (mi_segment_t*)(ts & ~MI_TAGGED_MASK);
     38:info:build           ^
     39:info:build 3rdparty/mimalloc/src/static.c: At top level:
     40:info:build cc1: warning: unrecognized command line option '-Wno-logical-op-parentheses'
     41:info:build In file included from src/moar.h:90:0,
     42:info:build                  from src/moar.c:2:
     43:info:build src/core/nativecall.h: In function 'MVM_nativecall_find_thread_context':
     44:info:build src/platform/threads.h:19:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     45:info:build  #define MVM_platform_thread_id() (MVMint64)uv_thread_self()
     46:info:build                                   ^
     47:info:build src/core/nativecall.h:146:19: note: in expansion of macro 'MVM_platform_thread_id'
     48:info:build                    MVM_platform_thread_id());
     49:info:build                    ^~~~~~~~~~~~~~~~~~~~~~
     50:info:build make: *** [3rdparty/mimalloc/src/static.o] Error 1
     51}}}