I'm trying to compile Kapitonov-Plugin-Pack by @olegkapitonov (https://github.com/olegkapitonov/Kapitonov-Plugins-Pack) for armv7 to use it with MODEP (and with a Moddevice in the future if the cross compile works, this is kind of a proof of concept)
I'm using the mod-plugin-builder local.env variant, which fails saying:
Code: Select all
[build@arch build]$ cat meson-logs/meson-log.txt
Build started at 2020-11-16T21:00:10.584189
Main binary: /usr/bin/python
Build Options:
Python system: Linux
The Meson build system
Version: 0.56.0
Source dir: /home/build/Kapitonov-Plugins-Pack
Build dir: /home/build/Kapitonov-Plugins-Pack/build
Build type: native build
Project name: kpp
Project version: 1.2
Using 'CC' from environment with value: 'arm-mod-linux-gnueabihf-gcc'
Using 'CFLAGS' from environment with value: '-O3 -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad -ffast-math -fno-finite-math-only -fprefetch-loop-arrays -funroll-loops -funsafe-loop-optimizations -D__MOD_DEVICES__ -isystem /home/build/mod-workdir/modduo/staging/usr/include'
Using 'LDFLAGS' from environment with value: '-Wl,-O1 -Wl,--as-needed -Wl,--strip-all -isystem /home/build/mod-workdir/modduo/staging/usr/lib'
None of 'CPPFLAGS' are defined in the environment, not changing global flags.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: arm-mod-linux-gnueabihf-gcc
Is cross compiler: False.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity check compiler command line: arm-mod-linux-gnueabihf-gcc /home/build/Kapitonov-Plugins-Pack/build/meson-private/sanitycheckc.c -o /home/build/Kapitonov-Plugins-Pack/build/meson-private/sanitycheckc.exe -O3 -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -mvectorize-with-neon-quad -ffast-math -fno-finite-math-only -fprefetch-loop-arrays -funroll-loops -funsafe-loop-optimizations -D__MOD_DEVICES__ -isystem /home/build/mod-workdir/modduo/staging/usr/include -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--strip-all /home/build/mod-workdir/modduo/staging/usr/lib
Sanity check compile stdout:
-----
Sanity check compile stderr:
/home/build/mod-workdir/modduo/staging/usr/lib: file not recognized: Is a directory
collect2: error: ld returned 1 exit status
-----
meson.build:1:0: ERROR: Compiler arm-mod-linux-gnueabihf-gcc can not compile programs.