conorpp / u2f-zero

U2F USB token optimized for physical security, affordability, and style
Other
2.41k stars 200 forks source link

Compiler coredumps at Ubuntu 18.04.1 LTS #88

Open dimonomid opened 6 years ago

dimonomid commented 6 years ago

I've got a freshly installed (in a virtualbox) Ubuntu 18.04.1 64-bit, installed all prerequisites, then installed Simplicity Studio v3 without an issue, installed EFM8/C8051 8-bit Products etc etc how described in the wiki, imported the project into workspace, and at the build step, here's what I have:

13:53:57 **** Build of configuration release for project u2f-firmware ****
make all
PATH=/home/ss/Desktop/SimplicityStudio_v3/developer/toolchains/keil_8051/9.53/BIN:/home/ss/Desktop/SimplicityStudio_v3/developer/utilities/build-support/usr/bin:/home/ss/Desktop/SimplicityStudio_v3/developer/utilities/third-party/wine/usr/bin:/home/ss/Desktop/SimplicityStudio_v3/developer/utilities/build-support/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Building file: ../tests/tests.c
Invoking: Keil 8051 Compiler
wine /home/ss/Desktop/SimplicityStudio_v3/developer/toolchains/keil_8051/9.53/BIN/C51 "@tests/tests.__i" || test $? -lt 2
Segmentation fault (core dumped)
make: *** [tests/tests.OBJ] Error 1

13:53:57 Build Finished (took 362ms)

Just in case, I tried to exclude tests from build, but then it coredumps trying to compile another file.

Does building on Linux work for someone here? Any ideas what could be wrong?

If anyone has a virtualbox (or vmware) image with the working installation, that'd be awesome.

szszszsz commented 6 years ago

Hi! Perhaps these instructions will help you - https://github.com/Nitrokey/nitrokey-fido-u2f-firmware/blob/master/README.md#build-ubuntu-1804. Lately though it stopped working on one of my setups as well - I guess selecting proper wine version should suffice.