Closed abique closed 2 years ago
Looks like AUR is adding an avx compile flag and hitting this.
https://github.com/surge-synthesizer/surge/issues/5993
why would a distro change compile flags? It shouldn’t!
Those are the flags in /etc/makepkg.conf
:
CFLAGS="-march=native -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
I'm not sure if I tweaked that, but it contains a -march=native
, maybe this is the problem?
Yeah surge won’t compile with thst
So then that was a user error! Sorry for that.
No problem! We should fix it of course. One day. But there's this project called CLAP which has been keeping me busy. Maybe you've heard of it. It's a cool new.... no wait! :)
Here the error when building from AUR:
Here is the package: https://aur.archlinux.org/packages/surge-xt