Tracktion / pluginval

Cross platform plugin testing and validation tool
GNU General Public License v3.0
390 stars 57 forks source link

Compilation fails on Linux aarch64 #128

Open SpotlightKid opened 5 months ago

SpotlightKid commented 5 months ago

Compilation of pluginval 1.0.3 fails in our Arch package building CI on the Linux aarch64 builder (a Raspberry Pi 4) with a message about an error in the generated Assembly, which I can't interpret.

Error message (full build log here):

-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/sbin/pkg-config (found version "2.1.1")
-- Checking for module 'alsa'
--   Found alsa, version 1.2.12
-- Checking for module 'freetype2'
--   Found freetype2, version 26.1.20
-- Checking for module 'libcurl'
--   Found libcurl, version 8.8.0
-- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0'
--   Found webkit2gtk-4.0, version 2.44.2
--   Found gtk+-x11-3.0, version 3.24.42
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Not building with VST2
-- Configuring done (83.1s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/build/pluginval/src/pluginval-1.0.3-build

[...]

/tmp/build/pluginval/src/pluginval-1.0.3/modules/juce/modules/juce_gui_basics/components/juce_Component.cpp:3107:49: note: ‘this’ declared here
 3107 | void Component::setEnabled (bool shouldBeEnabled)
      |                                                 ^
{standard input}: Assembler messages:
{standard input}:1295889: Warning: end of file not at end of a line; newline inserted
{standard input}:1296313: Error: ']' expected at operand 2 -- `ldr x16,[x16,:got_lo12:_Zd'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/pluginval.dir/build.make:332: CMakeFiles/pluginval.dir/modules/juce/modules/juce_gui_basics/juce_gui_basics.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:148: CMakeFiles/pluginval.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Build commands are here.