-
Notifications
You must be signed in to change notification settings - Fork 230
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
Compiling dump1090 fails on arm #122
Comments
Should already be fixed on the dev branch, please try the dev branch,. |
Fails with a different error here, on both the master and dev branch. Using
This is on "Raspbian GNU/Linux 9 (stretch)" and RPi3 armv7l
This one however works:
replacing |
The NEON build isn't supported on stretch, please see (If you have a clean patch to support stretch with neon, that'd be great - please submit a PR - but otherwise I don't plan to add neon support to stretch since it's an old distribution version) |
Thanks Oliver. diff --git a/dsp/generated/makefile.arm b/dsp/generated/makefile.arm
index 58eaf5b..5145c5b 100644
--- a/dsp/generated/makefile.arm
+++ b/dsp/generated/makefile.arm
@@ -22,7 +22,7 @@ STARCH_CFLAGS := -DSTARCH_MIX_ARM
dsp/generated/flavor.armv7a_neon_vfpv4.o: dsp/generated/flavor.armv7a_neon_vfpv4.c dsp/impl/mean_power_u16.c dsp/impl/magnitude_power_uc8.c dsp/impl/magnitude_uc8.c dsp/impl/magnitude_sc16q11.c dsp/impl/magnitude_sc16.c
- $(STARCH_COMPILE) $(STARCH_CFLAGS) -march=armv7-a+neon-vfpv4 -mfpu=neon-vfpv4 -ffast-math dsp/generated/flavor.armv7a_neon_vfpv4.c -o dsp/generated/flavor.armv7a_neon_vfpv4.o
+ $(STARCH_COMPILE) $(STARCH_CFLAGS) -march=armv7-a -mfpu=neon-vfpv4 -ffast-math dsp/generated/flavor.armv7a_neon_vfpv4.c -o dsp/generated/flavor.armv7a_neon_vfpv4.o
dsp/generated/flavor.generic.o: dsp/generated/flavor.generic.c dsp/impl/mean_power_u16.c dsp/impl/magnitude_power_uc8.c dsp/impl/magnitude_uc8.c dsp/impl/magnitude_sc16q11.c dsp/impl/magnitude_sc16.c
$(STARCH_COMPILE) $(STARCH_CFLAGS) dsp/generated/flavor.generic.c -o dsp/generated/flavor.generic.o But judging your comment above, Stretch is considered EOL to compile fresh packages on, right? |
Stretch is still supported and you should be able to build a stretch package without needing to patch everything if you use Oops, I see the README is out of date and doesn't mention this step! mea culpa. Run |
Ah, that's why I missed it! Compiling now as described above, in the
|
That'll be another case of the stretch support being limited - the custom build profile stuff only works with buster at the moment. |
Can confirm for arm64 on a rock64 board. |
I can also confirm the dev branch builds correctly on Pi4/focal. |
The text was updated successfully, but these errors were encountered: