I have cross compiled for ARM a few times, but today I think I finally managed to properly enable proprietary codecs. However I was facing the following error at the end:
- Code: Select all
[62166/62167] SOLINK ./libcef.so
FAILED: libcef.so libcef.so.TOC
python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="arm-linux-gnueabihf-readelf" --nm="arm-linux-gnueabihf-nm" --sofile="./libcef.so" --tocfile="./libcef.so.TOC" --output="./libcef.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-soname="libcef.so" -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics --target=arm-linux-gnueabihf -Werror -Wl,-O2 -Wl,--gc-sections -Wl,--gdb-index -rdynamic -nostdlib++ --sysroot=../../build/linux/debian_sid_arm-sysroot -L../../build/linux/debian_sid_arm-sysroot/usr/local/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -L../../build/linux/debian_sid_arm-sysroot/usr/lib/arm-linux-gnueabihf -o "./libcef.so" @"./libcef.so.rsp"
ld.lld: error: output file too large: 6148544136 bytes
Besides the error it also seems strange that the file is 6.1gb, it used to be a lot smaller. Has this happened to anyone before?
BR
Yanick