clearly-broken-software / drops

Drops Really Only Plays Samples
GNU General Public License v3.0
58 stars 7 forks source link

Fails to build on Raspberry Pi Debian 10 (Buster) 32-bit #44

Open riban-bw opened 3 years ago

riban-bw commented 3 years ago

The build fails:

/root/drops/sfizz//external/simde/simde/x86/sse2.h: In function ‘simde__m128d simde_x_mm_abs_pd(simde__m128d)’:
/root/drops/sfizz//external/simde/simde/x86/sse2.h:424:10: error: ‘union simde__m128d_private’ has no member named ‘neon_f64’; did you mean ‘neon_i64’?
       r_.neon_f64 = vabsq_f64(a_.neon_f64);
          ^~~~~~~~
          neon_i64
/root/drops/sfizz//external/simde/simde/x86/sse2.h:424:34: error: ‘union simde__m128d_private’ has no member named ‘neon_f64’; did you mean ‘neon_i64’?
       r_.neon_f64 = vabsq_f64(a_.neon_f64);
                                  ^~~~~~~~
                                  neon_i64
/root/drops/sfizz//external/simde/simde/x86/sse2.h:424:21: error: ‘vabsq_f64’ was not declared in this scope
       r_.neon_f64 = vabsq_f64(a_.neon_f64);
                     ^~~~~~~~~
/root/drops/sfizz//external/simde/simde/x86/sse2.h:424:21: note: suggested alternative: ‘vabsq_f32’
       r_.neon_f64 = vabsq_f64(a_.neon_f64);
                     ^~~~~~~~~
                     vabsq_f32
make: *** [sfizz/dpf.mk:83: /root/drops/sfizz//dpf-build/src/sfizz/Interpolators.cpp.o] Error 1

Looks like neon 64-bit float is not defined in this 32-bit OS.

rghvdberg commented 3 years ago

I dunno if sfizz works at all on amd?

riban-bw commented 3 years ago

I guess you meant ARM, not AMD. We have sfizz running on Zynthian on Debian 10 on Raspberry Pi. Maybe there is a patch required to sfizz.

rghvdberg commented 3 years ago

It's probably just a matter of updating the sfizz submodule. I currently don't have the time to look into this and I can't give you instructions on how to update that module because anything related to git I have to Google myself 🤣.
My git-fu is very weak.