Skip Menu |
Report information
Id: 127769
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: ganglion <joelz [at] pobox.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Linking error during build on amd64
Date: Tue, 22 Mar 2016 22:18:51 -1000
From: Joel Roth <joelz [...] pobox.com>
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 12.6k
/usr/bin/ld: i386 architecture of input file `3rdparty/libuv/libuv.a(timer.o)' is incompatible with i386:x86-64 output Build conditions: gcc (Debian 4.9.2-10) 4.9.2 perl 5.14 Linux version 4.3.0-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.3.5-1~bpo8+1 (2016-02-23) commit 72ba5a17f9eab7ddd033a9ff1024df7235f96266 Author: jnthn <jnthn@jnthn.net> Date: Tue Mar 22 18:57:00 2016 +0100 git:nom ~/build/rakudo $ perl Configure.pl --gen-moar --gen-nqp --backends=moar ATTENTION: no --prefix supplied, building and installing to /home/jroth/build/rakudo/install remote: Counting objects: 2331, done. remote: Compressing objects: 100% (72/72), done. remote: Total 2331 (delta 954), reused 928 (delta 923), pack-reused 1332 Receiving objects: 100% (2331/2331), 3.04 MiB | 248.00 KiB/s, done. Resolving deltas: 100% (1523/1523), completed with 144 local objects. From https://github.com/perl6/nqp * [new branch] experiment-multi-line-repl -> origin/experiment-multi-line-repl b980c6d..b5463a5 js-cps -> origin/js-cps 9559a26..0a8327f master -> origin/master * [new branch] profile-jvm -> origin/profile-jvm * [new branch] relocateable-precomp -> origin/relocateable-precomp * [new branch] sized-natives -> origin/sized-natives * [new tag] 2015.12 -> 2015.12 * [new tag] 2016.01 -> 2016.01 * [new tag] 2016.01-RC1 -> 2016.01-RC1 * [new tag] 2016.02 -> 2016.02 * [new tag] 2016.03 -> 2016.03 Previous HEAD position was 9559a26... Bump MOAR_REVISION for deadlock fixes HEAD is now at d6fadbd... bump version to 2016.03 Building NQP ... /home/jroth/.plenv/versions/5.14.4/bin/perl5.14.4 Configure.pl --prefix=/home/jroth/build/rakudo/install --backends=moar --make-install --git-protocol=https --gen-moar Found /home/jroth/build/rakudo/install/bin/moar version 2015.01-21-g4ee4925, which is too old. remote: Counting objects: 2179, done. remote: Compressing objects: 100% (51/51), done. remote: Total 2179 (delta 1022), reused 1005 (delta 1001), pack-reused 1126 Receiving objects: 100% (2179/2179), 1.10 MiB | 309.00 KiB/s, done. Resolving deltas: 100% (1706/1706), completed with 236 local objects. From https://github.com/MoarVM/MoarVM 9d93c22..eb002dc cache_sc_idx -> origin/cache_sc_idx * [new branch] east_asian_width -> origin/east_asian_width 42c02d1..ab21c18 even-moar-jit -> origin/even-moar-jit * [new branch] fix-illumos-build -> origin/fix-illumos-build * [new branch] lazy-strings -> origin/lazy-strings * [new branch] libuv-1.8 -> origin/libuv-1.8 * [new branch] line_based_coverage -> origin/line_based_coverage * [new branch] line_based_coverage_2 -> origin/line_based_coverage_2 469ba64..50c7f6a master -> origin/master * [new branch] moar-gdb.py-python3 -> origin/moar-gdb.py-python3 * [new branch] multidim_references -> origin/multidim_references * [new branch] no_atomic_if_single_threaded -> origin/no_atomic_if_single_threaded * [new branch] p6opaque_packed -> origin/p6opaque_packed * [new branch] setdebugtypename -> origin/setdebugtypename * [new branch] spesh_nativeref_assign_decont -> origin/spesh_nativeref_assign_decont * [new branch] timos-jit-patch -> origin/timos-jit-patch * [new branch] tommy-hash -> origin/tommy-hash * [new tag] 2015.12 -> 2015.12 * [new tag] 2016.01 -> 2016.01 * [new tag] 2016.02 -> 2016.02 * [new tag] 2016.03 -> 2016.03 Fetching submodule 3rdparty/libuv M 3rdparty/libuv Previous HEAD position was 469ba64... Add a sanity check for gen2 allocation flag. HEAD is now at 61437de... Bump VERSION. Configuring and building MoarVM ... /home/jroth/.plenv/versions/5.14.4/bin/perl5.14.4 Configure.pl --optimize --prefix=/home/jroth/build/rakudo/install --make-install Welcome to MoarVM! Updating submodules .................................... OK Configuring native build environment ................... 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 ...................... YES make: make compile: gcc -Wdeclaration-after-statement -Werror=declaration-after-statement -O3 -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC link: gcc -O3 -DNDEBUG -Wl,-rpath,@libdir@ -Wl,-rpath,@prefix@/share/perl6/site/lib libs: -lm -lpthread -lrt -ldl byte order: little endian Configuring 3rdparty libs .............................. OK 3rdparty: 3rdparty/dyncall/dyncall/libdyncall_s.a 3rdparty/dyncall/dyncallback/libdyncallback_s.a 3rdparty/dyncall/dynload/libdynload_s.a 3rdparty/libatomic_ops/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 compiling src/core/callsite.o compiling src/core/args.o compiling src/core/exceptions.o compiling src/core/interp.o compiling src/core/threadcontext.o compiling src/core/compunit.o compiling src/core/bytecode.o compiling src/core/frame.o compiling src/core/validation.o compiling src/core/bytecodedump.o compiling src/core/threads.o compiling src/core/ops.o compiling src/core/hll.o compiling src/core/loadbytecode.o compiling src/math/num.o compiling src/core/coerce.o compiling src/core/dll.o compiling src/core/ext.o compiling src/core/nativecall.o compiling src/core/nativecall_dyncall.o compiling src/core/continuation.o compiling src/core/intcache.o compiling src/core/fixedsizealloc.o compiling src/gen/config.o compiling src/gc/orchestrate.o compiling src/gc/allocation.o compiling src/gc/worklist.o compiling src/gc/roots.o compiling src/gc/collect.o compiling src/gc/gen2.o compiling src/gc/wb.o compiling src/gc/objectid.o compiling src/gc/finalize.o compiling src/io/io.o compiling src/io/eventloop.o compiling src/io/syncfile.o compiling src/io/syncstream.o compiling src/io/syncpipe.o compiling src/io/syncsocket.o compiling src/io/fileops.o compiling src/io/dirops.o compiling src/io/procops.o compiling src/io/timers.o compiling src/io/filewatchers.o compiling src/io/signals.o compiling src/io/asyncsocket.o compiling src/io/asyncsocketudp.o compiling src/6model/reprs.o compiling src/6model/reprconv.o compiling src/6model/containers.o compiling src/6model/parametric.o compiling src/6model/reprs/MVMString.o compiling src/6model/reprs/MVMArray.o compiling src/6model/reprs/MVMHash.o compiling src/6model/reprs/MVMCFunction.o compiling src/6model/reprs/KnowHOWREPR.o compiling src/6model/reprs/KnowHOWAttributeREPR.o compiling src/6model/reprs/P6str.o compiling src/6model/reprs/P6opaque.o compiling src/6model/reprs/MVMCode.o compiling src/6model/reprs/MVMOSHandle.o compiling src/6model/reprs/MVMCompUnit.o compiling src/6model/reprs/MVMStaticFrame.o compiling src/6model/reprs/P6int.o compiling src/6model/reprs/P6num.o compiling src/6model/reprs/Uninstantiable.o compiling src/6model/reprs/HashAttrStore.o compiling src/6model/reprs/MVMThread.o compiling src/6model/reprs/MVMIter.o compiling src/6model/reprs/MVMContext.o compiling src/6model/reprs/SCRef.o compiling src/6model/reprs/Lexotic.o compiling src/6model/reprs/MVMCallCapture.o compiling src/6model/reprs/P6bigint.o compiling src/6model/reprs/NFA.o compiling src/6model/reprs/MVMException.o compiling src/6model/reprs/MVMDLLSym.o compiling src/6model/reprs/MVMMultiCache.o compiling src/6model/reprs/MVMContinuation.o compiling src/6model/reprs/NativeCall.o compiling src/6model/reprs/CPointer.o compiling src/6model/reprs/CStr.o compiling src/6model/reprs/CArray.o compiling src/6model/reprs/CStruct.o compiling src/6model/reprs/CUnion.o compiling src/6model/reprs/ReentrantMutex.o compiling src/6model/reprs/ConditionVariable.o compiling src/6model/reprs/Semaphore.o compiling src/6model/reprs/ConcBlockingQueue.o compiling src/6model/reprs/MVMAsyncTask.o compiling src/6model/reprs/MVMNull.o compiling src/6model/reprs/CPPStruct.o compiling src/6model/reprs/NativeRef.o compiling src/6model/reprs/MultiDimArray.o compiling src/6model/6model.o compiling src/6model/bootstrap.o compiling src/6model/sc.o compiling src/6model/serialization.o compiling src/mast/compiler.o compiling src/mast/driver.o compiling src/spesh/dump.o compiling src/spesh/graph.o compiling src/spesh/codegen.o compiling src/spesh/candidate.o compiling src/spesh/manipulate.o compiling src/spesh/args.o compiling src/spesh/facts.o compiling src/spesh/optimize.o compiling src/spesh/deopt.o compiling src/spesh/log.o compiling src/spesh/threshold.o compiling src/spesh/inline.o compiling src/spesh/osr.o compiling src/jit/graph.o compiling src/jit/compile.o compiling src/jit/log.o compiling src/strings/decode_stream.o compiling src/strings/ascii.o compiling src/strings/utf8.o compiling src/strings/utf8_c8.o compiling src/strings/nfg.o compiling src/strings/ops.o generating src/strings/unicode.c compiling src/strings/unicode.o compiling src/strings/normalize.o compiling src/strings/latin1.o compiling src/strings/utf16.o compiling src/strings/windows1252.o compiling src/math/bigintops.o compiling src/profiler/instrument.o compiling src/profiler/log.o compiling src/profiler/profile.o compiling src/instrument/crossthreadwrite.o compiling src/moar.o compiling src/platform/posix/mmap.o compiling src/platform/posix/time.o compiling src/platform/posix/sys.o ./3rdparty/dynasm/minilua ./3rdparty/dynasm/dynasm.lua -D POSIX=1 -o src/jit/emit_posix_x64.c src/jit/emit_x64.dasc compiling src/jit/emit_posix_x64.o compiling 3rdparty/libuv/src/unix/linux-core.o compiling 3rdparty/libuv/src/unix/linux-inotify.o compiling 3rdparty/libuv/src/unix/linux-syscalls.o compiling 3rdparty/libuv/src/unix/proctitle.o compiling 3rdparty/libuv/src/fs-poll.o compiling 3rdparty/libuv/src/inet.o compiling 3rdparty/libuv/src/uv-common.o compiling 3rdparty/libuv/src/version.o compiling 3rdparty/libuv/src/unix/async.o compiling 3rdparty/libuv/src/unix/core.o compiling 3rdparty/libuv/src/unix/dl.o compiling 3rdparty/libuv/src/unix/fs.o compiling 3rdparty/libuv/src/unix/getaddrinfo.o compiling 3rdparty/libuv/src/unix/loop-watcher.o compiling 3rdparty/libuv/src/unix/loop.o compiling 3rdparty/libuv/src/unix/pipe.o compiling 3rdparty/libuv/src/unix/poll.o compiling 3rdparty/libuv/src/unix/process.o compiling 3rdparty/libuv/src/unix/signal.o compiling 3rdparty/libuv/src/unix/stream.o compiling 3rdparty/libuv/src/unix/tcp.o compiling 3rdparty/libuv/src/unix/thread.o compiling 3rdparty/libuv/src/threadpool.o compiling 3rdparty/libuv/src/unix/tty.o compiling 3rdparty/libuv/src/unix/udp.o linking 3rdparty/libuv/libuv.a linking libmoar.so /usr/bin/ld: i386 architecture of input file `3rdparty/libuv/libuv.a(timer.o)' is incompatible with i386:x86-64 output collect2: error: ld returned 1 exit status Makefile:516: recipe for target 'libmoar.so' failed make: *** [libmoar.so] Error 1 Unhandled exception: Bytecode stream version too high Cleaning up ... /home/jroth/.plenv/versions/5.14.4/bin/perl5.14.4 -MExtUtils::Command -e mkpath gen/moar/stage1/gen /home/jroth/.plenv/versions/5.14.4/bin/perl5.14.4 tools/build/gen-cat.pl moar src/how/Archetypes.nqp src/how/RoleToRoleApplier.nqp src/how/NQPConcreteRoleHOW.nqp src/how/RoleToClassApplier.nqp src/how/NQPCurriedRoleHOW.nqp src/how/NQPParametricRoleHOW.nqp src/how/NQPClassHOW.nqp src/how/NQPNativeHOW.nqp src/how/NQPAttribute.nqp src/how/NQPModuleHOW.nqp src/how/EXPORTHOW.nqp > gen/moar/stage1/nqpmo.nqp /home/jroth/build/rakudo/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \ --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp Unhandled exception: Bytecode stream version too high Makefile:223: recipe for target 'gen/moar/stage1/nqpmo.moarvm' failed make: *** [gen/moar/stage1/nqpmo.moarvm] Error 1 Command failed (status 512): make Command failed (status 512): /home/jroth/.plenv/versions/5.14.4/bin/perl5.14.4 Configure.pl --prefix=/home/jroth/build/rakudo/install --backends=moar --make-install --git-protocol=https --gen-moar Thank you. -- Joel Roth


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org