rakudo / star

Rakudo Star (Raku distribution)
https://rakudo.org/
Artistic License 2.0
265 stars 41 forks source link

[CentOS 5.5|GCC 4.1|MAKE 3.81] BuildFailure: rakudo-star 2018.06: MAKE error in 3rd party Unix/thread.c file #122

Closed normalscene closed 4 years ago

normalscene commented 6 years ago

Hi,

This is the first time ever I am reporting an issue on GitHub. If somehow my issue report seems incomplete - please go easy on me this time. Thank you in advance.

I was not able to find anything related to this error and hence I have decide to raise this issue here directly.

The build is failing for some errors related to thread.c file, which is kept under 3rdparty/libuv/src/unix dir, and I am not understand why.

If additional information is required to assess this further, kindly let me know and I shall arrange it ASAP.

Please find below the configure log for your reference.

[root@localhost rakudo-star-2018.06]# perl Configure.pl --backend=moar --gen-moar --prefix /home/ventsit2/essential/rakudo | tee CONFIGURE.log

Configuring and building MoarVM ...
/home/ventsit2/essential/perl5.28/bin/perl Configure.pl --optimize --prefix=/home/ventsit2/essential/rakudo --make-install
Welcome to MoarVM!

Configuring native build environment ...................
    trying to compile a simple C program ............... YES
    probing support of -Werror=* ....................... NO
    Testing pkgconfig .................................. 0.21
OK

    probing whether your compiler thinks that it is gcc  YES
    probing how your compiler does static inline ....... static __inline__
    your CPU can read unaligned values for all of int32 int64 num64
    probing the size of pointers ....................... 8
    probing C type support for: _Bool, bool ............ YES: _Bool,bool
    probing computed goto support ...................... YES
    probing pthread_yield support ...................... NO
    probing support of rdtscp intrinsic ................ NO

        make: make
     compile: gcc  -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC
    includes:  -I3rdparty/libuv/include -I3rdparty/libuv/src -I3rdparty/libatomicops/src -I3rdparty/libtommath -I3rdparty/dyncall/dynload -I3rdparty/dyncall/dyncall -I3rdparty/dyncall/dyncallback
        link: gcc  -O3 -DNDEBUG -Wl,-rpath,"/@libdir@"
        libs: -lm -lpthread -lrt -ldl

  byte order: little endian

Configuring 3rdparty libs .............................. OK

  3rdparty: 3rdparty/cmp/libcmp.a
            3rdparty/dyncall/dyncall/libdyncall_s.a
            3rdparty/dyncall/dyncallback/libdyncallback_s.a
            3rdparty/dyncall/dynload/libdynload_s.a
            3rdparty/libatomicops/src/libatomic_ops.a
            3rdparty/libtommath/libtommath.a
            3rdparty/libuv/libuv.a
            3rdparty/sha1/libsha1.a
            3rdparty/tinymt/libtinymt.a

Generating src/gen/config.c ............................ OK
Generating src/gen/config.h ............................ OK
Generating Makefile .................................... OK
Generating tools/check.mk .............................. OK
Generating build/mk-moar-pc.pl ......................... OK

Configuration SUCCESS.

Type 'make' to build and 'make help' to see a list of
available make targets.
compiling src/main.o
In file included from src/moar.h:176,
                 from src/main.c:4:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/callsite.o
In file included from src/moar.h:176,
                 from src/core/callsite.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/args.o
In file included from src/moar.h:176,
                 from src/core/args.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/exceptions.o
In file included from src/moar.h:176,
                 from src/core/exceptions.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/interp.o
In file included from src/moar.h:176,
                 from src/core/interp.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/threadcontext.o
In file included from src/moar.h:176,
                 from src/core/threadcontext.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/compunit.o
In file included from src/moar.h:176,
                 from src/core/compunit.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/bytecode.o
In file included from src/moar.h:176,
                 from src/core/bytecode.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/frame.o
