# Mender 2.0 asm too many errors

**URL:** <https://hub.mender.io/t/mender-2-0-asm-too-many-errors/632>\
**Category:** General Discussions\
**Created:** [May 27, 2019, 8:52am UTC](https://hub.mender.io/t/mender-2-0-asm-too-many-errors/632 "2019-05-27T08:52:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wulfsmith](https://avatars.discourse-cdn.com/v4/letter/w/f6c823/32.png) [@wulfsmith](https://hub.mender.io/u/wulfsmith)\
**Post date:** [May 27, 2019, 8:52am UTC](https://hub.mender.io/t/mender-2-0-asm-too-many-errors/632/1 "2019-05-27T08:52:24Z")

</div>

hey support,

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

```auto
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.%"

```

```auto

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

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [May 28, 2019, 11:24am UTC](https://hub.mender.io/t/mender-2-0-asm-too-many-errors/632/2 "2019-05-28T11:24:35Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![wulfsmith](https://avatars.discourse-cdn.com/v4/letter/w/f6c823/32.png) [@wulfsmith](https://hub.mender.io/u/wulfsmith)\
**Post date:** [May 28, 2019, 1:17pm UTC](https://hub.mender.io/t/mender-2-0-asm-too-many-errors/632/3 "2019-05-28T13:17:02Z")

</div>

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%
