felislynx
01/26/2021, 9:52 AMaltavir
01/26/2021, 10:25 AMfelislynx
01/26/2021, 10:27 AMaltavir
01/26/2021, 10:28 AMfelislynx
01/26/2021, 10:32 AMolonho
01/26/2021, 10:33 AMfelislynx
01/26/2021, 10:34 AMaltavir
01/26/2021, 10:34 AMfelislynx
01/26/2021, 10:35 AMDominaezzz
01/26/2021, 11:55 AMaltavir
01/26/2021, 11:56 AMDominaezzz
01/26/2021, 11:57 AMfelislynx
01/26/2021, 12:03 PMjim
01/26/2021, 3:39 PMAru
01/27/2021, 9:20 PMskia_use_system_libjpeg_turbo=true
. This went fine. But I was using BitBake from the Yocto build system to achieve this, and so, I cannot raise a PR for this way of building.
• I tried to install a cross-compiler in Ubuntu docker image and use the scripts from skia-build
to build it. I'm getting the below error and I cannot get past it. This looks from libjpeg-turbo
. I cannot include the native dependency for libjpeg-tyrbo because it was cross compilation.
FAILED: obj/third_party/externals/libjpeg-turbo/simd/arm/common/libjpeg.jidctfst-neon.o
aarch64-linux-gnu-gcc -MD -MF obj/third_party/externals/libjpeg-turbo/simd/arm/common/libjpeg.jidctfst-neon.o.d -DTURBO_FOR_WINDOWS -DC_ARITH_CODING_SUPPORTED=1 -DD_ARITH_CODING_SUPPORTED=1 -DUSE_CLZ_INTRINSIC -DNDEBUG -w -Wno-attributes -fstrict-aliasing -fPIC -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -Wno-sign-conversion -Wno-unused-parameter -march=armv8-a -O3 -isystem /src/skia/third_party/libjpeg-turbo -isystem /src/skia/third_party/externals/libjpeg-turbo -c ../../third_party/externals/libjpeg-turbo/simd/arm/common/jidctfst-neon.c -o obj/third_party/externals/libjpeg-turbo/simd/arm/common/libjpeg.jidctfst-neon.o
../../third_party/externals/libjpeg-turbo/simd/arm/common/jidctfst-neon.c: In function 'jsimd_idct_ifast_neon':
../../third_party/externals/libjpeg-turbo/simd/arm/common/jidctfst-neon.c:87:28: error: incompatible types when initializing type 'int64_t' {aka 'long int'} using type 'int64x1_t'
87 | int64_t left_ac_bitmap = vreinterpret_s64_s16(vget_low_s16(bitmap));
| ^~~~~~~~~~~~~~~~~~~~
I was proceeding with compilation of skiko
inside the Yocto build system. But Skiko uses Gradle to compile the C++ code and do linking with Skia. Gradle does not support external toolchains other than gcc
in Linux. The cross-compiler I wanna use is aarch64-fslc-linux-gcc
. I'm trying to extend the AbstractGccCompatibleToolChain
in Gradle to use a new toolchain but i've been unsuccessful so far.felislynx
03/25/2021, 10:37 AMAru
03/25/2021, 1:36 PMfelislynx
03/26/2021, 6:23 AM