In file included from src/moar.h:176,
                 from src/core/frame.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/callstack.o
In file included from src/moar.h:176,
                 from src/core/callstack.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/validation.o
In file included from src/moar.h:176,
                 from src/core/validation.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/bytecodedump.o
In file included from src/moar.h:176,
                 from src/core/bytecodedump.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/threads.o
In file included from src/moar.h:176,
                 from src/core/threads.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/ops.o
In file included from src/moar.h:176,
                 from src/core/ops.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/hll.o
In file included from src/moar.h:176,
                 from src/core/hll.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/loadbytecode.o
In file included from src/moar.h:176,
                 from src/core/loadbytecode.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/math/num.o
In file included from src/moar.h:176,
                 from src/math/num.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/math/grisu.o
compiling src/core/coerce.o
In file included from src/moar.h:176,
                 from src/core/coerce.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/dll.o
In file included from src/moar.h:176,
                 from src/core/dll.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/ext.o
In file included from src/moar.h:176,
                 from src/core/ext.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/nativecall.o
In file included from src/moar.h:176,
                 from src/core/nativecall.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/nativecall_dyncall.o
In file included from src/moar.h:176,
                 from src/core/nativecall_dyncall.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/continuation.o
In file included from src/moar.h:176,
                 from src/core/continuation.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/intcache.o
In file included from src/moar.h:176,
                 from src/core/intcache.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/fixedsizealloc.o
In file included from src/moar.h:176,
                 from src/core/fixedsizealloc.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/core/regionalloc.o
In file included from src/moar.h:176,
                 from src/core/regionalloc.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/debug/debugserver.o
In file included from src/moar.h:176,
                 from src/debug/debugserver.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gen/config.o
In file included from src/moar.h:176,
                 from src/gen/config.c:9:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/orchestrate.o
In file included from src/moar.h:176,
                 from src/gc/orchestrate.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/allocation.o
In file included from src/moar.h:176,
                 from src/gc/allocation.c:6:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/worklist.o
In file included from src/moar.h:176,
                 from src/gc/worklist.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/roots.o
In file included from src/moar.h:176,
                 from src/gc/roots.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/collect.o
In file included from src/moar.h:176,
                 from src/gc/collect.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/gen2.o
In file included from src/moar.h:176,
                 from src/gc/gen2.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/wb.o
In file included from src/moar.h:176,
                 from src/gc/wb.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/objectid.o
In file included from src/moar.h:176,
                 from src/gc/objectid.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/finalize.o
In file included from src/moar.h:176,
                 from src/gc/finalize.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/gc/debug.o
In file included from src/moar.h:176,
                 from src/gc/debug.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/io.o
In file included from src/moar.h:176,
                 from src/io/io.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/eventloop.o
In file included from src/moar.h:176,
                 from src/io/eventloop.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/syncfile.o
In file included from src/moar.h:176,
                 from src/io/syncfile.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/syncsocket.o
In file included from src/moar.h:176,
                 from src/io/syncsocket.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/fileops.o
In file included from src/moar.h:176,
                 from src/io/fileops.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/dirops.o
In file included from src/moar.h:176,
                 from src/io/dirops.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/procops.o
In file included from src/moar.h:176,
                 from src/io/procops.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/timers.o
In file included from src/moar.h:176,
                 from src/io/timers.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/filewatchers.o
In file included from src/moar.h:176,
                 from src/io/filewatchers.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/signals.o
In file included from src/moar.h:176,
                 from src/io/signals.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/asyncsocket.o
In file included from src/moar.h:176,
                 from src/io/asyncsocket.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/io/asyncsocketudp.o
In file included from src/moar.h:176,
                 from src/io/asyncsocketudp.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs.o
In file included from src/moar.h:176,
                 from src/6model/reprs.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprconv.o
In file included from src/moar.h:176,
                 from src/6model/reprconv.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/containers.o
In file included from src/moar.h:176,
                 from src/6model/containers.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/parametric.o
