DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-musl', 'arm-linux', 'arm-linux-musleabi', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 16
	CC = arm-bec-linux-musleabi-clang -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -mlittle-endian -no-integrated-as -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot
	LD = arm-bec-linux-musleabi-ld --sysroot=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot 
	LDSHARED = arm-bec-linux-musleabi-clang -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -mlittle-endian -no-integrated-as -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot -shared
	CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0=/usr/src/debug/ruby/2.5.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot-native=  -fPIC 
	XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
	CPPFLAGS =   -I. -I.ext/include/arm-linux-musleabi -I../ruby-2.5.1/include -I../ruby-2.5.1 -I../ruby-2.5.1/enc/unicode/10.0.0
	DLDFLAGS = -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.5  -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -fstack-protector  
	SOLIBS = -lpthread -ldl -lcrypt -lm  
	LANG = 
	LC_ALL = en_US.UTF-8
	LC_CTYPE = 
clang version 7.0.0 (https://github.com/llvm-mirror/clang.git 0513b409d5e34b2d2a28ae21b6d620cc52de0e57) (https://github.com/llvm-mirror/llvm.git 0d412784c03f514e82656ec986a66be939ad0d0d)
Target: arm-bec-linux-musleabi
Thread model: posix
InstalledDir: TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot-native/usr/bin/arm-bec-linux-musleabi
compiling ../ruby-2.5.1/version.c
compiling ../ruby-2.5.1/main.c
compiling ../ruby-2.5.1/dmydln.c
compiling ../ruby-2.5.1/miniinit.c
compiling ../ruby-2.5.1/dmyext.c
compiling ../ruby-2.5.1/miniprelude.c
making dummy probes.h
compiling ../ruby-2.5.1/bignum.c
compiling ../ruby-2.5.1/class.c
compiling ../ruby-2.5.1/compar.c
compiling ../ruby-2.5.1/compile.c
compiling ../ruby-2.5.1/complex.c
compiling ../ruby-2.5.1/cont.c
compiling ../ruby-2.5.1/debug.c
compiling ../ruby-2.5.1/debug_counter.c
compiling ../ruby-2.5.1/dir.c
compiling ../ruby-2.5.1/dln_find.c
compiling ../ruby-2.5.1/encoding.c
compiling ../ruby-2.5.1/enum.c
compiling ../ruby-2.5.1/enumerator.c
compiling ../ruby-2.5.1/error.c
compiling ../ruby-2.5.1/file.c
compiling ../ruby-2.5.1/eval.c
compiling ../ruby-2.5.1/gc.c
compiling ../ruby-2.5.1/hash.c
compiling ../ruby-2.5.1/inits.c
compiling ../ruby-2.5.1/io.c
compiling ../ruby-2.5.1/iseq.c
compiling ../ruby-2.5.1/load.c
compiling ../ruby-2.5.1/marshal.c
compiling ../ruby-2.5.1/math.c
compiling ../ruby-2.5.1/node.c
compiling ../ruby-2.5.1/numeric.c
compiling ../ruby-2.5.1/object.c
compiling ../ruby-2.5.1/pack.c
compiling ../ruby-2.5.1/parse.c
compiling ../ruby-2.5.1/proc.c
compiling ../ruby-2.5.1/process.c
compiling ../ruby-2.5.1/random.c
compiling ../ruby-2.5.1/range.c
compiling ../ruby-2.5.1/rational.c
compiling ../ruby-2.5.1/re.c
compiling ../ruby-2.5.1/regcomp.c
compiling ../ruby-2.5.1/regenc.c
compiling ../ruby-2.5.1/regerror.c
compiling ../ruby-2.5.1/regexec.c
compiling ../ruby-2.5.1/regparse.c
compiling ../ruby-2.5.1/regsyntax.c
compiling ../ruby-2.5.1/ruby.c
compiling ../ruby-2.5.1/safe.c
compiling ../ruby-2.5.1/signal.c
compiling ../ruby-2.5.1/sprintf.c
compiling ../ruby-2.5.1/st.c
compiling ../ruby-2.5.1/strftime.c
compiling ../ruby-2.5.1/string.c
compiling ../ruby-2.5.1/struct.c
compiling ../ruby-2.5.1/symbol.c
compiling ../ruby-2.5.1/thread.c
compiling ../ruby-2.5.1/time.c
compiling ../ruby-2.5.1/transcode.c
compiling ../ruby-2.5.1/util.c
compiling ../ruby-2.5.1/variable.c
compiling ../ruby-2.5.1/vm.c
compiling ../ruby-2.5.1/vm_backtrace.c
In file included from ../ruby-2.5.1/vm.c:300:
../ruby-2.5.1/vm_insnhelper.c:3823:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (event = (events & (RUBY_EVENT_CLASS | RUBY_EVENT_CALL | RUBY_EVENT_B_CALL))) {
            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ruby-2.5.1/vm_insnhelper.c:3823:12: note: place parentheses around the assignment to silence this warning
        if (event = (events & (RUBY_EVENT_CLASS | RUBY_EVENT_CALL | RUBY_EVENT_B_CALL))) {
                  ^
            (                                                                          )
../ruby-2.5.1/vm_insnhelper.c:3823:12: note: use '==' to turn this assignment into an equality comparison
        if (event = (events & (RUBY_EVENT_CLASS | RUBY_EVENT_CALL | RUBY_EVENT_B_CALL))) {
                  ^
                  ==
../ruby-2.5.1/vm_insnhelper.c:3838:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (event = (events & (RUBY_EVENT_END | RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN))) {
            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ruby-2.5.1/vm_insnhelper.c:3838:12: note: place parentheses around the assignment to silence this warning
        if (event = (events & (RUBY_EVENT_END | RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN))) {
                  ^
            (                                                                            )
../ruby-2.5.1/vm_insnhelper.c:3838:12: note: use '==' to turn this assignment into an equality comparison
        if (event = (events & (RUBY_EVENT_END | RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN))) {
                  ^
                  ==
compiling ../ruby-2.5.1/vm_dump.c
compiling ../ruby-2.5.1/vm_trace.c
compiling ../ruby-2.5.1/missing/memcmp.c
../ruby-2.5.1/missing/memcmp.c:14:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (tmp = *a++ - *b++)
            ~~~~^~~~~~~~~~~~~
../ruby-2.5.1/missing/memcmp.c:14:10: note: place parentheses around the assignment to silence this warning
        if (tmp = *a++ - *b++)
                ^
            (                )
../ruby-2.5.1/missing/memcmp.c:14:10: note: use '==' to turn this assignment into an equality comparison
        if (tmp = *a++ - *b++)
                ^
                ==
1 warning generated.
compiling ../ruby-2.5.1/missing/isinf.c
compiling ../ruby-2.5.1/missing/isnan.c
compiling ../ruby-2.5.1/missing/setproctitle.c
compiling ../ruby-2.5.1/addr2line.c
compiling ../ruby-2.5.1/dmyenc.c
compiling ../ruby-2.5.1/dln.c
compiling ../ruby-2.5.1/localeinit.c
compiling ../ruby-2.5.1/prelude.c
compiling ../ruby-2.5.1/array.c
compiling ../ruby-2.5.1/enc/ascii.c
compiling ../ruby-2.5.1/enc/us_ascii.c
compiling ../ruby-2.5.1/enc/unicode.c
compiling ../ruby-2.5.1/enc/utf_8.c
compiling ../ruby-2.5.1/enc/trans/newline.c
2 warnings generated.
linking miniruby
TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/recipe-sysroot-native/usr/bin/arm-bec-linux-musleabi/arm-bec-linux-musleabi-ld: process.o: in function `timetick2integer':
/usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:233: miniruby] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/temp/run.do_compile.35536:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/ruby/2.5.1-r0/temp/log.do_compile.35536)

Error details

Submitted on:
11/09/18 08:13
Error type:
Recipe
Task:
do_compile
Recipe:
ruby
Recipe version:
2.5.1-r0
Machine:
raspberrypi3
Distro:
bec
Build system:
x86_64-linux
Target system:
arm-bec-linux-musleabi
Host distro:
arch/arch
Branch:
kraj/master
Commit:
27faa6b2f9175390335ed7bd0fece4dd4d6a967b
Build:
#68185
Submitter:
raj.khem@gmail.com
Similar errors:
0
Open a bug