Dear contributor,
Our automatic CI has detected problems related to your patch(es). Please find some details below.
In glibc_build master-aarch64, after: | commit glibc-2.41.9000-417-gf3c82fc1b4 | Author: Radko Krkos krkos@mail.muni.cz | Date: Sat Jun 14 11:07:40 2025 +0200 | | io: Mark lockf() __wur [BZ #32800] | | In commit 0476597b28 flock() was marked __wur in posix/unistd.h, but not | in io/fcntl.h, the declarations must match. | | ... 1 lines of the commit log omitted.
Produces Failure: | Results changed to | # reset_artifacts: | -10 | # init_abe_sysroot: | 0 | # build_abe glibc -- --disable install: | # FAILED | # First few build errors in logs: | # 00:01:42 programs/locarchive.c:641:18: error: ignoring return value of ‘lockf64’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] | # 00:01:42 programs/locarchive.c:653:14: error: ignoring return value of ‘lockf64’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] | # 00:01:42 programs/locarchive.c:660:14: error: ignoring return value of ‘lockf64’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] | # 00:01:42 programs/locarchive.c:679:14: error: ignoring return value of ‘lockf64’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] | # 00:01:42 make[2]: *** [../o-iterator.mk:9: /home/tcwg-buildslave/workspace/tcwg_gnu_3/abe/builds/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/glibc-glibc.git~master/locale/locarchive.o] Error 1 | # 00:01:42 make[1]: *** [Makefile:484: locale/others] Error 2 | # 00:01:42 make: *** [Makefile:20: all] Error 2 | | From | # reset_artifacts: | -10 | # init_abe_sysroot: | 0 | # build_abe glibc -- --disable install: | 1
Used configuration : *CI config* tcwg_glibc_build master-aarch64 *configure and test flags:* none, autodetected on aarch64-unknown-linux-gnu
We track this bug report under https://linaro.atlassian.net/browse/GNU-1605. Please let us know if you have a fix.
If you have any questions regarding this report, please ask on linaro-toolchain@lists.linaro.org mailing list.
-----------------8<--------------------------8<--------------------------8<--------------------------
The information below contains the details of the failures, and the ways to reproduce a debug environment:
You can find the failure logs in * https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/2952/artifa... The full lists of regressions and improvements as well as configure and make commands are in * https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/2952/artifa...
Current build : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/2952/artifa... Reference build : https://ci.linaro.org/job/tcwg_glibc_build--master-aarch64-build/2950/artifa...
Instruction to reproduce the build : https://gitlab.com/Linaro/tcwg/ci/interesting-commits/-/raw/master/glibc/sha...
Full commit : https://sourceware.org/git/?p=glibc.git%3Ba=commitdiff%3Bh=f3c82fc1b41261f58...
* ci notify:
Dear contributor,
Our automatic CI has detected problems related to your patch(es). Please find some details below.
In glibc_build master-aarch64, after: | commit glibc-2.41.9000-417-gf3c82fc1b4 | Author: Radko Krkos krkos@mail.muni.cz | Date: Sat Jun 14 11:07:40 2025 +0200 | | io: Mark lockf() __wur [BZ #32800] | | In commit 0476597b28 flock() was marked __wur in posix/unistd.h, but not | in io/fcntl.h, the declarations must match. | | ... 1 lines of the commit log omitted.
This does not happen with the upstream GCC 13 toolchain, it seems to be caused by the fortify default in Ubuntu. I can reproduce it when running configure with --enable-fortify-source=3.
I'll post a fix.
Thanks, Florian
linaro-toolchain@lists.linaro.org