In file included from src/moar.h:176,
                 from src/6model/parametric.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMString.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMString.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/VMArray.o
In file included from src/moar.h:176,
                 from src/6model/reprs/VMArray.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMHash.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMHash.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMCFunction.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMCFunction.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/KnowHOWREPR.o
In file included from src/moar.h:176,
                 from src/6model/reprs/KnowHOWREPR.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/KnowHOWAttributeREPR.o
In file included from src/moar.h:176,
                 from src/6model/reprs/KnowHOWAttributeREPR.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/P6str.o
In file included from src/moar.h:176,
                 from src/6model/reprs/P6str.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/P6opaque.o
In file included from src/moar.h:176,
                 from src/6model/reprs/P6opaque.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMCode.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMCode.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMOSHandle.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMOSHandle.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMCompUnit.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMCompUnit.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMStaticFrame.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMStaticFrame.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/P6int.o
In file included from src/moar.h:176,
                 from src/6model/reprs/P6int.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/P6num.o
In file included from src/moar.h:176,
                 from src/6model/reprs/P6num.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/Uninstantiable.o
In file included from src/moar.h:176,
                 from src/6model/reprs/Uninstantiable.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/HashAttrStore.o
In file included from src/moar.h:176,
                 from src/6model/reprs/HashAttrStore.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMThread.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMThread.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMIter.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMIter.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMContext.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMContext.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/SCRef.o
In file included from src/moar.h:176,
                 from src/6model/reprs/SCRef.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMCallCapture.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMCallCapture.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/P6bigint.o
In file included from src/moar.h:176,
                 from src/6model/reprs/P6bigint.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/NFA.o
In file included from src/moar.h:176,
                 from src/6model/reprs/NFA.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMException.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMException.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMDLLSym.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMDLLSym.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMMultiCache.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMMultiCache.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMContinuation.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMContinuation.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/NativeCall.o
In file included from src/moar.h:176,
                 from src/6model/reprs/NativeCall.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CPointer.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CPointer.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CStr.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CStr.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CArray.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CArray.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CStruct.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CStruct.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CUnion.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CUnion.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/ReentrantMutex.o
In file included from src/moar.h:176,
                 from src/6model/reprs/ReentrantMutex.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/ConditionVariable.o
In file included from src/moar.h:176,
                 from src/6model/reprs/ConditionVariable.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/Semaphore.o
In file included from src/moar.h:176,
                 from src/6model/reprs/Semaphore.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/ConcBlockingQueue.o
In file included from src/moar.h:176,
                 from src/6model/reprs/ConcBlockingQueue.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMAsyncTask.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMAsyncTask.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMNull.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMNull.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/CPPStruct.o
In file included from src/moar.h:176,
                 from src/6model/reprs/CPPStruct.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/NativeRef.o
In file included from src/moar.h:176,
                 from src/6model/reprs/NativeRef.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MultiDimArray.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MultiDimArray.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/Decoder.o
In file included from src/moar.h:176,
                 from src/6model/reprs/Decoder.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMSpeshLog.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMSpeshLog.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/reprs/MVMStaticFrameSpesh.o
In file included from src/moar.h:176,
                 from src/6model/reprs/MVMStaticFrameSpesh.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/6model.o
In file included from src/moar.h:176,
                 from src/6model/6model.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/bootstrap.o
In file included from src/moar.h:176,
                 from src/6model/bootstrap.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/sc.o
In file included from src/moar.h:176,
                 from src/6model/sc.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/6model/serialization.o
In file included from src/moar.h:176,
                 from src/6model/serialization.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/mast/compiler.o
In file included from src/moar.h:176,
                 from src/mast/compiler.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/mast/driver.o
In file included from src/moar.h:176,
                 from src/mast/driver.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/dump.o
In file included from src/moar.h:176,
                 from src/spesh/dump.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/graph.o
In file included from src/moar.h:176,
                 from src/spesh/graph.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/codegen.o
