I am new to CEF so please forgive the rookie mistakes.
I am trying to build an ARM64 release. I have generated the projects and issued the build command
- Code: Select all
ninja -C out/Release_GN_arm64 cefsimple chrome_sandbox
I get the following failure when trying to link font_service.service
- Code: Select all
ninja: Entering directory `out/Release_GN_arm64'
[10855/30448] LINK ./font_service.service
FAILED: font_service.service
python "../../build/toolchain/gcc_link_wrapper.py" --output="./font_service.service" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed --target=aarch64-linux-gnu -pthread -Werror -Wl,-O1 -Wl,--gc-sections --sysroot=../../build/linux/debian_jessie_arm64-sysroot -L../../build/linux/debian_jessie_arm64-sysroot/lib/aarch64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_jessie_arm64-sysroot/lib/aarch64-linux-gnu -L../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu -Wl,-rpath-link=../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,--export-dynamic -L../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu -o "./font_service.service" -Wl,--start-group @"./font_service.service.rsp" -Wl,--end-group -ldl -lrt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lpangocairo-1.0 -lpango-1.0 -lcairo -lfontconfig -lexpat -lgio-2.0
/usr/bin/aarch64-linux-gnu-ld: warning: libfreetype.so.6, needed by ../../build/linux/debian_jessie_arm64-sysroot/usr/lib/aarch64-linux-gnu/libfontconfig.so, may conflict with libfreetype.so.6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[10857/30448] CXX obj/chrome/common/instant_mojom_shared_cpp_sources/instant.mojom-shared.o
ninja: build stopped: subcommand failed.
In the directory out/Release_GN_arm64/obj/third_party/freetype I issued a file on the libfretype.so.6
- Code: Select all
file libfreetype.so.6
libfreetype.so.6: current ar archive
I was expecting the file cmd to return something like
ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked
So, I am not sure if the issue is that the build for freetype is not creating the correct output file or am I missing something else?
Any ideas?