Hi Denys, I am aware of this issue. As stated in my commit, it is designed to improve reproducibility of gcc-cross-canadian as opposed to fully fixing it.
I have another patch I was going to submit which fully fixes this package by modifying the code of gcc's fixincludes program to not include full source directory, only source file name. However, removing these files entirely as you suggest will also work. Of course, it would be best to fix this in code and submit the same patch to gcc upstream to fix this issue for everyone. However, this would take more time and require us to maintain another patch in openembedded-core. Not sure which approach is preferred in OE. Regards, Oleksandr ________________________________ From: [email protected] <[email protected]> on behalf of Denys Dmytriyenko <[email protected]> Sent: Thursday, July 18, 2024 3:21 AM To: Oleksandr Hnatiuk -X (ohnatiuk - GLOBALLOGIC INC at Cisco) <[email protected]>; Richard Purdie <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: [OE-core] [PATCH v2] gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross-canadian FWIW, I'm testing master-next now with your patch applied and I'm also seeing the same buildpaths QA error in .../include-fixed/pthread.h ERROR: gcc-cross-canadian-aarch64-14.1.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/aarch64-poky-linux/gcc/aarch64-poky-linux/14.1.0/include-fixed/pthread.h in package gcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths] ERROR: gcc-cross-canadian-aarch64-14.1.0-r0 do_package_qa: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: /OE/poky-master/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-aarch64/14.1.0/temp/log.do_package_qa.820539 ERROR: Task (/OE/poky-master/meta/recipes-devtools/gcc/gcc-cross-canadian_14.1.bb:do_package_qa) failed with exit code '1'
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#202190): https://lists.openembedded.org/g/openembedded-core/message/202190 Mute This Topic: https://lists.openembedded.org/mt/107268307/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