In file included from src/moar.h:176,
                 from src/spesh/codegen.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/candidate.o
In file included from src/moar.h:176,
                 from src/spesh/candidate.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/manipulate.o
In file included from src/moar.h:176,
                 from src/spesh/manipulate.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/args.o
In file included from src/moar.h:176,
                 from src/spesh/args.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/facts.o
In file included from src/moar.h:176,
                 from src/spesh/facts.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/optimize.o
In file included from src/moar.h:176,
                 from src/spesh/optimize.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/dead_bb_elimination.o
In file included from src/moar.h:176,
                 from src/spesh/dead_bb_elimination.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/deopt.o
In file included from src/moar.h:176,
                 from src/spesh/deopt.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/log.o
In file included from src/moar.h:176,
                 from src/spesh/log.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/threshold.o
In file included from src/moar.h:176,
                 from src/spesh/threshold.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/inline.o
In file included from src/moar.h:176,
                 from src/spesh/inline.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/osr.o
In file included from src/moar.h:176,
                 from src/spesh/osr.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/lookup.o
In file included from src/moar.h:176,
                 from src/spesh/lookup.c:9:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/iterator.o
In file included from src/moar.h:176,
                 from src/spesh/iterator.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/worker.o
In file included from src/moar.h:176,
                 from src/spesh/worker.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/debug.o
In file included from src/moar.h:176,
                 from src/spesh/debug.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/stats.o
In file included from src/moar.h:176,
                 from src/spesh/stats.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/plan.o
In file included from src/moar.h:176,
                 from src/spesh/plan.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/arg_guard.o
In file included from src/moar.h:176,
                 from src/spesh/arg_guard.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/spesh/plugin.o
In file included from src/moar.h:176,
                 from src/spesh/plugin.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/decode_stream.o
In file included from src/moar.h:176,
                 from src/strings/decode_stream.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/ascii.o
In file included from src/moar.h:176,
                 from src/strings/ascii.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/parse_num.o
In file included from src/moar.h:176,
                 from src/strings/parse_num.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/utf8.o
In file included from src/moar.h:176,
                 from src/strings/utf8.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/utf8_c8.o
In file included from src/moar.h:176,
                 from src/strings/utf8_c8.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/nfg.o
In file included from src/moar.h:176,
                 from src/strings/nfg.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/ops.o
In file included from src/moar.h:176,
                 from src/strings/ops.c:3:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/unicode.o
In file included from src/moar.h:176,
                 from src/strings/unicode.c:55:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/normalize.o
In file included from src/moar.h:176,
                 from src/strings/normalize.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/latin1.o
In file included from src/moar.h:176,
                 from src/strings/latin1.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/utf16.o
In file included from src/moar.h:176,
                 from src/strings/utf16.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/windows1252.o
In file included from src/moar.h:176,
                 from src/strings/windows1252.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/strings/shiftjis.o
In file included from src/moar.h:176,
                 from src/strings/shiftjis.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
In file included from src/strings/shiftjis.c:2:
src/strings/shiftjis_codeindex.h:7929:25: warning: no newline at end of file
compiling src/strings/shiftjis_codeindex.o
In file included from src/moar.h:176,
                 from src/strings/shiftjis_codeindex.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
In file included from src/strings/shiftjis_codeindex.c:2:
src/strings/shiftjis_codeindex.h:7929:25: warning: no newline at end of file
src/strings/shiftjis_codeindex.c:18:2: warning: no newline at end of file
compiling src/math/bigintops.o
In file included from src/moar.h:176,
                 from src/math/bigintops.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/profiler/instrument.o
In file included from src/moar.h:176,
                 from src/profiler/instrument.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/profiler/log.o
In file included from src/moar.h:176,
                 from src/profiler/log.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/profiler/profile.o
In file included from src/moar.h:176,
                 from src/profiler/profile.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/profiler/heapsnapshot.o
