Repository navigation
Closed
Labels
Description
Package Name
mdio-tools
Maintainer
Damien Mascord [email protected]
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
qualcommax/ipq50xx
Steps to Reproduce
make V=s
Actual Behaviour
make[4]: Entering directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1'
make all-recursive
make[5]: Entering directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1'
Making all in man
make[6]: Entering directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1/man'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1/man'
Making all in src
make[6]: Entering directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1/src'
Making all in mdio
make[7]: Entering directory '/srv/blob/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1/src/mdio'
ccache aarch64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/usr/include -I/home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include -I/home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify -Wall -Wextra -Werror -Wno-unused-parameter -I ../../include -I/home/ding/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/ding/openwrt/build_dir/target-aarch64_cortex-a53_musl/mdio-tools-1.3.1=mdio-tools-1.3.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o mdio-bus.o `test -f 'bus.c' || echo './'`bus.c
In file included from ../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/stdio.h:26,
from bus.c:1:
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:27:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
27 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x))
| ^~~~~~~~~~~~~
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:30:7: note: in expansion of macro '__fh_has_builtin'
30 | #if ! __fh_has_builtin(__builtin_trap)
| ^~~~~~~~~~~~~~~~
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:27:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
27 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x))
| ^~~~~~~~~~~~~
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:75:29: note: in expansion of macro '__fh_has_builtin'
75 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size)
| ^~~~~~~~~~~~~~~~
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:27:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
27 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x))
| ^~~~~~~~~~~~~
../../../../../../../home/ding/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-14.3.0_musl/include/fortify/fortify-headers.h:160:5: note: in expansion of macro '__fh_has_builtin'
160 | #if __fh_has_builtin (__builtin_mul_overflow_p)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [Makefile:394: mdio-bus.o] Error 1
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Activity
hauke commentedon Oct 28, 2025
I reverted the the fortify-headers update again, see ab221cfcd93ac825c935ff020ee6d883b98e83a8 fbe2ad6c60709aa5379e227d10a6f3e0e711c84b and 677c5c3b0d62e33c49b28f8e66a30f948d356cd9.
The old version works fine for us, but the updates have too many problems.