Mender 2.0 asm too many errors

hey support,

compiling mender 2.0 is ending up in an error. Anybody has some hints?

MENDER_FEATURES_ENABLE_append = " mender-grub mender-image-uefi mender-image mender-partuuid "
MENDER_FEATURES_DISABLE_append = " mender-uboot mender-image-sd"
PREFERRED_VERSION_mender = "2.0%"
PREFERRED_VERSION_go = "1.10.%"
PREFERRED_VERSION_go-native = "1.10.%"
PREFERRED_VERSION_go-runtime = "1.10.%"
PREFERRED_VERSION_go-cross = "1.10.%"


ERROR: mender-2.0.0-r0.1 do_compile: oe_runmake failed
ERROR: mender-2.0.0-r0.1 do_compile: Function failed: do_compile (log file is located at /home/user/build/tmp/work/core2-64-poky-linux/mender/2.0.0-r0.1/temp/log.do_compile.16056)
ERROR: Logfile of failure stored in: /home/user/build/tmp/work/core2-64-poky-linux/mender/2.0.0-r0.1/temp/log.do_compile.16056
Log data follows:
| DEBUG: Executing shell function do_compile
| md5sum: /home/user/build/tmp/work/core2-64-poky-linux/mender/2.0.0-r0.1/server.crt: No such file or directory
| NOTE: make -j 16 V=1
| x86_64-poky-linux-go build -ldflags "-X main.Version=2.0.0" -v
| runtime/internal/sys
| runtime/internal/atomic
| runtime
| errors
| internal/cpu
| internal/race
| sync/atomic
| unicode
| unicode/utf8
| encoding
| unicode/utf16
| internal/nettrace
| math/bits
| container/list
| crypto/subtle
| crypto/internal/cipherhw
| vendor/golang_org/x/crypto/cryptobyte/asn1
| math
| vendor/golang_org/x/crypto/curve25519
| sync
| internal/testlog
| vendor/golang_org/x/crypto/poly1305
| github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/internal/lmdbarch
| syscall
| io
| internal/singleflight
| bytes
| strings
| hash
| crypto/cipher
| crypto/hmac
| hash/crc32
| bufio
| github.com/mendersoftware/mender/vendor/golang.org/x/text/transform
| vendor/golang_org/x/text/transform
| # math
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:129: unrecognized instruction "VFNMADD231SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:131: unrecognized instruction "VFNMADD231SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:136: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:137: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:138: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:139: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:140: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:141: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:142: unrecognized instruction "VFMADD213SD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:144: unrecognized instruction "VADDSD"
| ../../../../../recipe-sysroot/usr/lib/go/src/math/exp_amd64.s:146: unrecognized instruction "VADDSD"
| asm: too many errors
| path
| time
| internal/syscall/unix
| internal/poll
| os
| os/signal
| Makefile:69: recipe for target 'mender' failed
| make: *** [mender] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/user/build/tmp/work/core2-64-poky-linux/mender/2.0.0-r0.1/temp/run.do_compile.16056:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/user/build/tmp/work/core2-64-poky-linux/mender/2.0.0-r0.1/temp/log.do_compile.16056)
ERROR: Task (/home/user/sources/meta-mender/meta-mender-core/recipes-mender/mender/mender_2.0.0.bb:do_compile) failed with exit code '1'

Edit: @mirzak: prettify log output

Hello,

I have a couple of follow up questions,

  • What Yocto version are you using?
  • What is your target MACHINE and the configuration of it?
  • Why do you set go version to 1.10?
  • Does it work to compile 1.7.x client?

Hey Mirzak,

*poky is sumo
*intel core2-64
*highest go version possible
*no same issue.

I can compile it with thud, python3 3.7.3., go 1.11%