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

compilation error #97

Open
maaathieu-x opened this issue May 9, 2022 · 3 comments
Open

compilation error #97

maaathieu-x opened this issue May 9, 2022 · 3 comments

Comments

@maaathieu-x
Copy link

Hi,

I'm trying to compile an openwrt image including glorytun, using glorytun-openwrt, but the compilation fails at some point with this error message:

mud/aegis256/aegis256.c:301:1: error: 'armv7ve' does not support feature 'crypto'
mud/aegis256/aegis256.c:301:1: note: valid feature names are: vfpv3-d16 vfpv3 vfpv3-d16-fp16 vfpv3-fp16 fp vfpv4 neon neon-fp16 simd nosimd nofp vfpv4-d16 neon-vfpv3 neon-vfpv4
Is this a misconfiguration on my side, or could this be a bug in mud trying to set the "crypto" feature while it's not valid ?

Thanks,

Mathieu

@angt
Copy link
Owner

angt commented May 9, 2022

Hi,
I confirm that aegis256 is not available on armv7ev and I guess that the __ARM_NEON_FP is defined in your case ?

@angt
Copy link
Owner

angt commented May 9, 2022

I said nothing, it should work:

$ arm-linux-musleabi-gcc -march=armv7ve -mfpu=neon -o test -static test.c
$ file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, with debug_info, not stripped
$ ./test
not available

@maaathieu-x
Copy link
Author

I don't know. I only downloaded the sdk from the vendor, added the glorytun-openwrt feed, checked the glorytun option in "make menuconfig" and launched the compilation, which fails while compiling glorytun.
without the glorytun feed, the compilation completes successfully, so I thought it's an issue with glorytun.
I tried with v0.3.3 and v0.3.4.

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