[OpenWrt-Devel] cns3xxx + gcc8 = compile error
Koen Vandeputte
koen.vandeputte at ncentric.com
Mon Jul 30 10:34:44 EDT 2018
Hi Syrone,
Hi Felix,
I've just been playing around validating some archs using GCC 8.
Using this version on cns3xxx target shows following error:
make[2]: Entering directory
'/home/kvdp/firmware/builds/generic_cns3xxx/scripts/config'
make[2]: Leaving directory
'/home/kvdp/firmware/builds/generic_cns3xxx/scripts/config'
make[1]: Entering directory '/home/kvdp/firmware/builds/generic_cns3xxx'
make[2]: Entering directory '/home/kvdp/firmware/builds/generic_cns3xxx'
make[3]: Entering directory
'/home/kvdp/firmware/builds/generic_cns3xxx/target/linux'
make[4]: Entering directory
'/home/kvdp/firmware/builds/generic_cns3xxx/target/linux/cns3xxx'
rm -f
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/localversion
/home/kvdp/firmware/builds/generic_cns3xxx/scripts/kconfig.pl +
/home/kvdp/firmware/builds/generic_cns3xxx/target/linux/generic/config-4.14
/home/kvdp/firmware/builds/generic_cns3xxx/target/linux/cns3xxx/config-4.14
>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
awk
'/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}'
/home/kvdp/firmware/builds/generic_cns3xxx/.config >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
/home/kvdp/firmware/builds/generic_cns3xxx/scripts/package-metadata.pl
kconfig /home/kvdp/firmware/builds/generic_cns3xxx/tmp/.packageinfo
/home/kvdp/firmware/builds/generic_cns3xxx/.config 4.14 >
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.override
/home/kvdp/firmware/builds/generic_cns3xxx/scripts/kconfig.pl 'm+' '+'
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.target
/dev/null
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.override
>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
mv
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.old
grep -v INITRAMFS
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.old
>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
echo 'CONFIG_INITRAMFS_SOURCE=""' >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
echo '# CONFIG_INITRAMFS_FORCE is not set' >>
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
rm -rf
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/modules
cmp -s
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.prev
|| { cp
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config;
cp
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.prev;
}
export MAKEFLAGS= ; [ -d
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/user_headers
] || make -C
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54
HOSTCFLAGS="-O2
-I/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/host/include
-Wall -Wmissing-prototypes -Wstrict-prototypes"
CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm"
KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST=""
KBUILD_BUILD_TIMESTAMP="Mon Jul 30 13:19:16 2018"
KBUILD_BUILD_VERSION="0"
HOST_LOADLIBES="-L/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/host/lib"
CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=4.14.54
CC="ccache_cc"
INSTALL_HDR_PATH=/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/user_headers
headers_install
grep '=[ym]'
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.config.set
| LC_ALL=C sort | mkhash md5 >
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.vermagic
touch
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.configured
rm -f
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/vmlinux
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/System.map
make -C
/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54
HOSTCFLAGS="-O2
-I/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/host/include
-Wall -Wmissing-prototypes -Wstrict-prototypes"
CROSS_COMPILE="arm-openwrt-linux-muslgnueabi-" ARCH="arm"
KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST=""
KBUILD_BUILD_TIMESTAMP="Mon Jul 30 13:19:16 2018"
KBUILD_BUILD_VERSION="0"
HOST_LOADLIBES="-L/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/host/lib"
CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=4.14.54
CC="ccache_cc" modules
make[5]: Entering directory
'/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CC [M] fs/mbcache.o
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s: Assembler
messages:
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:401: Error:
selected processor does not support `sev' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:597: Error:
selected processor does not support `ldrex r3,[r8]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:599: Error:
selected processor does not support `strex r2,r3,[r8]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:655: Error:
selected processor does not support `ldrex r3,[r8]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:657: Error:
selected processor does not support `strex r2,r3,[r8]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:795: Error:
selected processor does not support `sev' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1434: Error:
selected processor does not support `ldrex r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1436: Error:
selected processor does not support `strex r1,r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1489: Error:
selected processor does not support `sev' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1700: Error:
selected processor does not support `ldrex r1,[r2]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1702: Error:
selected processor does not support `strex r0,r1,[r2]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1788: Error:
selected processor does not support `ldrex r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:1790: Error:
selected processor does not support `strex r1,r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2038: Error:
selected processor does not support `ldrex r1,[r2]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2040: Error:
selected processor does not support `strex r0,r1,[r2]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2470: Error:
selected processor does not support `ldrex r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2472: Error:
selected processor does not support `strex r0,r2,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2522: Error:
selected processor does not support `sev' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2570: Error:
selected processor does not support `ldrex r0,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:2572: Error:
selected processor does not support `strex ip,r0,[r3]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:3106: Error:
selected processor does not support `ldrex r3,[r4]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:3108: Error:
selected processor does not support `strex r2,r3,[r4]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:3263: Error:
selected processor does not support `ldrex r3,[r4]' in ARM mode
/home/kvdp/firmware/builds/generic_cns3xxx/tmp/ccuGhaLZ.s:3265: Error:
selected processor does not support `strex r2,r3,[r4]' in ARM mode
scripts/Makefile.build:334: recipe for target 'fs/mbcache.o' failed
make[6]: *** [fs/mbcache.o] Error 1
Makefile:1034: recipe for target 'fs' failed
make[5]: *** [fs] Error 2
make[5]: Leaving directory
'/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54'
Makefile:30: recipe for target
'/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.modules'
failed
make[4]: ***
[/home/kvdp/firmware/builds/generic_cns3xxx/build_dir/target-arm_mpcore+vfp_musl_eabi/linux-cns3xxx/linux-4.14.54/.modules]
Error 2
make[4]: Leaving directory
'/home/kvdp/firmware/builds/generic_cns3xxx/target/linux/cns3xxx'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory
'/home/kvdp/firmware/builds/generic_cns3xxx/target/linux'
Command exited with non-zero status 2
time: target/linux/compile#1.10#0.42#1.49
target/Makefile:23: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/kvdp/firmware/builds/generic_cns3xxx'
target/Makefile:18: recipe for target
'/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/target-arm_mpcore+vfp_musl_eabi/stamp/.target_compile'
failed
make[1]: ***
[/home/kvdp/firmware/builds/generic_cns3xxx/staging_dir/target-arm_mpcore+vfp_musl_eabi/stamp/.target_compile]
Error 2
make[1]: Leaving directory '/home/kvdp/firmware/builds/generic_cns3xxx'
/home/kvdp/firmware/builds/generic_cns3xxx/include/toplevel.mk:216:
recipe for target 'world' failed
make: *** [world] Error 2
Any idea?
Thanks,
Koen
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list