In file included from src/moar.h:176,
                 from src/profiler/heapsnapshot.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/profiler/telemeh.o
In file included from src/moar.h:176,
                 from src/profiler/telemeh.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/instrument/crossthreadwrite.o
In file included from src/moar.h:176,
                 from src/instrument/crossthreadwrite.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/instrument/line_coverage.o
In file included from src/moar.h:176,
                 from src/instrument/line_coverage.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/sys.o
In file included from src/moar.h:176,
                 from src/platform/sys.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/random.o
In file included from src/moar.h:176,
                 from src/platform/random.c:62:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/memmem32.o
In file included from src/moar.h:176,
                 from src/platform/memmem32.c:29:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/moar.o
In file included from src/moar.h:176,
                 from src/moar.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/posix/mmap.o
In file included from src/moar.h:176,
                 from src/platform/posix/mmap.c:3:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/posix/time.o
In file included from src/moar.h:176,
                 from src/platform/posix/time.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/platform/posix/io.o
compiling src/jit/graph.o
In file included from src/moar.h:176,
                 from src/jit/graph.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/label.o
In file included from src/moar.h:176,
                 from src/jit/label.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/compile.o
In file included from src/moar.h:176,
                 from src/jit/compile.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/log.o
In file included from src/moar.h:176,
                 from src/jit/log.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/expr.o
In file included from src/moar.h:176,
                 from src/jit/expr.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/tile.o
In file included from src/moar.h:176,
                 from src/jit/tile.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/linear_scan.o
In file included from src/moar.h:176,
                 from src/jit/linear_scan.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/interface.o
In file included from src/moar.h:176,
                 from src/jit/interface.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/x64/emit.o
In file included from src/moar.h:176,
                 from src/jit/x64/emit.dasc:2:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling src/jit/x64/arch.o
In file included from src/moar.h:176,
                 from src/jit/x64/arch.c:1:
src/strings/unicode_gen.h:275:30: warning: no newline at end of file
compiling 3rdparty/libuv/src/unix/thread.o
3rdparty/libuv/src/unix/thread.c: In function ‘uv_mutex_init_recursive’:
3rdparty/libuv/src/unix/thread.c:251: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared (first use in this function)
3rdparty/libuv/src/unix/thread.c:251: error: (Each undeclared identifier is reported only once
3rdparty/libuv/src/unix/thread.c:251: error: for each function it appears in.)
make: *** [3rdparty/libuv/src/unix/thread.o] Error 1
Building NQP ...
/home/ventsit2/essential/perl5.28/bin/perl Configure.pl --prefix=/home/ventsit2/essential/rakudo --backends=moar --make-install

Creating tools/build/install-jvm-runner.pl ...
Can't exec "/home/ventsit2/essential/rakudo/bin/moar": No such file or directory at tools/lib/NQP/Configure.pm line 293.
Use of uninitialized value $moar_version_output in pattern match (m//) at tools/lib/NQP/Configure.pm line 307.

===SORRY!===
No suitable MoarVM (moar executable) found using the --prefix
(You can get a MoarVM built automatically with --gen-moar.)

Command failed (status 512): /home/ventsit2/essential/perl5.28/bin/perl Configure.pl --prefix=/home/ventsit2/essential/rakudo --backends=moar --make-install

[root@localhost rakudo-star-2018.06]#    uname -a ;        cat /etc/redhat-release ;     gcc -v ;        make -v

Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

CentOS release 5.5 (Final)
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-redhat-linux-gnu
AlexDaniel commented 6 years ago

I found this ticket which seems to be related in another project: https://github.com/samtools/htslib/issues/420

normalscene commented 6 years ago

@AlexDaniel Thanks for the link. I checked it out and tried all the available options and it doesn't seem to have any effect.

I know that I am trying to compile on CentOS/RHEL 5.5 with very old gcc 4.1. Just to clarify, is backward compatibility supported by rakudo-star?

normalscene commented 4 years ago

Closing this issue as I am not working on it anymore.