Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to build from git master on Arch Linux #18

Open
glitsj16 opened this issue Mar 16, 2020 · 1 comment
Open

Failing to build from git master on Arch Linux #18

glitsj16 opened this issue Mar 16, 2020 · 1 comment

Comments

@glitsj16
Copy link

glitsj16 commented Mar 16, 2020

Hi, after noticing recent commit activity I held back reporting broken build failures on Arch Linux for a while, assuming things would sort themselves out. Today I tried another build from latest git at commit d07cb5b. Here are my observations:

...
./goldilocks_gen_tables > GEN/goldilocks_tables.c || (rm GEN/goldilocks_tables.c; exit 1)
/bin/sh: line 1: 104188 Illegal instruction     (core dumped) ./goldilocks_gen_tables > GEN/goldilocks_tables.c
make[2]: *** [Makefile:1333: GEN/goldilocks_tables.c] Error 1
make[2]: Leaving directory '/home/glitsj16/libgoldilocks/src'
make[1]: *** [Makefile:420: all-recursive] Error 1
make[1]: Leaving directory '/home/glitsj16/libgoldilocks'
make: *** [Makefile:351: all] Error 2

OS: Arch Linux

$ pacman -Q gcc make
gcc 9.3.0-1
make 4.3-1

Full build log: https://gist.github.com/glitsj16/67836b5e1c7aac97deeff161500d40c3

@mytbk
Copy link

mytbk commented Jun 5, 2020

I've just built one with PKGBUILD, and found:
variables.am:ARCHFLAGS = -maes -mavx2 -mbmi2 #TODO

So it'll be built with AVX2 on, but my machine is a Sandy Bridge, so get a SIGILL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants