elfutils build failure

Peter Naulls peter at chocky.org
Wed Jan 25 13:22:42 PST 2023


This is elfutils-0.188 in master. No doubt I'm using a bad toolchain combo - I
brought the config over from my 22.03 build:

CONFIG_GCC_VERSION="11.3.0"
CONFIG_BINUTILS_VERSION_2_38=y



configure:3994: mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely 
-mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float 
-mips16 -minterlink-mips16 
-fmacro-prefix-map=/home/peter/awc/openwrt-master/build_dir/target-mipsel_24kc_musl/elfutils-0.188=elfutils-0.188 
-Wformat -Werror=format-security -DPIC -fpic -fstack-protector-strong 
-D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -D_GNU_SOURCE -Wno-unused-result 
-Wno-format-nonliteral -Wno-error=use-after-free 
-I/home/peter/awc/openwrt-master/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/usr/include 
-I/home/peter/awc/openwrt-master/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/include/fortify 
-I/home/peter/awc/openwrt-master/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/include 
 
-L/home/peter/awc/openwrt-master/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/usr/lib 
-L/home/peter/awc/openwrt-master/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/lib 
-DPIC -fpic -specs=/home/peter/awc/openwrt-master/include/hardened-ld-pie.specs 
-znow -zrelro    conftest.c  >&5
cc1: error: '-Wno-error=use-after-free': no option '-Wuse-after-free'



More information about the openwrt-devel mailing list