mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-25 16:13:05 +00:00
1cb489c784
Add two patches to fix compile errors being repeatedly seen on OpenWrt CI. The first is an upstream backport to fix this i386-related error: x86_64-openwrt-linux-musl-gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.3.0/include -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S purgatory/arch/i386/entry32-16.S: Assembler messages: purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'. The second addresses an error using basename() on musl libc: kexec/arch/i386/x86-linux-setup.c: In function 'add_edd_entry': kexec/arch/i386/x86-linux-setup.c:332:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 332 | if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { | ^~~~~~~~ kexec/arch/i386/x86-linux-setup.c:332:20: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion] 332 | if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { | ^~~~~~~~~~~~~~~~~~~~ | | | int ... Fixes: #14621 Signed-off-by: Tony Ambardar <itugrok@yahoo.com> |
||
---|---|---|
.. | ||
apex | ||
arm-trusted-firmware-bcm63xx | ||
arm-trusted-firmware-mediatek | ||
arm-trusted-firmware-mvebu | ||
arm-trusted-firmware-rockchip | ||
arm-trusted-firmware-sunxi | ||
arm-trusted-firmware-tools | ||
at91bootstrap | ||
fconfig | ||
grub2 | ||
imx-bootlets | ||
kexec-tools | ||
kobs-ng | ||
mt7623n-preloader | ||
opensbi | ||
rkbin | ||
tfa-layerscape | ||
uboot-armsr | ||
uboot-at91 | ||
uboot-bcm53xx | ||
uboot-bcm4908 | ||
uboot-bmips | ||
uboot-d1 | ||
uboot-envtools | ||
uboot-fritz4040 | ||
uboot-imx | ||
uboot-kirkwood | ||
uboot-lantiq | ||
uboot-layerscape | ||
uboot-mediatek | ||
uboot-mvebu | ||
uboot-mxs | ||
uboot-omap | ||
uboot-rockchip | ||
uboot-sifiveu | ||
uboot-sunxi | ||
uboot-tegra | ||
uboot-zynq |