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

OpenWebRX "make" error on CPU A64 Quad-core Cortex-A53 64bit #101

Open
R8QAAE opened this issue Nov 16, 2017 · 2 comments

Comments

@R8QAAE
Copy link

commented Nov 16, 2017

Hi ALL !

I try to run the project on Orange Pi Win , CPU A64 Quad-core Cortex-A53 64bit, and I get a compilation error:

orangepi@Orangepi:~/csdr$ make
NOTE: you may have to manually edit Makefile to optimize for your CPU (especially if you compile on ARM, please edit PARAMS_NEON).
Auto-detected optimization parameters: -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS

rm -f dumpvect*.vect
gcc -std=gnu99 -O3 -ffast-math -fdump-tree-vect-details -dumpbase dumpvect -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS fft_fftw.c libcsdr_wrapper.c -g -lm -lrt -lfftw3f -DUSE_FFTW -DLIBCSDR_GPL -DUSE_IMA_ADPCM -Wno-unused-result -fpic -shared -Wl,-soname,libcsdr.so.0.15 -o libcsdr.so.0.15
gcc: error: unrecognized command line option '-mfloat-abi=hard'
gcc: error: unrecognized command line option '-mfpu=neon'
gcc: error: unrecognized command line option '-mvectorize-with-neon-quad'
Makefile:52: recipe for target 'libcsdr.so' failed
make: *** [libcsdr.so] Error 1

USING SYSTEMS
Ubuntu 16.04.3 LTS aarch64, or ARMBIAN (same mistake):

Tell me please, how should I modify the MakeFile for this CPU ?
__
With greetings from Russia, R8QAAE !

@R8QAAE

This comment has been minimized.

Copy link
Author

commented Nov 18, 2017

I found ))
For this processor, the directives are as follows:
-march = armv8-a + crc + crypto -mtune = cortex-a53

@FeatherGrass2019

This comment has been minimized.

Copy link

commented Aug 15, 2019

Can you tell me what the directives for Raspberry Pi 4 are?the processor is Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
thanks..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.