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

"Error: unrecognized option -mfpu=neon" When Compiling Server Version on the Raspberry Pi 3B+ #45761

Closed
ngreve opened this issue Feb 6, 2021 · 1 comment

Comments

@ngreve
Copy link

ngreve commented Feb 6, 2021

I would like to run Godot as a server on a Raspberry Pi, so I tried to compile it natively. (Probably related to godotengine/godot-proposals#988 in some way)

Godot version:

3.2 branch
Commit: 3e2e214

OS/device including version:

Raspberry Pi 3B+ running ArchLinuxARM

Issue description:

When compiling with scons -j2 platform=server tools=no target=release bits=32 natively on the Raspberry Pi 3B+ the following error occurs:

. . . 
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct16x16_1_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct16x16_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct16x16_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct32x32_1_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct32x32_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct4x4_1_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct4x4_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct8x8_1_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/idct8x8_add_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/intrapred_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/loopfilter_16_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/loopfilter_4_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/loopfilter_8_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/loopfilter_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/vpx_convolve8_avg_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/vpx_convolve8_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/vpx_convolve_avg_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/vpx_convolve_copy_neon.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/arm/vpx_convolve_neon.c
[Initial build] as -mfpu=neon -o thirdparty/libvpx/vpx_dsp/arm/gas/intrapred_neon_asm.x11.opt.32.o thirdparty/libvpx/vpx_dsp/arm/gas/intrapred_neon_asm.s
Assembler messages:
Error: unrecognized option -mfpu=neon
scons: *** [thirdparty/libvpx/vpx_dsp/arm/gas/intrapred_neon_asm.x11.opt.32.o] Error 1
scons: building terminated because of errors

Steps to reproduce:
Run scons -j2 platform=server tools=no target=release bits=32 on a Raspberry Pi B+ running ArchLinuxARM

@Calinou
Copy link
Member

Calinou commented Feb 6, 2021

Duplicate of #30914. You need to add module_webm_enabled=no on the SCons command line.

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

No branches or pull requests

2 participants