Closed Ecordonnier closed 1 month ago
@Ecordonnier this fails to patch on yocto AutoBuillder, secondly tthe commit message is poorly made. Please follow - YP Guidelines
My bad. I had tested perfetto, but had not realized libperfetto was the recipe using one of the patches.
more errors with v2 - https://errors.yoctoproject.org/Errors/Build/192005/
I had been testing with poky's core-image-full-cmdline, and had not noticed the musl specific errors triggered in the yoe build.
I added a patch to fix the musl issue (I reproduced locally using TCLIBC="musl" in poky and double-checked that both perfetto and libperfetto are now building with musl).
I can try another test process if there is one which is better (I'm not sure what's the best test in this case. I assume I can't trigger the yocto autobuilder on my own?).
Here is latest failure seen across musl and glibc with clang toolchain.
I have fixed the clang error (using TOOLCHAIN="clang" and meta-clang). I haven't understood why this happens only with clang and not with gcc.
Release Notes: https://github.com/google/perfetto/releases/tag/v47.0
Test procedure: Tested with TOOLCHAIN="clang" and MACHINE="qemux86-64" (using ARGS="is_debug=false enable_perfetto_x64_cpu_opt=false" in perfetto.bb because of missing SSE4.2,BMI2,AVX2 inside qemu):
I then manually verified the file using https://ui.perfetto.dev/