Hi all - very new to the project, forgive (and correct) any errors in my thinking!
I'm currently working on optimizing Chrome Remote Desktop for the Raspberry Pi. One of the first things I'm doing is making sure ffmpeg is compiled in such a way that it takes advantage of the Pi's hardware encoder. Through much searching, I've discovered
build_ffmpeg.py. I'm trying to use it now.
First, according to the instructions in the file itself, I run:
cros chrome-sdk --board=arm-generic
and then:
./build_ffmpeg.py linux arm-neon
however, this gives me the error:
armv7a-cros-linux-gnueabi-gcc is unable to create an executable file.
C compiler test failed.
Searching the log, I see a bunch of errors of this form:
WARNING: armv7a-cros-linux-gnueabi-pkg-config not found, library detection may fail.
mktemp -u XXXXXX
B3TJTn
check_cpp_condition stddef.h defined __ARM_ARCH_4__ || defined __TARGET_ARCH_4
check_cpp
BEGIN /tmp/ffconf.pRkB2H55.c
1 #include <stddef.h>
2 #if !(defined __ARM_ARCH_4__ || defined __TARGET_ARCH_4)
3 #error "unsatisfied condition: defined __ARM_ARCH_4__ || defined __TARGET_ARCH_4"
4 #endif
END /tmp/ffconf.pRkB2H55.c
armv7a-cros-linux-gnueabi-gcc -pipe -march=armv7-a -mtune=cortex-a15 -mfpu=neon -mfloat-abi=hard -fno-split-dwarf-inlining -Wno-unknown-warning-option -Wno-inline-asm -I/usr/local/google/home/gusss/chromium/src/third_party/opus/src/include -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -E -o /tmp/ffconf.hUzNR5M8.o /tmp/ffconf.pRkB2H55.c
armv7a-cros-linux-gnueabi-gcc.real.elf: error: unrecognized command line option '-fno-split-dwarf-inlining'
I'm honestly not sure I'm on the right track in the first place. Should I be using the "cros" command? From what I can tell, this is used for setting up a ChromeOS development environment; however, I'm not doing anything involving ChromeOS. It seems the script is assuming that anyone trying to compile for ARM must be doing so for a ChromeOS setup?
I've just recently pulled, so everything should be up-to-date.
Can anyone give me some pointers as to what might be wrong?