# # 2024-06-17T12:03:15.660262 # # make KBUILD_BUILD_USER=KernelCI ARCH=arc HOSTCC=gcc CROSS_COMPILE=arc-elf32- CC="ccache arc-elf32-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j4 headers # make: Entering directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/build' HOSTCC scripts/unifdef HDRINST usr/include/asm-generic/ucontext.h HDRINST usr/include/asm-generic/stat.h HDRINST usr/include/asm-generic/socket.h HDRINST usr/include/asm-generic/termios.h HDRINST usr/include/asm-generic/ioctls.h HDRINST usr/include/asm-generic/ioctl.h HDRINST usr/include/asm-generic/bitsperlong.h HDRINST usr/include/asm-generic/ipcbuf.h HDRINST usr/include/asm-generic/siginfo.h HDRINST usr/include/asm-generic/bpf_perf_event.h HDRINST usr/include/asm-generic/msgbuf.h HDRINST usr/include/asm-generic/auxvec.h HDRINST usr/include/asm-generic/setup.h HDRINST usr/include/asm-generic/errno-base.h HDRINST usr/include/asm-generic/int-l64.h HDRINST usr/include/asm-generic/signal.h HDRINST usr/include/asm-generic/sembuf.h HDRINST usr/include/asm-generic/fcntl.h HDRINST usr/include/asm-generic/statfs.h HDRINST usr/include/asm-generic/hugetlb_encode.h HDRINST usr/include/asm-generic/kvm_para.h HDRINST usr/include/asm-generic/mman-common.h HDRINST usr/include/asm-generic/signal-defs.h HDRINST usr/include/asm-generic/types.h HDRINST usr/include/asm-generic/termbits.h HDRINST usr/include/asm-generic/posix_types.h HDRINST usr/include/asm-generic/mman.h HDRINST usr/include/asm-generic/shmbuf.h HDRINST usr/include/asm-generic/param.h HDRINST usr/include/asm-generic/int-ll64.h HDRINST usr/include/asm-generic/poll.h HDRINST usr/include/asm-generic/swab.h HDRINST usr/include/asm-generic/errno.h HDRINST usr/include/asm-generic/resource.h HDRINST usr/include/asm-generic/unistd.h HDRINST usr/include/asm-generic/sockios.h HDRINST usr/include/drm/etnaviv_drm.h HDRINST usr/include/drm/qxl_drm.h HDRINST usr/include/drm/vgem_drm.h HDRINST usr/include/drm/armada_drm.h HDRINST usr/include/drm/lima_drm.h HDRINST usr/include/drm/vmwgfx_drm.h HDRINST usr/include/drm/amdgpu_drm.h HDRINST usr/include/drm/drm_sarea.h HDRINST usr/include/drm/virtgpu_drm.h HDRINST usr/include/drm/omap_drm.h HDRINST usr/include/drm/i915_drm.h HDRINST usr/include/drm/nouveau_drm.h HDRINST usr/include/drm/msm_drm.h HDRINST usr/include/drm/mga_drm.h HDRINST usr/include/drm/drm_fourcc.h HDRINST usr/include/drm/drm.h HDRINST usr/include/drm/r128_drm.h HDRINST usr/include/drm/drm_mode.h HDRINST usr/include/drm/vc4_drm.h HDRINST usr/include/drm/sis_drm.h HDRINST usr/include/drm/panfrost_drm.h HDRINST usr/include/drm/v3d_drm.h HDRINST usr/include/drm/savage_drm.h HDRINST usr/include/drm/i810_drm.h HDRINST usr/include/drm/radeon_drm.h HDRINST usr/include/drm/tegra_drm.h HDRINST usr/include/drm/exynos_drm.h HDRINST usr/include/drm/via_drm.h HDRINST usr/include/linux/btrfs.h HDRINST usr/include/linux/if_macsec.h HDRINST usr/include/linux/kexec.h HDRINST usr/include/linux/mempolicy.h HDRINST usr/include/linux/uhid.h HDRINST usr/include/linux/mroute6.h HDRINST usr/include/linux/vsockmon.h HDRINST usr/include/linux/bpf_common.h HDRINST usr/include/linux/netfilter_bridge/ebt_redirect.h HDRINST usr/include/linux/netfilter_bridge/ebt_nflog.h HDRINST usr/include/linux/netfilter_bridge/ebt_among.h HDRINST usr/include/linux/netfilter_bridge/ebt_stp.h HDRINST usr/include/linux/netfilter_bridge/ebt_mark_t.h HDRINST usr/include/linux/netfilter_bridge/ebtables.h HDRINST usr/include/linux/netfilter_bridge/ebt_arpreply.h HDRINST usr/include/linux/netfilter_bridge/ebt_mark_m.h HDRINST usr/include/linux/netfilter_bridge/ebt_ip.h HDRINST usr/include/linux/netfilter_bridge/ebt_nat.h HDRINST usr/include/linux/netfilter_bridge/ebt_pkttype.h HDRINST usr/include/linux/netfilter_bridge/ebt_limit.h HDRINST usr/include/linux/netfilter_bridge/ebt_vlan.h HDRINST usr/include/linux/netfilter_bridge/ebt_802_3.h HDRINST usr/include/linux/netfilter_bridge/ebt_arp.h HDRINST usr/include/linux/netfilter_bridge/ebt_ip6.h HDRINST usr/include/linux/netfilter_bridge/ebt_log.h HDRINST usr/include/linux/psci.h HDRINST usr/include/linux/smiapp.h HDRINST usr/include/linux/stat.h HDRINST usr/include/linux/time_types.h HDRINST usr/include/linux/pkt_sched.h HDRINST usr/include/linux/dcbnl.h HDRINST usr/include/linux/pg.h HDRINST usr/include/linux/mdio.h HDRINST usr/include/linux/gtp.h HDRINST usr/include/linux/cm4000_cs.h HDRINST usr/include/linux/pci.h HDRINST usr/include/linux/ipc.h HDRINST usr/include/linux/lirc.h HDRINST usr/include/linux/sock_diag.h HDRINST usr/include/linux/userfaultfd.h HDRINST usr/include/linux/mptcp.h HDRINST usr/include/linux/pps.h HDRINST usr/include/linux/blktrace_api.h HDRINST usr/include/linux/f2fs.h HDRINST usr/include/linux/atmsvc.h HDRINST usr/include/linux/hiddev.h HDRINST usr/include/linux/lwtunnel.h HDRINST usr/include/linux/cec-funcs.h HDRINST usr/include/linux/can/error.h HDRINST usr/include/linux/can/gw.h HDRINST usr/include/linux/can/bcm.h HDRINST usr/include/linux/can/isotp.h HDRINST usr/include/linux/can/netlink.h HDRINST usr/include/linux/can/j1939.h HDRINST usr/include/linux/can/vxcan.h HDRINST usr/include/linux/can/raw.h HDRINST usr/include/linux/virtio_mem.h HDRINST usr/include/linux/socket.h HDRINST usr/include/linux/lp.h HDRINST usr/include/linux/if_eql.h HDRINST usr/include/linux/nvram.h HDRINST usr/include/linux/cramfs_fs.h HDRINST usr/include/linux/netfilter.h HDRINST usr/include/linux/if_addr.h HDRINST usr/include/linux/ndctl.h HDRINST usr/include/linux/vmcore.h HDRINST usr/include/linux/virtio_ring.h HDRINST usr/include/linux/hdlc/ioctl.h HDRINST usr/include/linux/scif_ioctl.h HDRINST usr/include/linux/stddef.h HDRINST usr/include/linux/udmabuf.h HDRINST usr/include/linux/if_x25.h HDRINST usr/include/linux/bcm933xx_hcs.h HDRINST usr/include/linux/vtpm_proxy.h HDRINST usr/include/linux/userio.h HDRINST usr/include/linux/vbox_err.h HDRINST usr/include/linux/vm_sockets_diag.h HDRINST usr/include/linux/termios.h HDRINST usr/include/linux/capability.h HDRINST usr/include/linux/nilfs2_api.h HDRINST usr/include/linux/ip6_tunnel.h HDRINST usr/include/linux/aio_abi.h HDRINST usr/include/linux/ipmi_msgdefs.h HDRINST usr/include/linux/sonet.h HDRINST usr/include/linux/cifs/cifs_mount.h HDRINST usr/include/linux/gfs2_ondisk.h HDRINST usr/include/linux/netfilter_arp/arp_tables.h HDRINST usr/include/linux/netfilter_arp/arpt_mangle.h HDRINST usr/include/linux/hdlcdrv.h HDRINST usr/include/linux/reboot.h HDRINST usr/include/linux/timerfd.h HDRINST usr/include/linux/elf-fdpic.h HDRINST usr/include/linux/eventpoll.h HDRINST usr/include/linux/hpet.h HDRINST usr/include/linux/meye.h HDRINST usr/include/linux/module.h HDRINST usr/include/linux/sound.h HDRINST usr/include/linux/hyperv.h HDRINST usr/include/linux/wireguard.h HDRINST usr/include/linux/ptrace.h HDRINST usr/include/linux/zorro_ids.h HDRINST usr/include/linux/kernelcapi.h HDRINST usr/include/linux/timex.h HDRINST usr/include/linux/dm-ioctl.h HDRINST usr/include/linux/v4l2-mediabus.h HDRINST usr/include/linux/netfilter_arp.h HDRINST usr/include/linux/kernel.h HDRINST usr/include/linux/ioctl.h HDRINST usr/include/linux/seccomp.h HDRINST usr/include/linux/psample.h HDRINST usr/include/linux/coda.h HDRINST usr/include/linux/gpio.h HDRINST usr/include/linux/cec.h HDRINST usr/include/linux/sctp.h HDRINST usr/include/linux/caif/caif_socket.h HDRINST usr/include/linux/caif/if_caif.h HDRINST usr/include/linux/x25.h HDRINST usr/include/linux/nexthop.h HDRINST usr/include/linux/if_frad.h HDRINST usr/include/linux/uinput.h HDRINST usr/include/linux/xilinx-v4l2-controls.h HDRINST usr/include/linux/adfs_fs.h HDRINST usr/include/linux/udf_fs_i.h HDRINST usr/include/linux/sysctl.h HDRINST usr/include/linux/mmc/ioctl.h HDRINST usr/include/linux/if_link.h HDRINST usr/include/linux/personality.h HDRINST usr/include/linux/scc.h HDRINST usr/include/linux/agpgart.h HDRINST usr/include/linux/xfrm.h HDRINST usr/include/linux/if_tunnel.h HDRINST usr/include/linux/nfsd/cld.h HDRINST usr/include/linux/nfsd/stats.h HDRINST usr/include/linux/nfsd/debug.h HDRINST usr/include/linux/nfsd/nfsfh.h HDRINST usr/include/linux/nfsd/export.h HDRINST usr/include/linux/if_team.h HDRINST usr/include/linux/hash_info.h HDRINST usr/include/linux/gameport.h HDRINST usr/include/linux/nfsacl.h HDRINST usr/include/linux/bfs_fs.h HDRINST usr/include/linux/loop.h HDRINST usr/include/linux/if_arcnet.h HDRINST usr/include/linux/auto_fs.h HDRINST usr/include/linux/tc_act/tc_csum.h HDRINST usr/include/linux/tc_act/tc_gate.h HDRINST usr/include/linux/tc_act/tc_ife.h HDRINST usr/include/linux/tc_act/tc_pedit.h HDRINST usr/include/linux/tc_act/tc_ipt.h HDRINST usr/include/linux/tc_act/tc_ct.h HDRINST usr/include/linux/tc_act/tc_sample.h HDRINST usr/include/linux/tc_act/tc_gact.h HDRINST usr/include/linux/tc_act/tc_defact.h HDRINST usr/include/linux/tc_act/tc_tunnel_key.h HDRINST usr/include/linux/tc_act/tc_ctinfo.h HDRINST usr/include/linux/tc_act/tc_nat.h HDRINST usr/include/linux/tc_act/tc_vlan.h HDRINST usr/include/linux/tc_act/tc_skbedit.h HDRINST usr/include/linux/tc_act/tc_connmark.h HDRINST usr/include/linux/tc_act/tc_mirred.h HDRINST usr/include/linux/tc_act/tc_bpf.h HDRINST usr/include/linux/tc_act/tc_mpls.h HDRINST usr/include/linux/tc_act/tc_skbmod.h HDRINST usr/include/linux/rfkill.h HDRINST usr/include/linux/auto_dev-ioctl.h HDRINST usr/include/linux/nubus.h HDRINST usr/include/linux/pfkeyv2.h HDRINST usr/include/linux/bpf_perf_event.h HDRINST usr/include/linux/ethtool_netlink.h HDRINST usr/include/linux/ip_vs.h HDRINST usr/include/linux/dvb/net.h HDRINST usr/include/linux/dvb/audio.h HDRINST usr/include/linux/dvb/ca.h HDRINST usr/include/linux/dvb/dmx.h HDRINST usr/include/linux/dvb/video.h HDRINST usr/include/linux/dvb/frontend.h HDRINST usr/include/linux/dvb/version.h HDRINST usr/include/linux/dvb/osd.h HDRINST usr/include/linux/auxvec.h HDRINST usr/include/linux/if_bridge.h HDRINST usr/include/linux/netdevice.h HDRINST usr/include/linux/tls.h HDRINST usr/include/linux/usbdevice_fs.h HDRINST usr/include/linux/kcov.h HDRINST usr/include/linux/blkpg.h HDRINST usr/include/linux/net_dropmon.h HDRINST usr/include/linux/watchdog.h HDRINST usr/include/linux/audit.h HDRINST usr/include/linux/rds.h HDRINST usr/include/linux/chio.h HDRINST usr/include/linux/patchkey.h HDRINST usr/include/linux/vboxguest.h HDRINST usr/include/linux/net_tstamp.h HDRINST usr/include/linux/atmioc.h HDRINST usr/include/linux/apm_bios.h HDRINST usr/include/linux/quota.h HDRINST usr/include/linux/qrtr.h HDRINST usr/include/linux/if.h HDRINST usr/include/linux/thermal.h HDRINST usr/include/linux/v4l2-controls.h HDRINST usr/include/linux/ppp-ioctl.h HDRINST usr/include/linux/dm-log-userspace.h HDRINST usr/include/linux/if_ppp.h HDRINST usr/include/linux/ax25.h HDRINST usr/include/linux/virtio_net.h HDRINST usr/include/linux/btf.h HDRINST usr/include/linux/hsr_netlink.h HDRINST usr/include/linux/fpga-dfl.h HDRINST usr/include/linux/virtio_9p.h HDRINST usr/include/linux/if_vlan.h HDRINST usr/include/linux/if_fc.h HDRINST usr/include/linux/affs_hardblocks.h HDRINST usr/include/linux/rio_mport_cdev.h HDRINST usr/include/linux/ultrasound.h HDRINST usr/include/linux/input-event-codes.h HDRINST usr/include/linux/cryptouser.h HDRINST usr/include/linux/if_ltalk.h HDRINST usr/include/linux/fd.h HDRINST usr/include/linux/close_range.h HDRINST usr/include/linux/pidfd.h HDRINST usr/include/linux/futex.h HDRINST usr/include/linux/atm_eni.h HDRINST usr/include/linux/signal.h HDRINST usr/include/linux/seg6_hmac.h HDRINST usr/include/linux/net_namespace.h HDRINST usr/include/linux/irqnr.h HDRINST usr/include/linux/if_phonet.h HDRINST usr/include/linux/qnx4_fs.h HDRINST usr/include/linux/cdrom.h HDRINST usr/include/linux/netfilter_bridge.h HDRINST usr/include/linux/radeonfb.h HDRINST usr/include/linux/tiocl.h HDRINST usr/include/linux/sync_file.h HDRINST usr/include/linux/wait.h HDRINST usr/include/linux/hid.h HDRINST usr/include/linux/oom.h HDRINST usr/include/linux/qnxtypes.h HDRINST usr/include/linux/tcp_metrics.h HDRINST usr/include/linux/aspeed-lpc-ctrl.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_srh.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_opts.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_LOG.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_hl.h HDRINST usr/include/linux/netfilter_ipv6/ip6_tables.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_ipv6header.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_REJECT.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_HL.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_rt.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_ah.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_frag.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_mh.h HDRINST usr/include/linux/netfilter_ipv6/ip6t_NPT.h HDRINST usr/include/linux/membarrier.h HDRINST usr/include/linux/switchtec_ioctl.h HDRINST usr/include/linux/dqblk_xfs.h HDRINST usr/include/linux/screen_info.h HDRINST usr/include/linux/adb.h HDRINST usr/include/linux/if_alg.h HDRINST usr/include/linux/net.h HDRINST usr/include/linux/in_route.h HDRINST usr/include/linux/rio_cm_cdev.h HDRINST usr/include/linux/dns_resolver.h HDRINST usr/include/linux/if_pppol2tp.h HDRINST usr/include/linux/input.h HDRINST usr/include/linux/soundcard.h HDRINST usr/include/linux/i8k.h HDRINST usr/include/linux/usbip.h HDRINST usr/include/linux/fuse.h HDRINST usr/include/linux/pci_regs.h HDRINST usr/include/linux/i2c.h HDRINST usr/include/linux/fanotify.h HDRINST usr/include/linux/fadvise.h HDRINST usr/include/linux/byteorder/little_endian.h HDRINST usr/include/linux/byteorder/big_endian.h HDRINST usr/include/linux/firewire-cdev.h HDRINST usr/include/linux/taskstats.h HDRINST usr/include/linux/genetlink.h HDRINST usr/include/linux/binfmts.h HDRINST usr/include/linux/cyclades.h HDRINST usr/include/linux/hidraw.h HDRINST usr/include/linux/nitro_enclaves.h HDRINST usr/include/linux/kdev_t.h HDRINST usr/include/linux/romfs_fs.h HDRINST usr/include/linux/virtio_crypto.h HDRINST usr/include/linux/iso_fs.h HDRINST usr/include/linux/virtio_gpu.h HDRINST usr/include/linux/mmtimer.h HDRINST usr/include/linux/ipmi_bmc.h HDRINST usr/include/linux/sed-opal.h HDRINST usr/include/linux/matroxfb.h HDRINST usr/include/linux/fcntl.h HDRINST usr/include/linux/minix_fs.h HDRINST usr/include/linux/mpls.h HDRINST usr/include/linux/ipsec.h HDRINST usr/include/linux/sysinfo.h HDRINST usr/include/linux/wimax/i2400m.h HDRINST usr/include/linux/acct.h HDRINST usr/include/linux/atmclip.h HDRINST usr/include/linux/kcmp.h HDRINST usr/include/linux/mqueue.h HDRINST usr/include/linux/i2o-dev.h HDRINST usr/include/linux/n_r3964.h HDRINST usr/include/linux/nfs_fs.h HDRINST usr/include/linux/ppdev.h HDRINST usr/include/linux/wmi.h HDRINST usr/include/linux/dlm_netlink.h HDRINST usr/include/linux/virtio_pmem.h HDRINST usr/include/linux/sched/types.h HDRINST usr/include/linux/cciss_ioctl.h HDRINST usr/include/linux/ppp-comp.h HDRINST usr/include/linux/ppp_defs.h HDRINST usr/include/linux/fsmap.h HDRINST usr/include/linux/atm.h HDRINST usr/include/linux/tipc_netlink.h HDRINST usr/include/linux/tipc_sockets_diag.h HDRINST usr/include/linux/nfs2.h HDRINST usr/include/linux/ila.h HDRINST usr/include/linux/virtio_input.h HDRINST usr/include/linux/efs_fs_sb.h HDRINST usr/include/linux/kd.h HDRINST usr/include/linux/netrom.h HDRINST usr/include/linux/time.h HDRINST usr/include/linux/kcm.h HDRINST usr/include/linux/gsmmux.h HDRINST usr/include/linux/mei.h HDRINST usr/include/linux/errqueue.h HDRINST usr/include/linux/kfd_ioctl.h HDRINST usr/include/linux/nfs_mount.h HDRINST usr/include/linux/videodev2.h HDRINST usr/include/linux/coff.h HDRINST usr/include/linux/un.h HDRINST usr/include/linux/uleds.h HDRINST usr/include/linux/uvcvideo.h HDRINST usr/include/linux/atmapi.h HDRINST usr/include/linux/btrfs_tree.h HDRINST usr/include/linux/coresight-stm.h HDRINST usr/include/linux/if_tun.h HDRINST usr/include/linux/psp-sev.h HDRINST usr/include/linux/seg6_iptunnel.h HDRINST usr/include/linux/batman_adv.h HDRINST usr/include/linux/ipv6_route.h HDRINST usr/include/linux/igmp.h HDRINST usr/include/linux/vfio_zdev.h HDRINST usr/include/linux/atm_tcp.h HDRINST usr/include/linux/openat2.h HDRINST usr/include/linux/mii.h HDRINST usr/include/linux/memfd.h HDRINST usr/include/linux/fsl_hypervisor.h HDRINST usr/include/linux/posix_acl_xattr.h HDRINST usr/include/linux/auto_fs4.h HDRINST usr/include/linux/prctl.h HDRINST usr/include/linux/capi.h HDRINST usr/include/linux/nvme_ioctl.h HDRINST usr/include/linux/dlm.h HDRINST usr/include/linux/mtio.h HDRINST usr/include/linux/nilfs2_ondisk.h HDRINST usr/include/linux/if_pppox.h HDRINST usr/include/linux/iommu.h HDRINST usr/include/linux/llc.h HDRINST usr/include/linux/xdp_diag.h HDRINST usr/include/linux/route.h HDRINST usr/include/linux/atmbr2684.h HDRINST usr/include/linux/keyctl.h HDRINST usr/include/linux/v4l2-subdev.h HDRINST usr/include/linux/synclink.h HDRINST usr/include/linux/android/binder.h HDRINST usr/include/linux/android/binderfs.h HDRINST usr/include/linux/elf-em.h HDRINST usr/include/linux/types.h HDRINST usr/include/linux/i2c-dev.h HDRINST usr/include/linux/media-bus-format.h HDRINST usr/include/linux/vbox_vmmdev_types.h HDRINST usr/include/linux/netfilter_ipv4.h HDRINST usr/include/linux/atmsap.h HDRINST usr/include/linux/io_uring.h HDRINST usr/include/linux/virtio_fs.h HDRINST usr/include/linux/reiserfs_xattr.h HDRINST usr/include/linux/uio.h HDRINST usr/include/linux/pktcdvd.h HDRINST usr/include/linux/serial_reg.h HDRINST usr/include/linux/vhost.h HDRINST usr/include/linux/rpl_iptunnel.h HDRINST usr/include/linux/sdla.h HDRINST usr/include/linux/openvswitch.h HDRINST usr/include/linux/serial_core.h HDRINST usr/include/linux/major.h HDRINST usr/include/linux/ip.h HDRINST usr/include/linux/nbd-netlink.h HDRINST usr/include/linux/l2tp.h HDRINST usr/include/linux/aspeed-p2a-ctrl.h HDRINST usr/include/linux/fib_rules.h HDRINST usr/include/linux/phantom.h HDRINST usr/include/linux/netfilter/xt_set.h HDRINST usr/include/linux/netfilter/xt_connmark.h HDRINST usr/include/linux/netfilter/xt_string.h HDRINST usr/include/linux/netfilter/xt_CONNSECMARK.h HDRINST usr/include/linux/netfilter/xt_tcpudp.h HDRINST usr/include/linux/netfilter/nfnetlink_osf.h HDRINST usr/include/linux/netfilter/nfnetlink_compat.h HDRINST usr/include/linux/netfilter/xt_SECMARK.h HDRINST usr/include/linux/netfilter/xt_LED.h HDRINST usr/include/linux/netfilter/xt_cgroup.h HDRINST usr/include/linux/netfilter/xt_CLASSIFY.h HDRINST usr/include/linux/netfilter/nfnetlink_conntrack.h HDRINST usr/include/linux/netfilter/xt_osf.h HDRINST usr/include/linux/netfilter/xt_statistic.h HDRINST usr/include/linux/netfilter/xt_ipcomp.h HDRINST usr/include/linux/netfilter/xt_cpu.h HDRINST usr/include/linux/netfilter/nfnetlink_cttimeout.h HDRINST usr/include/linux/netfilter/xt_iprange.h HDRINST usr/include/linux/netfilter/xt_mac.h HDRINST usr/include/linux/netfilter/xt_socket.h HDRINST usr/include/linux/netfilter/xt_cluster.h HDRINST usr/include/linux/netfilter/nf_conntrack_tuple_common.h HDRINST usr/include/linux/netfilter/xt_bpf.h HDRINST usr/include/linux/netfilter/xt_policy.h HDRINST usr/include/linux/netfilter/xt_limit.h HDRINST usr/include/linux/netfilter/xt_l2tp.h HDRINST usr/include/linux/netfilter/nf_log.h HDRINST usr/include/linux/netfilter/xt_length.h HDRINST usr/include/linux/netfilter/xt_NFLOG.h HDRINST usr/include/linux/netfilter/xt_CT.h HDRINST usr/include/linux/netfilter/xt_connlabel.h HDRINST usr/include/linux/netfilter/xt_TCPOPTSTRIP.h HDRINST usr/include/linux/netfilter/xt_CONNMARK.h HDRINST usr/include/linux/netfilter/nf_conntrack_tcp.h HDRINST usr/include/linux/netfilter/nf_synproxy.h HDRINST usr/include/linux/netfilter/nfnetlink_queue.h HDRINST usr/include/linux/netfilter/xt_ecn.h HDRINST usr/include/linux/netfilter/nf_conntrack_sctp.h HDRINST usr/include/linux/netfilter/nf_conntrack_common.h HDRINST usr/include/linux/netfilter/xt_AUDIT.h HDRINST usr/include/linux/netfilter/xt_owner.h HDRINST usr/include/linux/netfilter/nfnetlink_log.h HDRINST usr/include/linux/netfilter/xt_CHECKSUM.h HDRINST usr/include/linux/netfilter/xt_NFQUEUE.h HDRINST usr/include/linux/netfilter/xt_devgroup.h HDRINST usr/include/linux/netfilter/xt_mark.h HDRINST usr/include/linux/netfilter/xt_connbytes.h HDRINST usr/include/linux/netfilter/xt_rateest.h HDRINST usr/include/linux/netfilter/nfnetlink_acct.h HDRINST usr/include/linux/netfilter/xt_tcpmss.h HDRINST usr/include/linux/netfilter/xt_quota.h HDRINST usr/include/linux/netfilter/nf_nat.h HDRINST usr/include/linux/netfilter/xt_RATEEST.h HDRINST usr/include/linux/netfilter/xt_hashlimit.h HDRINST usr/include/linux/netfilter/x_tables.h HDRINST usr/include/linux/netfilter/xt_TPROXY.h HDRINST usr/include/linux/netfilter/xt_TCPMSS.h HDRINST usr/include/linux/netfilter/xt_dccp.h HDRINST usr/include/linux/netfilter/xt_IDLETIMER.h HDRINST usr/include/linux/netfilter/xt_helper.h HDRINST usr/include/linux/netfilter/xt_SYNPROXY.h HDRINST usr/include/linux/netfilter/nfnetlink.h HDRINST usr/include/linux/netfilter/ipset/ip_set.h HDRINST usr/include/linux/netfilter/ipset/ip_set_list.h HDRINST usr/include/linux/netfilter/ipset/ip_set_hash.h HDRINST usr/include/linux/netfilter/ipset/ip_set_bitmap.h HDRINST usr/include/linux/netfilter/xt_sctp.h HDRINST usr/include/linux/netfilter/xt_MARK.h HDRINST usr/include/linux/netfilter/xt_LOG.h HDRINST usr/include/linux/netfilter/xt_dscp.h HDRINST usr/include/linux/netfilter/xt_realm.h HDRINST usr/include/linux/netfilter/xt_physdev.h HDRINST usr/include/linux/netfilter/xt_rpfilter.h HDRINST usr/include/linux/netfilter/xt_pkttype.h HDRINST usr/include/linux/netfilter/nf_tables_compat.h HDRINST usr/include/linux/netfilter/xt_DSCP.h HDRINST usr/include/linux/netfilter/nfnetlink_cthelper.h HDRINST usr/include/linux/netfilter/xt_esp.h HDRINST usr/include/linux/netfilter/xt_ipvs.h HDRINST usr/include/linux/netfilter/nf_conntrack_ftp.h HDRINST usr/include/linux/netfilter/xt_recent.h HDRINST usr/include/linux/netfilter/xt_TEE.h HDRINST usr/include/linux/netfilter/xt_multiport.h HDRINST usr/include/linux/netfilter/xt_state.h HDRINST usr/include/linux/netfilter/nf_tables.h HDRINST usr/include/linux/netfilter/xt_HMARK.h HDRINST usr/include/linux/netfilter/xt_time.h HDRINST usr/include/linux/netfilter/xt_nfacct.h HDRINST usr/include/linux/netfilter/xt_addrtype.h HDRINST usr/include/linux/netfilter/xt_comment.h HDRINST usr/include/linux/netfilter/xt_conntrack.h HDRINST usr/include/linux/netfilter/xt_connlimit.h HDRINST usr/include/linux/netfilter/xt_u32.h HDRINST usr/include/linux/joystick.h HDRINST usr/include/linux/string.h HDRINST usr/include/linux/nfs.h HDRINST usr/include/linux/bcache.h HDRINST usr/include/linux/zorro.h HDRINST usr/include/linux/am437x-vpfe.h HDRINST usr/include/linux/inotify.h HDRINST usr/include/linux/parport.h HDRINST usr/include/linux/if_plip.h HDRINST usr/include/linux/ivtvfb.h HDRINST usr/include/linux/posix_types.h HDRINST usr/include/linux/omapfb.h HDRINST usr/include/linux/virtio_scsi.h HDRINST usr/include/linux/cuda.h HDRINST usr/include/linux/atalk.h HDRINST usr/include/linux/dma-heap.h HDRINST usr/include/linux/blkzoned.h HDRINST usr/include/linux/cgroupstats.h HDRINST usr/include/linux/media.h HDRINST usr/include/linux/nl80211.h HDRINST usr/include/linux/spi/spidev.h HDRINST usr/include/linux/mman.h HDRINST usr/include/linux/cn_proc.h HDRINST usr/include/linux/virtio_balloon.h HDRINST usr/include/linux/can.h HDRINST usr/include/linux/uuid.h HDRINST usr/include/linux/isst_if.h HDRINST usr/include/linux/xattr.h HDRINST usr/include/linux/signalfd.h HDRINST usr/include/linux/nfc.h HDRINST usr/include/linux/keyboard.h HDRINST usr/include/linux/atmarp.h HDRINST usr/include/linux/mpls_iptunnel.h HDRINST usr/include/linux/atm_he.h HDRINST usr/include/linux/virtio_blk.h HDRINST usr/include/linux/cciss_defs.h HDRINST usr/include/linux/vhost_types.h HDRINST usr/include/linux/fsverity.h HDRINST usr/include/linux/arcfb.h HDRINST usr/include/linux/lightnvm.h HDRINST usr/include/linux/ipv6.h HDRINST usr/include/linux/nbd.h HDRINST usr/include/linux/param.h HDRINST usr/include/linux/serial.h HDRINST usr/include/linux/if_infiniband.h HDRINST usr/include/linux/baycom.h HDRINST usr/include/linux/sunrpc/debug.h HDRINST usr/include/linux/seg6_genl.h HDRINST usr/include/linux/connector.h HDRINST usr/include/linux/shm.h HDRINST usr/include/linux/tty_flags.h HDRINST usr/include/linux/firewire-constants.h HDRINST usr/include/linux/sched.h HDRINST usr/include/linux/poll.h HDRINST usr/include/linux/msdos_fs.h HDRINST usr/include/linux/reiserfs_fs.h HDRINST usr/include/linux/netlink.h HDRINST usr/include/linux/elf.h HDRINST usr/include/linux/rose.h HDRINST usr/include/linux/smc_diag.h HDRINST usr/include/linux/vt.h HDRINST usr/include/linux/tty.h HDRINST usr/include/linux/hdreg.h HDRINST usr/include/linux/rxrpc.h HDRINST usr/include/linux/toshiba.h HDRINST usr/include/linux/if_addrlabel.h HDRINST usr/include/linux/virtio_vsock.h HDRINST usr/include/linux/utime.h HDRINST usr/include/linux/tipc_config.h HDRINST usr/include/linux/nfs3.h HDRINST usr/include/linux/usb/gadgetfs.h HDRINST usr/include/linux/usb/cdc-wdm.h HDRINST usr/include/linux/usb/ch11.h HDRINST usr/include/linux/usb/functionfs.h HDRINST usr/include/linux/usb/g_printer.h HDRINST usr/include/linux/usb/audio.h HDRINST usr/include/linux/usb/ch9.h HDRINST usr/include/linux/usb/tmc.h HDRINST usr/include/linux/usb/g_uvc.h HDRINST usr/include/linux/usb/midi.h HDRINST usr/include/linux/usb/video.h HDRINST usr/include/linux/usb/cdc.h HDRINST usr/include/linux/usb/charger.h HDRINST usr/include/linux/usb/raw_gadget.h HDRINST usr/include/linux/const.h HDRINST usr/include/linux/times.h HDRINST usr/include/linux/seg6_local.h HDRINST usr/include/linux/pmu.h HDRINST usr/include/linux/udp.h HDRINST usr/include/linux/netfilter_ipv4/ipt_LOG.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ECN.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ttl.h HDRINST usr/include/linux/netfilter_ipv4/ip_tables.h HDRINST usr/include/linux/netfilter_ipv4/ipt_TTL.h HDRINST usr/include/linux/netfilter_ipv4/ipt_REJECT.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ah.h HDRINST usr/include/linux/netfilter_ipv4/ipt_CLUSTERIP.h HDRINST usr/include/linux/netfilter_ipv4/ipt_ecn.h HDRINST usr/include/linux/sonypi.h HDRINST usr/include/linux/max2175.h HDRINST usr/include/linux/snmp.h HDRINST usr/include/linux/if_slip.h HDRINST usr/include/linux/tipc.h HDRINST usr/include/linux/kernel-page-flags.h HDRINST usr/include/linux/fdreg.h HDRINST usr/include/linux/pr.h HDRINST usr/include/linux/virtio_console.h HDRINST usr/include/linux/vfio.h HDRINST usr/include/linux/netlink_diag.h HDRINST usr/include/linux/fsi.h HDRINST usr/include/linux/genwqe/genwqe_card.h HDRINST usr/include/linux/arm_sdei.h HDRINST usr/include/linux/isdn/capicmd.h HDRINST usr/include/linux/dlmconstants.h HDRINST usr/include/linux/stm.h HDRINST usr/include/linux/inet_diag.h HDRINST usr/include/linux/swab.h HDRINST usr/include/linux/ipmi.h HDRINST usr/include/linux/mroute.h HDRINST usr/include/linux/packet_diag.h HDRINST usr/include/linux/random.h HDRINST usr/include/linux/erspan.h HDRINST usr/include/linux/falloc.h HDRINST usr/include/linux/unix_diag.h HDRINST usr/include/linux/jffs2.h HDRINST usr/include/linux/if_cablemodem.h HDRINST usr/include/linux/bpqether.h HDRINST usr/include/linux/virtio_config.h HDRINST usr/include/linux/if_packet.h HDRINST usr/include/linux/errno.h HDRINST usr/include/linux/virtio_pci.h HDRINST usr/include/linux/selinux_netlink.h HDRINST usr/include/linux/virtio_iommu.h HDRINST usr/include/linux/serio.h HDRINST usr/include/linux/netconf.h HDRINST usr/include/linux/in6.h HDRINST usr/include/linux/ife.h HDRINST usr/include/linux/ipx.h HDRINST usr/include/linux/atmdev.h HDRINST usr/include/linux/iio/types.h HDRINST usr/include/linux/iio/events.h HDRINST usr/include/linux/target_core_user.h HDRINST usr/include/linux/if_hippi.h HDRINST usr/include/linux/netfilter_ipv6.h HDRINST usr/include/linux/atm_zatm.h HDRINST usr/include/linux/um_timetravel.h HDRINST usr/include/linux/pcitest.h HDRINST usr/include/linux/atmppp.h HDRINST usr/include/linux/v4l2-dv-timings.h HDRINST usr/include/linux/wireless.h HDRINST usr/include/linux/filter.h HDRINST usr/include/linux/edd.h HDRINST usr/include/linux/bt-bmc.h HDRINST usr/include/linux/perf_event.h HDRINST usr/include/linux/icmp.h HDRINST usr/include/linux/mrp_bridge.h HDRINST usr/include/linux/atm_nicstar.h HDRINST usr/include/linux/gen_stats.h HDRINST usr/include/linux/atm_idt77105.h HDRINST usr/include/linux/seg6.h HDRINST usr/include/linux/mount.h HDRINST usr/include/linux/idxd.h HDRINST usr/include/linux/dccp.h HDRINST usr/include/linux/posix_acl.h HDRINST usr/include/linux/atmlec.h HDRINST usr/include/linux/dlm_device.h HDRINST usr/include/linux/nfs4.h HDRINST usr/include/linux/fb.h HDRINST usr/include/linux/bpfilter.h HDRINST usr/include/linux/rtnetlink.h HDRINST usr/include/linux/sem.h HDRINST usr/include/linux/if_bonding.h HDRINST usr/include/linux/virtio_types.h HDRINST usr/include/linux/limits.h HDRINST usr/include/linux/vm_sockets.h HDRINST usr/include/linux/magic.h HDRINST usr/include/linux/hdlc.h HDRINST usr/include/linux/cycx_cfm.h HDRINST usr/include/linux/suspend_ioctls.h HDRINST usr/include/linux/bpf.h HDRINST usr/include/linux/fscrypt.h HDRINST usr/include/linux/rtc.h HDRINST usr/include/linux/vfio_ccw.h HDRINST usr/include/linux/raid/md_p.h HDRINST usr/include/linux/raid/md_u.h HDRINST usr/include/linux/msg.h HDRINST usr/include/linux/rpl.h HDRINST usr/include/linux/virtio_rng.h HDRINST usr/include/linux/if_ether.h HDRINST usr/include/linux/if_arp.h HDRINST usr/include/linux/resource.h HDRINST usr/include/linux/if_fddi.h HDRINST usr/include/linux/ptp_clock.h HDRINST usr/include/linux/tc_ematch/tc_em_cmp.h HDRINST usr/include/linux/tc_ematch/tc_em_ipt.h HDRINST usr/include/linux/tc_ematch/tc_em_nbyte.h HDRINST usr/include/linux/tc_ematch/tc_em_meta.h HDRINST usr/include/linux/tc_ematch/tc_em_text.h HDRINST usr/include/linux/libc-compat.h HDRINST usr/include/linux/tcp.h HDRINST usr/include/linux/map_to_7segment.h HDRINST usr/include/linux/unistd.h HDRINST usr/include/linux/nfs_idmap.h HDRINST usr/include/linux/phonet.h HDRINST usr/include/linux/ivtv.h HDRINST usr/include/linux/sockios.h HDRINST usr/include/linux/devlink.h HDRINST usr/include/linux/virtio_mmio.h HDRINST usr/include/linux/batadv_packet.h HDRINST usr/include/linux/remoteproc_cdev.h HDRINST usr/include/linux/wimax.h HDRINST usr/include/linux/icmpv6.h HDRINST usr/include/linux/ethtool.h HDRINST usr/include/linux/fou.h HDRINST usr/include/linux/nsfs.h HDRINST usr/include/linux/omap3isp.h HDRINST usr/include/linux/virtio_ids.h HDRINST usr/include/linux/watch_queue.h HDRINST usr/include/linux/utsname.h HDRINST usr/include/linux/hsi/hsi_char.h HDRINST usr/include/linux/hsi/cs-protocol.h HDRINST usr/include/linux/securebits.h HDRINST usr/include/linux/bsg.h HDRINST usr/include/linux/smc.h HDRINST usr/include/linux/pkt_cls.h HDRINST usr/include/linux/tee.h HDRINST usr/include/linux/veth.h HDRINST usr/include/linux/if_xdp.h HDRINST usr/include/linux/v4l2-common.h HDRINST usr/include/linux/dlm_plock.h HDRINST usr/include/linux/ncsi.h HDRINST usr/include/linux/fs.h HDRINST usr/include/linux/rpmsg.h HDRINST usr/include/linux/nfs4_mount.h HDRINST usr/include/linux/raw.h HDRINST usr/include/linux/qemu_fw_cfg.h HDRINST usr/include/linux/hw_breakpoint.h HDRINST usr/include/linux/neighbour.h HDRINST usr/include/linux/in.h HDRINST usr/include/linux/dma-buf.h HDRINST usr/include/linux/atmmpc.h HDRINST usr/include/linux/rseq.h HDRINST usr/include/linux/fiemap.h HDRINST usr/include/misc/fastrpc.h HDRINST usr/include/misc/habanalabs.h HDRINST usr/include/misc/cxl.h HDRINST usr/include/misc/ocxl.h HDRINST usr/include/misc/uacce/uacce.h HDRINST usr/include/misc/uacce/hisi_qm.h HDRINST usr/include/misc/pvpanic.h HDRINST usr/include/misc/xilinx_sdfec.h HDRINST usr/include/mtd/mtd-user.h HDRINST usr/include/mtd/mtd-abi.h HDRINST usr/include/mtd/ubi-user.h HDRINST usr/include/mtd/nftl-user.h HDRINST usr/include/mtd/inftl-user.h HDRINST usr/include/rdma/rdma_user_ioctl.h HDRINST usr/include/rdma/mthca-abi.h HDRINST usr/include/rdma/vmw_pvrdma-abi.h HDRINST usr/include/rdma/cxgb4-abi.h HDRINST usr/include/rdma/ib_user_mad.h HDRINST usr/include/rdma/ib_user_ioctl_cmds.h HDRINST usr/include/rdma/hfi/hfi1_user.h HDRINST usr/include/rdma/hfi/hfi1_ioctl.h HDRINST usr/include/rdma/mlx4-abi.h HDRINST usr/include/rdma/rdma_user_ioctl_cmds.h HDRINST usr/include/rdma/ib_user_sa.h HDRINST usr/include/rdma/rdma_user_rxe.h HDRINST usr/include/rdma/i40iw-abi.h HDRINST usr/include/rdma/ib_user_verbs.h HDRINST usr/include/rdma/qedr-abi.h HDRINST usr/include/rdma/siw-abi.h HDRINST usr/include/rdma/bnxt_re-abi.h HDRINST usr/include/rdma/hns-abi.h HDRINST usr/include/rdma/ocrdma-abi.h HDRINST usr/include/rdma/efa-abi.h HDRINST usr/include/rdma/ib_user_ioctl_verbs.h HDRINST usr/include/rdma/rdma_user_cm.h HDRINST usr/include/rdma/mlx5_user_ioctl_cmds.h HDRINST usr/include/rdma/rvt-abi.h HDRINST usr/include/rdma/mlx5_user_ioctl_verbs.h HDRINST usr/include/rdma/mlx5-abi.h HDRINST usr/include/rdma/rdma_netlink.h HDRINST usr/include/scsi/scsi_netlink.h HDRINST usr/include/scsi/scsi_bsg_fc.h HDRINST usr/include/scsi/cxlflash_ioctl.h HDRINST usr/include/scsi/fc/fc_els.h HDRINST usr/include/scsi/fc/fc_ns.h HDRINST usr/include/scsi/fc/fc_gs.h HDRINST usr/include/scsi/fc/fc_fs.h HDRINST usr/include/scsi/scsi_netlink_fc.h HDRINST usr/include/scsi/scsi_bsg_ufs.h HDRINST usr/include/sound/sof/fw.h HDRINST usr/include/sound/sof/tokens.h HDRINST usr/include/sound/sof/abi.h HDRINST usr/include/sound/sof/header.h HDRINST usr/include/sound/asoc.h HDRINST usr/include/sound/tlv.h HDRINST usr/include/sound/asequencer.h HDRINST usr/include/sound/hdspm.h HDRINST usr/include/sound/asound.h HDRINST usr/include/sound/hdsp.h HDRINST usr/include/sound/sfnt_info.h HDRINST usr/include/sound/compress_params.h HDRINST usr/include/sound/usb_stream.h HDRINST usr/include/sound/skl-tplg-interface.h HDRINST usr/include/sound/snd_sst_tokens.h HDRINST usr/include/sound/firewire.h HDRINST usr/include/sound/sb16_csp.h HDRINST usr/include/sound/asound_fm.h HDRINST usr/include/sound/emu10k1.h HDRINST usr/include/sound/compress_offload.h HDRINST usr/include/video/edid.h HDRINST usr/include/video/sisfb.h HDRINST usr/include/video/uvesafb.h HDRINST usr/include/xen/gntalloc.h HDRINST usr/include/xen/privcmd.h HDRINST usr/include/xen/evtchn.h HDRINST usr/include/xen/gntdev.h HDRINST usr/include/linux/version.h HDRINST usr/include/asm/byteorder.h HDRINST usr/include/asm/ptrace.h HDRINST usr/include/asm/setup.h HDRINST usr/include/asm/signal.h HDRINST usr/include/asm/page.h HDRINST usr/include/asm/cachectl.h HDRINST usr/include/asm/sigcontext.h HDRINST usr/include/asm/elf.h HDRINST usr/include/asm/swab.h HDRINST usr/include/asm/unistd.h HDRINST usr/include/asm/ucontext.h HDRINST usr/include/asm/stat.h HDRINST usr/include/asm/socket.h HDRINST usr/include/asm/termios.h HDRINST usr/include/asm/ioctls.h HDRINST usr/include/asm/ioctl.h HDRINST usr/include/asm/ipcbuf.h HDRINST usr/include/asm/bitsperlong.h HDRINST usr/include/asm/siginfo.h HDRINST usr/include/asm/bpf_perf_event.h HDRINST usr/include/asm/msgbuf.h HDRINST usr/include/asm/auxvec.h HDRINST usr/include/asm/sembuf.h HDRINST usr/include/asm/fcntl.h HDRINST usr/include/asm/statfs.h HDRINST usr/include/asm/types.h HDRINST usr/include/asm/termbits.h HDRINST usr/include/asm/posix_types.h HDRINST usr/include/asm/mman.h HDRINST usr/include/asm/shmbuf.h HDRINST usr/include/asm/param.h HDRINST usr/include/asm/poll.h HDRINST usr/include/asm/errno.h HDRINST usr/include/asm/resource.h HDRINST usr/include/asm/sockios.h make[1]: Leaving directory '/tmp/kci/linux/build' make: Leaving directory '/tmp/kci/linux' # # 2024-06-17T12:03:21.339838 # # make KBUILD_BUILD_USER=KernelCI FORMAT=.xz ARCH=arc HOSTCC=gcc CROSS_COMPILE=arc-elf32- CC="ccache arc-elf32-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux/tools/testing/selftests -j4 gen_tar # make: Entering directory '/tmp/kci/linux/tools/testing/selftests' make --no-builtin-rules INSTALL_HDR_PATH=$BUILD/usr \ ARCH=arc -C ../../.. headers_install make[1]: Entering directory '/tmp/kci/linux' make[2]: Entering directory '/tmp/kci/linux/build' INSTALL /tmp/kci/linux/build/kselftest/usr/include make[2]: Leaving directory '/tmp/kci/linux/build' make[1]: Leaving directory '/tmp/kci/linux' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache arc-elf32-gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export In file included from ionutils.h:4, from ionapp_export.c:19: ion.h:18:10: fatal error: linux/ioctl.h: No such file or directory 18 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ipcsocket.c:6:10: fatal error: sys/socket.h: No such file or directory 6 | #include | ^~~~~~~~~~~~~~ compilation terminated. ionutils.c:7:10: fatal error: sys/ioctl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/bpf' /bin/sh: 1: clang: not found MKDIR include MKDIR libbpf MKDIR bpftool TEST-HDR [test_maps] tests.h MKDIR resolve_btfids GEN /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/bpf_helper_defs.h HOSTCC /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep.o INSTALL headers HOSTLD /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep-in.o LINK /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/fixdep Auto-detecting system features: ... libelf: [ OFF ] ... zlib: [ OFF ] ... bpf: [ OFF ] No libelf found No zlib found make[3]: *** [Makefile:290: zdep] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:287: elfdep] Error 1 make[2]: *** [Makefile:156: all] Error 2 make[1]: *** [Makefile:190: /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.a] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/bpf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' ccache arc-elf32-gcc step_after_suspend_test.c -o /tmp/kci/linux/build/kselftest/breakpoints/step_after_suspend_test step_after_suspend_test.c:16:10: fatal error: sys/ptrace.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/breakpoints/step_after_suspend_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/capabilities' ccache arc-elf32-gcc -O2 -g -std=gnu99 -Wall test_execve.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/test_execve ccache arc-elf32-gcc -O2 -g -std=gnu99 -Wall validate_cap.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/validate_cap validate_cap.c:2:10: fatal error: cap-ng.h: No such file or directory 2 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... test_execve.c:4:10: fatal error: cap-ng.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/capabilities/test_execve] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/capabilities' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cgroup' ccache arc-elf32-gcc -Wall -pthread test_memcontrol.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol ccache arc-elf32-gcc -Wall -pthread test_kmem.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kmem ccache arc-elf32-gcc -Wall -pthread test_core.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_core ccache arc-elf32-gcc -Wall -pthread test_freezer.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_freezer arc-elf32-gcc: error: unrecognized command-line option '-pthread' arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cgroup' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/clone3' ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_cap_checkpoint_restore.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore clone3_set_tid.c:11:10: fatal error: linux/types.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. clone3_cap_checkpoint_restore.c:13:10: fatal error: linux/types.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 clone3.c:8:10: fatal error: linux/types.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3] Error 1 clone3_clear_sighand.c:11:10: fatal error: linux/sched.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/clone3' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/core' ccache arc-elf32-gcc -g -I../../../../usr/include/ close_range_test.c -o /tmp/kci/linux/build/kselftest/core/close_range_test close_range_test.c:6:10: fatal error: linux/kernel.h: No such file or directory 6 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/core/close_range_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/core' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' ccache arc-elf32-gcc -I../../../../../usr/include/ udmabuf.c -o /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf udmabuf.c:7:10: fatal error: linux/fcntl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' ccache arc-elf32-gcc -Wall open-unlink.c -o /tmp/kci/linux/build/kselftest/efivarfs/open-unlink ccache arc-elf32-gcc -Wall create-read.c -o /tmp/kci/linux/build/kselftest/efivarfs/create-read open-unlink.c:7:10: fatal error: sys/ioctl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/efivarfs/open-unlink] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-closer.o): in function `_close_r': closer.c:(.text._close_r+0xe): warning: _close is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-fstatr.o): in function `_fstat_r': fstatr.c:(.text._fstat_r+0x10): warning: _fstat is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-signalr.o): in function `_getpid_r': signalr.c:(.text._getpid_r+0x0): warning: _getpid is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-isattyr.o): in function `_isatty_r': isattyr.c:(.text._isatty_r+0xe): warning: _isatty is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-signalr.o): in function `_kill_r': signalr.c:(.text._kill_r+0x10): warning: _kill is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-lseekr.o): in function `_lseek_r': lseekr.c:(.text._lseek_r+0x16): warning: _lseek is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-openr.o): in function `_open_r': openr.c:(.text._open_r+0x16): warning: _open is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-readr.o): in function `_read_r': readr.c:(.text._read_r+0x16): warning: _read is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-writer.o): in function `_write_r': writer.c:(.text._write_r+0x16): warning: _write is not implemented and will always fail make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/exec' ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE execveat.c -o /tmp/kci/linux/build/kselftest/exec/execveat ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_4096 ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x200000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_2097152 ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_16777216 load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. execveat.c:11:10: fatal error: sys/sendfile.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. compilation terminated. load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/exec/load_address_2097152] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/exec/execveat] Error 1 make[1]: *** [Makefile:31: /tmp/kci/linux/build/kselftest/exec/load_address_4096] Error 1 make[1]: *** [Makefile:35: /tmp/kci/linux/build/kselftest/exec/load_address_16777216] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/exec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems' ccache arc-elf32-gcc -I../../../../usr/include/ devpts_pts.c -o /tmp/kci/linux/build/kselftest/filesystems/devpts_pts ccache arc-elf32-gcc -I../../../../usr/include/ dnotify_test.c -o /tmp/kci/linux/build/kselftest/filesystems/dnotify_test dnotify_test.c: In function 'handler': dnotify_test.c:13:17: error: 'siginfo_t' has no member named 'si_fd'; did you mean 'si_code'? 13 | event_fd = si->si_fd; | ^~~~~ | si_code dnotify_test.c: In function 'main': dnotify_test.c:21:5: error: 'struct sigaction' has no member named 'sa_sigaction' 21 | act.sa_sigaction = handler; | ^ dnotify_test.c:23:17: error: 'SA_SIGINFO' undeclared (first use in this function); did you mean 'S_ISFIFO'? 23 | act.sa_flags = SA_SIGINFO; | ^~~~~~~~~~ | S_ISFIFO dnotify_test.c:23:17: note: each undeclared identifier is reported only once for each function it appears in dnotify_test.c:24:12: error: 'SIGRTMIN' undeclared (first use in this function); did you mean 'SIGTTIN'? 24 | sigaction(SIGRTMIN + 1, &act, NULL); | ^~~~~~~~ | SIGTTIN dnotify_test.c:27:12: error: 'F_SETSIG' undeclared (first use in this function); did you mean 'FD_SETSIZE'? 27 | fcntl(fd, F_SETSIG, SIGRTMIN + 1); | ^~~~~~~~ | FD_SETSIZE dnotify_test.c:28:12: error: 'F_NOTIFY' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~ devpts_pts.c:11:10: fatal error: asm/ioctls.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~ compilation terminated. dnotify_test.c:28:22: error: 'DN_MODIFY' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~ dnotify_test.c:28:32: error: 'DN_CREATE' undeclared (first use in this function); did you mean 'O_CREAT'? 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~ | O_CREAT dnotify_test.c:28:42: error: 'DN_MULTISHOT' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~~~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/devpts_pts] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/dnotify_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' ccache arc-elf32-gcc -I../../../../../usr/include/ -pthread binderfs_test.c ../../kselftest.h ../../kselftest_harness.h -o binderfs_test arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [: binderfs_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' ccache arc-elf32-gcc -I../../../../../usr/include/ epoll_wakeup_test.c -lpthread -o /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test epoll_wakeup_test.c:4:10: fatal error: poll.h: No such file or directory 4 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/firmware' ccache arc-elf32-gcc -Wall -O2 fw_namespace.c -o /tmp/kci/linux/build/kselftest/firmware/fw_namespace fw_namespace.c:14:10: fatal error: sys/mount.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/firmware/fw_namespace] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/firmware' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/fpu' ccache arc-elf32-gcc test_fpu.c -lm -o /tmp/kci/linux/build/kselftest/fpu/test_fpu test_fpu.c: In function 'main': test_fpu.c:34:13: error: 'FE_DOWNWARD' undeclared (first use in this function) 34 | fesetround(FE_DOWNWARD); | ^~~~~~~~~~~ test_fpu.c:34:13: note: each undeclared identifier is reported only once for each function it appears in test_fpu.c:49:2: warning: implicit declaration of function 'feenableexcept'; did you mean 'feraiseexcept'? [-Wimplicit-function-declaration] 49 | feenableexcept(FE_ALL_EXCEPT); | ^~~~~~~~~~~~~~ | feraiseexcept test_fpu.c:54:6: warning: implicit declaration of function 'fegetexcept'; did you mean 'fetestexcept'? [-Wimplicit-function-declaration] 54 | if (fegetexcept() != FE_ALL_EXCEPT) { | ^~~~~~~~~~~ | fetestexcept make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/fpu/test_fpu] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/fpu' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' ccache arc-elf32-gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ futex_wait_timeout.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[2]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ipc' ccache arc-elf32-gcc -I../../../../usr/include/ msgque.c -o /tmp/kci/linux/build/kselftest/ipc/msgque msgque.c:7:10: fatal error: sys/msg.h: No such file or directory 7 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ipc/msgque] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ipc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ir' ccache arc-elf32-gcc -Wall -O2 -I../../../include/uapi ir_loopback.c -o /tmp/kci/linux/build/kselftest/ir/ir_loopback In file included from ../../../include/uapi/linux/lirc.h:10, from ir_loopback.c:12: ../../../include/uapi/linux/types.h:5:10: fatal error: asm-generic/int-ll64.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ir/ir_loopback] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ir' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kcmp' ccache arc-elf32-gcc -I../../../../usr/include/ kcmp_test.c -o /tmp/kci/linux/build/kselftest/kcmp/kcmp_test kcmp_test.c:12:10: fatal error: linux/unistd.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/kcmp/kcmp_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kcmp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: *** No targets. Stop. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kvm' ccache arc-elf32-gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arc/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/assert.c -o /tmp/kci/linux/build/kselftest/kvm/lib/assert.o lib/assert.c:12:10: fatal error: execinfo.h: No such file or directory 12 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:124: /tmp/kci/linux/build/kselftest/kvm/lib/assert.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kvm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/PANIC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/BUG.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING_MESSAGE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXCEPTION.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/LOOP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXHAUST_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK_STRONG.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_ADD.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_DEL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_LEADING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_TRAILING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/UNSET_SMEP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/DOUBLE_FAULT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_PAC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/UNALIGNED_LOAD_STORE_WRITE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/OVERWRITE_ALLOCATION.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_BUDDY_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_BUDDY_AFTER_FREE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_DOUBLE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_CROSS.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_PAGE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SOFTLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/HARDLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/SPINLOCKUP.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/HUNG_TASK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_DATA.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_STACK.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_KMALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_VMALLOC.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_RODATA.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_USERSPACE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_NULL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_USERSPACE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_NULL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO_AFTER_INIT.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_KERN.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_NEGATIVE.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_ZERO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_SATURATED.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_TIMING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/ATOMIC_TIMING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_TO.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_FROM.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_BEYOND.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_KERNEL.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/STACKLEAK_ERASING.sh install -m 0744 run.sh /tmp/kci/linux/build/kselftest/lkdtm/CFI_FORWARD_PROTO.sh make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/membarrier' ccache arc-elf32-gcc -g -I../../../../usr/include/ membarrier_test_single_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread ccache arc-elf32-gcc -g -I../../../../usr/include/ membarrier_test_multi_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread membarrier_test_multi_thread.c:3:10: fatal error: linux/membarrier.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. membarrier_test_single_thread.c:3:10: fatal error: linux/membarrier.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/membarrier' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memfd' ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/memfd_test ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/fuse_test ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o /tmp/kci/linux/build/kselftest/memfd/fuse_mnt arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from memfd_test.c:9: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. In file included from fuse_test.c:23: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. In file included from common.c:7: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/memfd_test] Error 1 In file included from common.c:7: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mincore' ccache arc-elf32-gcc -Wall mincore_selftest.c -o /tmp/kci/linux/build/kselftest/mincore/mincore_selftest mincore_selftest.c:14:10: fatal error: sys/mman.h: No such file or directory 14 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mincore/mincore_selftest] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mincore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount' ccache arc-elf32-gcc -Wall -O2 unprivileged-remount-test.c -o /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test ccache arc-elf32-gcc -Wall -O2 nosymfollow-test.c -o /tmp/kci/linux/build/kselftest/mount/nosymfollow-test unprivileged-remount-test.c:8:10: fatal error: sys/mount.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test] Error 1 make[1]: *** Waiting for unfinished jobs.... nosymfollow-test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mount/nosymfollow-test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mqueue' ccache arc-elf32-gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests ccache arc-elf32-gcc -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests mq_open_tests.c:33:10: fatal error: mqueue.h: No such file or directory 33 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... mq_perf_tests.c:38:10: fatal error: mqueue.h: No such file or directory 38 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mqueue' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net' ccache arc-elf32-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf reuseport_bpf.c:11:10: fatal error: error.h: No such file or directory 11 | #include | ^~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/net/reuseport_bpf] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' ccache arc-elf32-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../../usr/include mptcp_connect.c -o /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect mptcp_connect.c:17:10: fatal error: sys/poll.h: No such file or directory 17 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/netfilter' ccache arc-elf32-gcc nf-queue.c -lmnl -o /tmp/kci/linux/build/kselftest/netfilter/nf-queue nf-queue.c:11:10: fatal error: arpa/inet.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/netfilter/nf-queue] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/netfilter' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nsfs' ccache arc-elf32-gcc -Wall -Werror owner.c -o /tmp/kci/linux/build/kselftest/nsfs/owner ccache arc-elf32-gcc -Wall -Werror pidns.c -o /tmp/kci/linux/build/kselftest/nsfs/pidns owner.c:12:10: fatal error: sys/ioctl.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/nsfs/owner] Error 1 make[1]: *** Waiting for unfinished jobs.... pidns.c:12:10: fatal error: sys/ioctl.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/nsfs/pidns] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nsfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pidfd' ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_fdinfo_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_open_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_poll_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test arc-elf32-gcc: error: unrecognized command-line option '-pthread' arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_test] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pidfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' ccache arc-elf32-gcc -g -I../../../../usr/include/ regression_enomem.c ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem regression_enomem.c:5:10: fatal error: linux/types.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ../pidfd/pidfd.h:14:10: fatal error: syscall.h: No such file or directory 14 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/proc' ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-001-lookup.c -o /tmp/kci/linux/build/kselftest/proc/fd-001-lookup ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-002-posix-eq.c -o /tmp/kci/linux/build/kselftest/proc/fd-002-posix-eq ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-003-kthread.c -o /tmp/kci/linux/build/kselftest/proc/fd-003-kthread ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-loadavg-001.c -o /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001 fd-003-kthread.c:19:10: fatal error: sys/syscall.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/fd-003-kthread] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/arc-multilib-elf/sys-include/dirent.h:39, from fd-001-lookup.c:20: /usr/arc-multilib-elf/sys-include/sys/dirent.h:10:2: error: #error " not supported" 10 | #error " not supported" | ^~~~~ In file included from fd-001-lookup.c:20: /usr/arc-multilib-elf/sys-include/dirent.h:48:12: error: unknown type name 'DIR' 48 | int dirfd(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:51:17: error: unknown type name 'DIR' 51 | int fdclosedir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:53:1: error: unknown type name 'DIR' 53 | DIR *opendir(const char *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:54:1: error: unknown type name 'DIR' 54 | DIR *fdopendir(int); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:56:11: error: unknown type name 'DIR' 56 | readdir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:58:16: error: unknown type name 'DIR' 58 | int readdir_r(DIR *__restrict, struct dirent *__restrict, | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:61:17: error: unknown type name 'DIR' 61 | void rewinddir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:72:15: error: unknown type name 'DIR' 72 | void seekdir(DIR *, long); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:73:15: error: unknown type name 'DIR' 73 | long telldir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:76:15: error: unknown type name 'DIR' 76 | int closedir(DIR *); | ^~~ proc-loadavg-001.c: In function 'main': proc-loadavg-001.c:30:6: warning: implicit declaration of function 'unshare' [-Wimplicit-function-declaration] 30 | if (unshare(CLONE_NEWPID) == -1) { | ^~~~~~~ proc-loadavg-001.c:30:14: error: 'CLONE_NEWPID' undeclared (first use in this function) 30 | if (unshare(CLONE_NEWPID) == -1) { | ^~~~~~~~~~~~ proc-loadavg-001.c:30:14: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001] Error 1 In file included from fd-001-lookup.c:30: proc.h:10:10: fatal error: sys/syscall.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/fd-001-lookup] Error 1 /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-closer.o): in function `_close_r': closer.c:(.text._close_r+0xe): warning: _close is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-fstatr.o): in function `_fstat_r': fstatr.c:(.text._fstat_r+0x10): warning: _fstat is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-signalr.o): in function `_getpid_r': signalr.c:(.text._getpid_r+0x0): warning: _getpid is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-isattyr.o): in function `_isatty_r': isattyr.c:(.text._isatty_r+0xe): warning: _isatty is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-signalr.o): in function `_kill_r': signalr.c:(.text._kill_r+0x10): warning: _kill is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-lseekr.o): in function `_lseek_r': lseekr.c:(.text._lseek_r+0x16): warning: _lseek is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-openr.o): in function `_open_r': openr.c:(.text._open_r+0x16): warning: _open is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-readr.o): in function `_read_r': readr.c:(.text._read_r+0x16): warning: _read is not implemented and will always fail /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/lib/libc.a(lib_a-writer.o): in function `_write_r': writer.c:(.text._write_r+0x16): warning: _write is not implemented and will always fail make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/proc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ptrace' ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall get_syscall_info.c -o /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall peeksiginfo.c -o /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall vmaccess.c -o /tmp/kci/linux/build/kselftest/ptrace/vmaccess arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info] Error 1 make[1]: *** Waiting for unfinished jobs.... arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/vmaccess] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ptrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/openat2' ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined openat2_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/openat2_test ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined resolve_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/resolve_test ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined rename_attack_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/rename_attack_test cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target openat2_test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. rename_attack_test.c:13:10: fatal error: sys/mount.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~ compilation terminated. resolve_test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. compilation terminated. cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: *** Waiting for unfinished jobs.... helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/openat2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rseq' ccache arc-elf32-gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -I../../../../tools/include -shared -fPIC rseq.c -lpthread -ldl -o /tmp/kci/linux/build/kselftest/rseq/librseq.so rseq.c:25:10: fatal error: syscall.h: No such file or directory 25 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:29: /tmp/kci/linux/build/kselftest/rseq/librseq.so] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rseq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rtc' ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall rtctest.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/rtctest ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall setdate.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/setdate setdate.c:10:10: fatal error: linux/rtc.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~ compilation terminated. rtctest.c:10:10: fatal error: linux/rtc.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/rtc/setdate] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/rtc/rtctest] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rtc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/seccomp' ccache arc-elf32-gcc -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_bpf.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf ccache arc-elf32-gcc -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_benchmark.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark seccomp_bpf.c:16:20: error: missing binary operator before token "(" 16 | #if !__GLIBC_PREREQ(2, 26) | ^ seccomp_bpf.c:24:10: fatal error: linux/filter.h: No such file or directory 24 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf] Error 1 make[1]: *** Waiting for unfinished jobs.... seccomp_benchmark.c:11:10: fatal error: linux/filter.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/seccomp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' ccache arc-elf32-gcc -Wall sas.c -o /tmp/kci/linux/build/kselftest/sigaltstack/sas sas.c:14:10: fatal error: sys/mman.h: No such file or directory 14 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/sigaltstack/sas] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/size' ccache arc-elf32-gcc -static -ffreestanding -nostartfiles -s get_size.c -o /tmp/kci/linux/build/kselftest/size/get_size get_size.c:29:10: fatal error: sys/sysinfo.h: No such file or directory 29 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/size/get_size] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/size' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/splice' ccache arc-elf32-gcc default_file_splice_read.c -o /tmp/kci/linux/build/kselftest/splice/default_file_splice_read ccache arc-elf32-gcc splice_read.c -o /tmp/kci/linux/build/kselftest/splice/splice_read default_file_splice_read.c: In function 'main': default_file_splice_read.c:7:9: warning: implicit declaration of function 'splice' [-Wimplicit-function-declaration] 7 | splice(0, 0, 1, 0, 1<<30, 0); | ^~~~~~ splice_read.c: In function 'main': splice_read.c:48:12: warning: implicit declaration of function 'splice' [-Wimplicit-function-declaration] 48 | spliced = splice(fd, NULL, STDOUT_FILENO, NULL, | ^~~~~~ splice_read.c:49:15: error: 'SPLICE_F_MOVE' undeclared (first use in this function) 49 | size, SPLICE_F_MOVE); | ^~~~~~~~~~~~~ splice_read.c:49:15: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/splice/splice_read] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /tmp/ccQNHsTz.o: in function `main': default_file_splice_read.c:(.text+0x28): undefined reference to `splice' /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: default_file_splice_read.c:(.text+0x28): undefined reference to `splice' collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/splice/default_file_splice_read] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/splice' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sync' ccache arc-elf32-gcc -c sync_alloc.c -o /tmp/kci/linux/build/kselftest/sync/sync_alloc.o ccache arc-elf32-gcc -c sync_fence.c -o /tmp/kci/linux/build/kselftest/sync/sync_fence.o ccache arc-elf32-gcc -c sync_merge.c -o /tmp/kci/linux/build/kselftest/sync/sync_merge.o ccache arc-elf32-gcc -c sync_wait.c -o /tmp/kci/linux/build/kselftest/sync/sync_wait.o ccache arc-elf32-gcc -c sync_stress_parallelism.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_parallelism.o ccache arc-elf32-gcc -c sync_stress_consumer.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_consumer.o ccache arc-elf32-gcc -c sync_stress_merge.c -o /tmp/kci/linux/build/kselftest/sync/sync_stress_merge.o ccache arc-elf32-gcc -c sync_test.c -o /tmp/kci/linux/build/kselftest/sync/sync_test.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/sync/sync_test.o] Error 1 make[1]: *** Waiting for unfinished jobs.... sync_stress_parallelism.c: In function 'test_stress_two_threads_shared_timeline': sync_stress_parallelism.c:93:2: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration] 93 | pthread_create(&a, NULL, (void *(*)(void *)) | ^~~~~~~~~~~~~~ sync_stress_parallelism.c:100:2: warning: implicit declaration of function 'pthread_join'; did you mean 'pthread_atfork'? [-Wimplicit-function-declaration] 100 | pthread_join(a, NULL); | ^~~~~~~~~~~~ | pthread_atfork sync_stress_consumer.c: In function 'mpsc_producer_thread': sync_stress_consumer.c:93:3: warning: implicit declaration of function 'pthread_mutex_lock' [-Wimplicit-function-declaration] 93 | pthread_mutex_lock(&test_data_mpsc.lock); | ^~~~~~~~~~~~~~~~~~ sync_stress_consumer.c:95:3: warning: implicit declaration of function 'pthread_mutex_unlock' [-Wimplicit-function-declaration] 95 | pthread_mutex_unlock(&test_data_mpsc.lock); | ^~~~~~~~~~~~~~~~~~~~ sync_stress_consumer.c: In function 'test_consumer_stress_multi_producer_single_consumer': sync_stress_consumer.c:171:2: warning: implicit declaration of function 'pthread_mutex_init' [-Wimplicit-function-declaration] 171 | pthread_mutex_init(&test_data_mpsc.lock, NULL); | ^~~~~~~~~~~~~~~~~~ sync_stress_consumer.c:174:3: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration] 174 | pthread_create(&threads[i], NULL, (void * (*)(void *)) | ^~~~~~~~~~~~~~ sync_stress_consumer.c:182:3: warning: implicit declaration of function 'pthread_join'; did you mean 'pthread_atfork'? [-Wimplicit-function-declaration] 182 | pthread_join(threads[i], NULL); | ^~~~~~~~~~~~ | pthread_atfork make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sync' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' /bin/sh: 1: llc: not found clang -I. -I/include/uapi -Wno-compare-distinct-pointer-types \ -O2 -target bpf -emit-llvm -c action.c -o - | \ llc -march=bpf -mcpu=probe -filetype=obj -o /tmp/kci/linux/build/kselftest/tc-testing/action.o /bin/sh: 1: clang: not found /bin/sh: 3: llc: not found make[1]: *** [Makefile:28: /tmp/kci/linux/build/kselftest/tc-testing/action.o] Error 127 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timens' ccache arc-elf32-gcc -Wall -Werror -pthread timens.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timens ccache arc-elf32-gcc -Wall -Werror -pthread timerfd.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timerfd ccache arc-elf32-gcc -Wall -Werror -pthread timer.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timer ccache arc-elf32-gcc -Wall -Werror -pthread clock_nanosleep.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/clock_nanosleep arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timens] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/clock_nanosleep] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timens' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timers' ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall posix_timers.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/posix_timers ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall nanosleep.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nanosleep ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall nsleep-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nsleep-lat ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall set-timer-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-timer-lat posix_timers.c: In function 'kernel_loop': posix_timers.c:40:9: warning: implicit declaration of function 'brk'; did you mean 'sbrk'? [-Wimplicit-function-declaration] 40 | err = brk(addr + 4096); | ^~~ | sbrk posix_timers.c: In function 'check_timer_create': posix_timers.c:148:15: error: 'CLOCK_THREAD_CPUTIME_ID' undeclared (first use in this function) 148 | if (which == CLOCK_THREAD_CPUTIME_ID) { | ^~~~~~~~~~~~~~~~~~~~~~~ posix_timers.c:148:15: note: each undeclared identifier is reported only once for each function it appears in posix_timers.c:150:22: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use in this function) 150 | } else if (which == CLOCK_PROCESS_CPUTIME_ID) { | ^~~~~~~~~~~~~~~~~~~~~~~~ posix_timers.c:156:8: warning: implicit declaration of function 'timer_create'; did you mean 'timerclear'? [-Wimplicit-function-declaration] 156 | err = timer_create(which, NULL, &id); | ^~~~~~~~~~~~ | timerclear nanosleep.c:27:10: fatal error: sys/timex.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~ compilation terminated. posix_timers.c:169:8: warning: implicit declaration of function 'timer_settime' [-Wimplicit-function-declaration] 169 | err = timer_settime(id, 0, &val, NULL); | ^~~~~~~~~~~~~ posix_timers.c: In function 'main': posix_timers.c:205:25: error: 'CLOCK_THREAD_CPUTIME_ID' undeclared (first use in this function) 205 | if (check_timer_create(CLOCK_THREAD_CPUTIME_ID) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~ posix_timers.c:217:25: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use in this function) 217 | if (check_timer_create(CLOCK_PROCESS_CPUTIME_ID) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/nanosleep] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/posix_timers] Error 1 set-timer-lat.c:33: warning: "CLOCK_REALTIME" redefined 33 | #define CLOCK_REALTIME 0 | In file included from set-timer-lat.c:26: /usr/arc-multilib-elf/sys-include/time.h:263: note: this is the location of the previous definition 263 | #define CLOCK_REALTIME ((clockid_t) 1) | nsleep-lat.c:24:10: fatal error: sys/timex.h: No such file or directory 24 | #include | ^~~~~~~~~~~~~ compilation terminated. set-timer-lat.c: In function 'sigalarm': set-timer-lat.c:102:2: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 102 | clock_gettime(clock_id, &ts); | ^~~~~~~~~~~~~ set-timer-lat.c: In function 'setup_timer': set-timer-lat.c:132:19: error: 'SIGRTMAX' undeclared (first use in this function) 132 | se.sigev_signo = SIGRTMAX; | ^~~~~~~~ set-timer-lat.c:132:19: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/nsleep-lat] Error 1 set-timer-lat.c:139:8: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] 139 | err = timer_create(clock_id, &se, tm1); | ^~~~~~~~~~~~ set-timer-lat.c:164:8: warning: implicit declaration of function 'timer_settime' [-Wimplicit-function-declaration] 164 | err = timer_settime(*tm1, flags, &its1, &its2); | ^~~~~~~~~~~~~ set-timer-lat.c: In function 'do_timer': set-timer-lat.c:224:2: warning: implicit declaration of function 'timer_delete' [-Wimplicit-function-declaration] 224 | timer_delete(tm1); | ^~~~~~~~~~~~ set-timer-lat.c: In function 'main': set-timer-lat.c:255:15: error: 'SIGRTMAX' undeclared (first use in this function) 255 | int signum = SIGRTMAX; | ^~~~~~~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/set-timer-lat] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timers' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' ccache arc-elf32-gcc -Wall -O2 -D_GNU_SOURCE bug-link-o-tmpfile.c -o /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile bug-link-o-tmpfile.c:23:10: fatal error: sys/mount.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vm' ccache arc-elf32-gcc -Wall -I ../../../../usr/include -no-pie compaction_test.c -lrt -o /tmp/kci/linux/build/kselftest/vm/compaction_test compaction_test.c:12:10: fatal error: sys/mman.h: No such file or directory 12 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/vm/compaction_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/zram' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/zram' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/kselftest install -m 744 kselftest/module.sh /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 kselftest/runner.sh /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 kselftest/prefix.pl /tmp/kci/linux/build/kselftest/kselftest_install/kselftest/ install -m 744 run_kselftest.sh /tmp/kci/linux/build/kselftest/kselftest_install/ rm -f /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-list.txt make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache arc-elf32-gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export In file included from ionutils.h:4, from ionapp_export.c:19: ion.h:18:10: fatal error: linux/ioctl.h: No such file or directory 18 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ipcsocket.c:6:10: fatal error: sys/socket.h: No such file or directory 6 | #include | ^~~~~~~~~~~~~~ compilation terminated. ionutils.c:7:10: fatal error: sys/ioctl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/android install -t /tmp/kci/linux/build/kselftest/kselftest_install/android run.sh make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/android' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache arc-elf32-gcc -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export In file included from ionutils.h:4, from ionapp_export.c:19: ion.h:18:10: fatal error: linux/ioctl.h: No such file or directory 18 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ipcsocket.c:6:10: fatal error: sys/socket.h: No such file or directory 6 | #include | ^~~~~~~~~~~~~~ compilation terminated. ionutils.c:7:10: fatal error: sys/ioctl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [: ionapp_export] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android/ion' make[1]: *** [../lib.mk:108: install] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/android' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/arm64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/bpf' /bin/sh: 1: clang: not found INSTALL headers Auto-detecting system features: ... libelf: [ OFF ] ... zlib: [ OFF ] ... bpf: [ OFF ] No libelf found No zlib found BPF API too old make[3]: *** [Makefile:287: elfdep] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:290: zdep] Error 1 make[3]: *** [Makefile:293: bpfdep] Error 1 make[2]: *** [Makefile:156: all] Error 2 make[1]: *** [Makefile:190: /tmp/kci/linux/build/kselftest/bpf/tools/build/libbpf/libbpf.a] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/bpf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' ccache arc-elf32-gcc step_after_suspend_test.c -o /tmp/kci/linux/build/kselftest/breakpoints/step_after_suspend_test step_after_suspend_test.c:16:10: fatal error: sys/ptrace.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/breakpoints/step_after_suspend_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/breakpoints' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/capabilities' ccache arc-elf32-gcc -O2 -g -std=gnu99 -Wall test_execve.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/test_execve ccache arc-elf32-gcc -O2 -g -std=gnu99 -Wall validate_cap.c -lcap-ng -lrt -ldl -o /tmp/kci/linux/build/kselftest/capabilities/validate_cap validate_cap.c:2:10: fatal error: cap-ng.h: No such file or directory 2 | #include | ^~~~~~~~~~ compilation terminated. test_execve.c:4:10: fatal error: cap-ng.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/capabilities/validate_cap] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/capabilities/test_execve] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/capabilities' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cgroup' ccache arc-elf32-gcc -Wall -pthread test_memcontrol.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol ccache arc-elf32-gcc -Wall -pthread test_kmem.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_kmem ccache arc-elf32-gcc -Wall -pthread test_core.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_core ccache arc-elf32-gcc -Wall -pthread test_freezer.c cgroup_util.c ../clone3/clone3_selftests.h -o /tmp/kci/linux/build/kselftest/cgroup/test_freezer arc-elf32-gcc: error: unrecognized command-line option '-pthread' arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_memcontrol] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_kmem] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_freezer] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/cgroup/test_core] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cgroup' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/clone3' ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3 ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_clear_sighand.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_set_tid.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid ccache arc-elf32-gcc -g -I../../../../usr/include/ clone3_cap_checkpoint_restore.c -lcap -o /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore clone3_set_tid.c:11:10: fatal error: linux/types.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_set_tid] Error 1 make[1]: *** Waiting for unfinished jobs.... clone3_cap_checkpoint_restore.c:13:10: fatal error: linux/types.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~ compilation terminated. clone3.c:8:10: fatal error: linux/types.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_cap_checkpoint_restore] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3] Error 1 clone3_clear_sighand.c:11:10: fatal error: linux/sched.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/clone3/clone3_clear_sighand] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/clone3' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/core' ccache arc-elf32-gcc -g -I../../../../usr/include/ close_range_test.c -o /tmp/kci/linux/build/kselftest/core/close_range_test close_range_test.c:6:10: fatal error: linux/kernel.h: No such file or directory 6 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/core/close_range_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/core' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' rsync -a main.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpufreq/ rsync -a cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpufreq/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpufreq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' rsync -a cpu-on-off-test.sh /tmp/kci/linux/build/kselftest/kselftest_install/cpu-hotplug/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/cpu-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' ccache arc-elf32-gcc -I../../../../../usr/include/ udmabuf.c -o /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf udmabuf.c:7:10: fatal error: linux/fcntl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/drivers/dma-buf/udmabuf] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/drivers/dma-buf' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' ccache arc-elf32-gcc -Wall open-unlink.c -o /tmp/kci/linux/build/kselftest/efivarfs/open-unlink open-unlink.c:7:10: fatal error: sys/ioctl.h: No such file or directory 7 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/efivarfs/open-unlink] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/efivarfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/exec' ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE execveat.c -o /tmp/kci/linux/build/kselftest/exec/execveat ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_4096 ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x200000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_2097152 ccache arc-elf32-gcc -Wall -Wno-nonnull -D_GNU_SOURCE -Wl,-z,max-page-size=0x1000000 -pie -static load_address.c -o /tmp/kci/linux/build/kselftest/exec/load_address_16777216 execveat.c:11:10: fatal error: sys/sendfile.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [Makefile:31: /tmp/kci/linux/build/kselftest/exec/load_address_4096] Error 1 make[1]: *** Waiting for unfinished jobs.... load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/exec/execveat] Error 1 make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/exec/load_address_2097152] Error 1 load_address.c:5:10: fatal error: link.h: No such file or directory 5 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [Makefile:35: /tmp/kci/linux/build/kselftest/exec/load_address_16777216] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/exec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems' ccache arc-elf32-gcc -I../../../../usr/include/ devpts_pts.c -o /tmp/kci/linux/build/kselftest/filesystems/devpts_pts ccache arc-elf32-gcc -I../../../../usr/include/ dnotify_test.c -o /tmp/kci/linux/build/kselftest/filesystems/dnotify_test dnotify_test.c: In function 'handler': dnotify_test.c:13:17: error: 'siginfo_t' has no member named 'si_fd'; did you mean 'si_code'? 13 | event_fd = si->si_fd; | ^~~~~ | si_code dnotify_test.c: In function 'main': dnotify_test.c:21:5: error: 'struct sigaction' has no member named 'sa_sigaction' 21 | act.sa_sigaction = handler; | ^ dnotify_test.c:23:17: error: 'SA_SIGINFO' undeclared (first use in this function); did you mean 'S_ISFIFO'? 23 | act.sa_flags = SA_SIGINFO; | ^~~~~~~~~~ | S_ISFIFO dnotify_test.c:23:17: note: each undeclared identifier is reported only once for each function it appears in dnotify_test.c:24:12: error: 'SIGRTMIN' undeclared (first use in this function); did you mean 'SIGTTIN'? 24 | sigaction(SIGRTMIN + 1, &act, NULL); | ^~~~~~~~ | SIGTTIN dnotify_test.c:27:12: error: 'F_SETSIG' undeclared (first use in this function); did you mean 'FD_SETSIZE'? 27 | fcntl(fd, F_SETSIG, SIGRTMIN + 1); | ^~~~~~~~ | FD_SETSIZE dnotify_test.c:28:12: error: 'F_NOTIFY' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~ dnotify_test.c:28:22: error: 'DN_MODIFY' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~ dnotify_test.c:28:32: error: 'DN_CREATE' undeclared (first use in this function); did you mean 'O_CREAT'? 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~ | O_CREAT dnotify_test.c:28:42: error: 'DN_MULTISHOT' undeclared (first use in this function) 28 | fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); | ^~~~~~~~~~~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/dnotify_test] Error 1 make[1]: *** Waiting for unfinished jobs.... devpts_pts.c:11:10: fatal error: asm/ioctls.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/devpts_pts] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' ccache arc-elf32-gcc -I../../../../../usr/include/ -pthread binderfs_test.c -o /tmp/kci/linux/build/kselftest/filesystems/binderfs/binderfs_test arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/binderfs/binderfs_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/binderfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' ccache arc-elf32-gcc -I../../../../../usr/include/ epoll_wakeup_test.c -lpthread -o /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test epoll_wakeup_test.c:4:10: fatal error: poll.h: No such file or directory 4 | #include | ^~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/filesystems/epoll/epoll_wakeup_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/filesystems/epoll' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/firmware' ccache arc-elf32-gcc -Wall -O2 fw_namespace.c -o /tmp/kci/linux/build/kselftest/firmware/fw_namespace fw_namespace.c:14:10: fatal error: sys/mount.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/firmware/fw_namespace] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/firmware' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/fpu' ccache arc-elf32-gcc test_fpu.c -lm -o /tmp/kci/linux/build/kselftest/fpu/test_fpu test_fpu.c: In function 'main': test_fpu.c:34:13: error: 'FE_DOWNWARD' undeclared (first use in this function) 34 | fesetround(FE_DOWNWARD); | ^~~~~~~~~~~ test_fpu.c:34:13: note: each undeclared identifier is reported only once for each function it appears in test_fpu.c:49:2: warning: implicit declaration of function 'feenableexcept'; did you mean 'feraiseexcept'? [-Wimplicit-function-declaration] 49 | feenableexcept(FE_ALL_EXCEPT); | ^~~~~~~~~~~~~~ | feraiseexcept test_fpu.c:54:6: warning: implicit declaration of function 'fegetexcept'; did you mean 'fetestexcept'? [-Wimplicit-function-declaration] 54 | if (fegetexcept() != FE_ALL_EXCEPT) { | ^~~~~~~~~~~ | fetestexcept make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/fpu/test_fpu] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/fpu' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ftrace' rsync -a ftracetest /tmp/kci/linux/build/kselftest/kselftest_install/ftrace/ rsync -a test.d settings /tmp/kci/linux/build/kselftest/kselftest_install/ftrace/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ftrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' ccache arc-elf32-gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ futex_wait_timeout.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[2]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' mkdir -p /tmp/kci/linux/build/kselftest/kselftest_install/futex install -t /tmp/kci/linux/build/kselftest/kselftest_install/futex run.sh make[2]: Entering directory '/tmp/kci/linux/tools/testing/selftests/futex' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ccache arc-elf32-gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ futex_wait_timeout.c -lpthread -lrt -o /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[2]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/futex/functional/futex_wait_timeout] Error 1 make[2]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex/functional' make[1]: *** [../lib.mk:108: install] Error 2 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/futex' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' rsync -a run.sh /tmp/kci/linux/build/kselftest/kselftest_install/intel_pstate/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/intel_pstate' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ipc' ccache arc-elf32-gcc -I../../../../usr/include/ msgque.c -o /tmp/kci/linux/build/kselftest/ipc/msgque msgque.c:7:10: fatal error: sys/msg.h: No such file or directory 7 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ipc/msgque] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ipc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ir' ccache arc-elf32-gcc -Wall -O2 -I../../../include/uapi ir_loopback.c -o /tmp/kci/linux/build/kselftest/ir/ir_loopback In file included from ../../../include/uapi/linux/lirc.h:10, from ir_loopback.c:12: ../../../include/uapi/linux/types.h:5:10: fatal error: asm-generic/int-ll64.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ir/ir_loopback] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ir' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kcmp' ccache arc-elf32-gcc -I../../../../usr/include/ kcmp_test.c -o /tmp/kci/linux/build/kselftest/kcmp/kcmp_test kcmp_test.c:12:10: fatal error: linux/unistd.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/kcmp/kcmp_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kcmp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: *** No rule to make target 'install'. Stop. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kexec' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/kvm' ccache arc-elf32-gcc -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 -fno-stack-protector -fno-PIE -I../../../../tools/include -I../../../../tools/arch/arc/include -I../../../../usr/include/ -Iinclude -Ilib -Iinclude/x86_64 -I.. -c lib/assert.c -o /tmp/kci/linux/build/kselftest/kvm/lib/assert.o lib/assert.c:12:10: fatal error: execinfo.h: No such file or directory 12 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:124: /tmp/kci/linux/build/kselftest/kvm/lib/assert.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/kvm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lib' rsync -a printf.sh bitmap.sh prime_numbers.sh strscpy.sh /tmp/kci/linux/build/kselftest/kselftest_install/lib/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lib' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/livepatch' rsync -a test-livepatch.sh test-callbacks.sh test-shadow-vars.sh test-state.sh test-ftrace.sh /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ rsync -a functions.sh /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ rsync -a settings /tmp/kci/linux/build/kselftest/kselftest_install/livepatch/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/livepatch' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' rsync -a tests.txt /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ rsync -a /tmp/kci/linux/build/kselftest/lkdtm/PANIC.sh /tmp/kci/linux/build/kselftest/lkdtm/BUG.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING.sh /tmp/kci/linux/build/kselftest/lkdtm/WARNING_MESSAGE.sh /tmp/kci/linux/build/kselftest/lkdtm/EXCEPTION.sh /tmp/kci/linux/build/kselftest/lkdtm/LOOP.sh /tmp/kci/linux/build/kselftest/lkdtm/EXHAUST_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_STACK_STRONG.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_ADD.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_LIST_DEL.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_LEADING.sh /tmp/kci/linux/build/kselftest/lkdtm/STACK_GUARD_PAGE_TRAILING.sh /tmp/kci/linux/build/kselftest/lkdtm/UNSET_SMEP.sh /tmp/kci/linux/build/kselftest/lkdtm/DOUBLE_FAULT.sh /tmp/kci/linux/build/kselftest/lkdtm/CORRUPT_PAC.sh /tmp/kci/linux/build/kselftest/lkdtm/UNALIGNED_LOAD_STORE_WRITE.sh /tmp/kci/linux/build/kselftest/lkdtm/OVERWRITE_ALLOCATION.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_BUDDY_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/READ_BUDDY_AFTER_FREE.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_DOUBLE.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_CROSS.sh /tmp/kci/linux/build/kselftest/lkdtm/SLAB_FREE_PAGE.sh /tmp/kci/linux/build/kselftest/lkdtm/SOFTLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/HARDLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/SPINLOCKUP.sh /tmp/kci/linux/build/kselftest/lkdtm/HUNG_TASK.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_DATA.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_STACK.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_KMALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_VMALLOC.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_RODATA.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_USERSPACE.sh /tmp/kci/linux/build/kselftest/lkdtm/EXEC_NULL.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_USERSPACE.sh /tmp/kci/linux/build/kselftest/lkdtm/ACCESS_NULL.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_RO_AFTER_INIT.sh /tmp/kci/linux/build/kselftest/lkdtm/WRITE_KERN.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_NEGATIVE.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_ZERO.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_INC_NOT_ZERO_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_ADD_NOT_ZERO_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_DEC_AND_TEST_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_SUB_AND_TEST_SATURATED.sh /tmp/kci/linux/build/kselftest/lkdtm/REFCOUNT_TIMING.sh /tmp/kci/linux/build/kselftest/lkdtm/ATOMIC_TIMING.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_SIZE_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_HEAP_WHITELIST_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_TO.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_FRAME_FROM.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_STACK_BEYOND.sh /tmp/kci/linux/build/kselftest/lkdtm/USERCOPY_KERNEL.sh /tmp/kci/linux/build/kselftest/lkdtm/STACKLEAK_ERASING.sh /tmp/kci/linux/build/kselftest/lkdtm/CFI_FORWARD_PROTO.sh /tmp/kci/linux/build/kselftest/kselftest_install/lkdtm/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/lkdtm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/membarrier' ccache arc-elf32-gcc -g -I../../../../usr/include/ membarrier_test_single_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread ccache arc-elf32-gcc -g -I../../../../usr/include/ membarrier_test_multi_thread.c -lpthread -o /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread membarrier_test_single_thread.c:3:10: fatal error: linux/membarrier.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. membarrier_test_multi_thread.c:3:10: fatal error: linux/membarrier.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_single_thread] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/membarrier/membarrier_test_multi_thread] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/membarrier' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memfd' ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ memfd_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/memfd_test ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_test.c common.c -o /tmp/kci/linux/build/kselftest/memfd/fuse_test ccache arc-elf32-gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/ fuse_mnt.c -lfuse -pthread -o /tmp/kci/linux/build/kselftest/memfd/fuse_mnt arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_mnt] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from memfd_test.c:9: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. In file included from fuse_test.c:23: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. In file included from common.c:7: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/fuse_test] Error 1 In file included from common.c:7: ../../../../include/uapi/linux/fcntl.h:5:10: fatal error: asm/fcntl.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/memfd/memfd_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' rsync -a mem-on-off-test.sh /tmp/kci/linux/build/kselftest/kselftest_install/memory-hotplug/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/memory-hotplug' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mincore' ccache arc-elf32-gcc -Wall mincore_selftest.c -o /tmp/kci/linux/build/kselftest/mincore/mincore_selftest mincore_selftest.c:14:10: fatal error: sys/mman.h: No such file or directory 14 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mincore/mincore_selftest] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mincore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mount' ccache arc-elf32-gcc -Wall -O2 unprivileged-remount-test.c -o /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test ccache arc-elf32-gcc -Wall -O2 nosymfollow-test.c -o /tmp/kci/linux/build/kselftest/mount/nosymfollow-test unprivileged-remount-test.c:8:10: fatal error: sys/mount.h: No such file or directory 8 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mount/unprivileged-remount-test] Error 1 make[1]: *** Waiting for unfinished jobs.... nosymfollow-test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mount/nosymfollow-test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mount' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/mqueue' ccache arc-elf32-gcc -O2 mq_open_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests ccache arc-elf32-gcc -O2 mq_perf_tests.c -lrt -lpthread -lpopt -o /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests mq_open_tests.c:33:10: fatal error: mqueue.h: No such file or directory 33 | #include | ^~~~~~~~~~ compilation terminated. mq_perf_tests.c:38:10: fatal error: mqueue.h: No such file or directory 38 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mqueue/mq_open_tests] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/mqueue/mq_perf_tests] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/mqueue' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net' ccache arc-elf32-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../usr/include/ reuseport_bpf.c -o /tmp/kci/linux/build/kselftest/net/reuseport_bpf reuseport_bpf.c:11:10: fatal error: error.h: No such file or directory 11 | #include | ^~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/net/reuseport_bpf] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' rsync -a bridge_igmp.sh bridge_port_isolation.sh bridge_sticky_fdb.sh bridge_vlan_aware.sh bridge_vlan_unaware.sh ethtool.sh gre_inner_v4_multipath.sh gre_inner_v6_multipath.sh gre_multipath.sh ip6_forward_instats_vrf.sh ip6gre_inner_v4_multipath.sh ip6gre_inner_v6_multipath.sh ipip_flat_gre_key.sh ipip_flat_gre_keys.sh ipip_flat_gre.sh ipip_hier_gre_key.sh ipip_hier_gre_keys.sh ipip_hier_gre.sh loopback.sh mirror_gre_bound.sh mirror_gre_bridge_1d.sh mirror_gre_bridge_1d_vlan.sh mirror_gre_bridge_1q_lag.sh mirror_gre_bridge_1q.sh mirror_gre_changes.sh mirror_gre_flower.sh mirror_gre_lag_lacp.sh mirror_gre_neigh.sh mirror_gre_nh.sh mirror_gre.sh mirror_gre_vlan_bridge_1q.sh mirror_gre_vlan.sh mirror_vlan.sh router_bridge.sh router_bridge_vlan.sh router_broadcast.sh router_mpath_nh.sh router_multicast.sh router_multipath.sh router.sh router_vid_1.sh sch_ets.sh sch_tbf_ets.sh sch_tbf_prio.sh sch_tbf_root.sh tc_actions.sh tc_chains.sh tc_flower_router.sh tc_flower.sh tc_shblocks.sh tc_vlan_modify.sh vxlan_asymmetric.sh vxlan_bridge_1d_port_8472.sh vxlan_bridge_1d.sh vxlan_bridge_1q_port_8472.sh vxlan_bridge_1q.sh vxlan_symmetric.sh /tmp/kci/linux/build/kselftest/kselftest_install/net/forwarding/ rsync -a devlink_lib.sh ethtool_lib.sh fib_offload_lib.sh forwarding.config.sample ipip_lib.sh lib.sh mirror_gre_lib.sh mirror_gre_topo_lib.sh mirror_lib.sh mirror_topo_lib.sh sch_ets_core.sh sch_ets_tests.sh sch_tbf_core.sh sch_tbf_etsprio.sh tc_common.sh /tmp/kci/linux/build/kselftest/kselftest_install/net/forwarding/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' ccache arc-elf32-gcc -Wall -Wl,--no-as-needed -O2 -g -I../../../../../usr/include mptcp_connect.c -o /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect mptcp_connect.c:17:10: fatal error: sys/poll.h: No such file or directory 17 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../../lib.mk:150: /tmp/kci/linux/build/kselftest/net/mptcp/mptcp_connect] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/netfilter' ccache arc-elf32-gcc nf-queue.c -lmnl -o /tmp/kci/linux/build/kselftest/netfilter/nf-queue nf-queue.c:11:10: fatal error: arpa/inet.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/netfilter/nf-queue] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/netfilter' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/nsfs' ccache arc-elf32-gcc -Wall -Werror owner.c -o /tmp/kci/linux/build/kselftest/nsfs/owner ccache arc-elf32-gcc -Wall -Werror pidns.c -o /tmp/kci/linux/build/kselftest/nsfs/pidns pidns.c:12:10: fatal error: sys/ioctl.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/nsfs/pidns] Error 1 make[1]: *** Waiting for unfinished jobs.... owner.c:12:10: fatal error: sys/ioctl.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/nsfs/owner] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/nsfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pidfd' ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_fdinfo_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_open_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test ccache arc-elf32-gcc -g -I../../../../usr/include/ -pthread pidfd_poll_test.c -o /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test arc-elf32-gcc: error: unrecognized command-line option '-pthread' arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_test] Error 1 make[1]: *** Waiting for unfinished jobs.... arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_fdinfo_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_open_test] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pidfd/pidfd_poll_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pidfd' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' ccache arc-elf32-gcc -g -I../../../../usr/include/ regression_enomem.c ../pidfd/pidfd.h -o /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem regression_enomem.c:5:10: fatal error: linux/types.h: No such file or directory 5 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ../pidfd/pidfd.h:14:10: fatal error: syscall.h: No such file or directory 14 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/pid_namespace/regression_enomem] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pid_namespace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/powerpc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/proc' ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-001-lookup.c -o /tmp/kci/linux/build/kselftest/proc/fd-001-lookup ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE fd-003-kthread.c -o /tmp/kci/linux/build/kselftest/proc/fd-003-kthread ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-loadavg-001.c -o /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001 ccache arc-elf32-gcc -Wall -O2 -Wno-unused-function -D_GNU_SOURCE proc-pid-vm.c -o /tmp/kci/linux/build/kselftest/proc/proc-pid-vm fd-003-kthread.c:19:10: fatal error: sys/syscall.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~ compilation terminated. In file included from /usr/arc-multilib-elf/sys-include/dirent.h:39, from fd-001-lookup.c:20: /usr/arc-multilib-elf/sys-include/sys/dirent.h:10:2: error: #error " not supported" 10 | #error " not supported" | ^~~~~ In file included from fd-001-lookup.c:20: /usr/arc-multilib-elf/sys-include/dirent.h:48:12: error: unknown type name 'DIR' 48 | int dirfd(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:51:17: error: unknown type name 'DIR' 51 | int fdclosedir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:53:1: error: unknown type name 'DIR' 53 | DIR *opendir(const char *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:54:1: error: unknown type name 'DIR' 54 | DIR *fdopendir(int); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:56:11: error: unknown type name 'DIR' 56 | readdir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:58:16: error: unknown type name 'DIR' 58 | int readdir_r(DIR *__restrict, struct dirent *__restrict, | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:61:17: error: unknown type name 'DIR' 61 | void rewinddir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:72:15: error: unknown type name 'DIR' 72 | void seekdir(DIR *, long); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:73:15: error: unknown type name 'DIR' 73 | long telldir(DIR *); | ^~~ /usr/arc-multilib-elf/sys-include/dirent.h:76:15: error: unknown type name 'DIR' 76 | int closedir(DIR *); | ^~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/fd-003-kthread] Error 1 make[1]: *** Waiting for unfinished jobs.... proc-loadavg-001.c: In function 'main': proc-loadavg-001.c:30:6: warning: implicit declaration of function 'unshare' [-Wimplicit-function-declaration] 30 | if (unshare(CLONE_NEWPID) == -1) { | ^~~~~~~ proc-loadavg-001.c:30:14: error: 'CLONE_NEWPID' undeclared (first use in this function) 30 | if (unshare(CLONE_NEWPID) == -1) { | ^~~~~~~~~~~~ proc-loadavg-001.c:30:14: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/proc-loadavg-001] Error 1 In file included from fd-001-lookup.c:30: proc.h:10:10: fatal error: sys/syscall.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~~~ compilation terminated. proc-pid-vm.c:37:10: fatal error: sys/mount.h: No such file or directory 37 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/fd-001-lookup] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/proc/proc-pid-vm] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/proc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/pstore' rsync -a pstore_tests pstore_post_reboot_tests /tmp/kci/linux/build/kselftest/kselftest_install/pstore/ rsync -a common_tests pstore_crash_test /tmp/kci/linux/build/kselftest/kselftest_install/pstore/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/pstore' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/ptrace' ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall get_syscall_info.c -o /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall peeksiginfo.c -o /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo ccache arc-elf32-gcc -std=c99 -pthread -iquote../../../../include/uapi -Wall vmaccess.c -o /tmp/kci/linux/build/kselftest/ptrace/vmaccess arc-elf32-gcc: error: unrecognized command-line option '-pthread' arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/get_syscall_info] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/peeksiginfo] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/ptrace/vmaccess] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/ptrace' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/openat2' ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined openat2_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/openat2_test ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined resolve_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/resolve_test ccache arc-elf32-gcc -Wall -O2 -g -fsanitize=address -fsanitize=undefined rename_attack_test.c helpers.c helpers.h -o /tmp/kci/linux/build/kselftest/openat2/rename_attack_test cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target openat2_test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. resolve_test.c:12:10: fatal error: sys/mount.h: No such file or directory 12 | #include | ^~~~~~~~~~~~~ compilation terminated. rename_attack_test.c:13:10: fatal error: sys/mount.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~ compilation terminated. cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. helpers.c:12:10: fatal error: syscall.h: No such file or directory 12 | #include | ^~~~~~~~~~~ compilation terminated. cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target cc1: warning: '-fsanitize=address' and '-fsanitize=kernel-address' are not supported for this target helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/openat2_test] Error 1 make[1]: *** Waiting for unfinished jobs.... helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. helpers.h:14:10: fatal error: linux/types.h: No such file or directory 14 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/rename_attack_test] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/openat2/resolve_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/openat2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rseq' ccache arc-elf32-gcc -O2 -Wall -g -I./ -I../../../../usr/include/ -L/tmp/kci/linux/build/kselftest/rseq -Wl,-rpath=./ -I../../../../tools/include -shared -fPIC rseq.c -lpthread -ldl -o /tmp/kci/linux/build/kselftest/rseq/librseq.so rseq.c:25:10: fatal error: syscall.h: No such file or directory 25 | #include | ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:29: /tmp/kci/linux/build/kselftest/rseq/librseq.so] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rseq' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/rtc' ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall rtctest.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/rtctest ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall setdate.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/rtc/setdate rtctest.c:10:10: fatal error: linux/rtc.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/rtc/rtctest] Error 1 make[1]: *** Waiting for unfinished jobs.... setdate.c:10:10: fatal error: linux/rtc.h: No such file or directory 10 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/rtc/setdate] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/rtc' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/seccomp' ccache arc-elf32-gcc -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_bpf.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf ccache arc-elf32-gcc -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/ -lpthread seccomp_benchmark.c -o /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark seccomp_bpf.c:16:20: error: missing binary operator before token "(" 16 | #if !__GLIBC_PREREQ(2, 26) | ^ seccomp_bpf.c:24:10: fatal error: linux/filter.h: No such file or directory 24 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/seccomp/seccomp_bpf] Error 1 make[1]: *** Waiting for unfinished jobs.... seccomp_benchmark.c:11:10: fatal error: linux/filter.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/seccomp/seccomp_benchmark] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/seccomp' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' ccache arc-elf32-gcc -Wall sas.c -o /tmp/kci/linux/build/kselftest/sigaltstack/sas sas.c:14:10: fatal error: sys/mman.h: No such file or directory 14 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/sigaltstack/sas] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sigaltstack' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/size' ccache arc-elf32-gcc -static -ffreestanding -nostartfiles -s get_size.c -o /tmp/kci/linux/build/kselftest/size/get_size get_size.c:29:10: fatal error: sys/sysinfo.h: No such file or directory 29 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/size/get_size] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/size' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sparc64' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/splice' ccache arc-elf32-gcc default_file_splice_read.c -o /tmp/kci/linux/build/kselftest/splice/default_file_splice_read ccache arc-elf32-gcc splice_read.c -o /tmp/kci/linux/build/kselftest/splice/splice_read default_file_splice_read.c: In function 'main': default_file_splice_read.c:7:9: warning: implicit declaration of function 'splice' [-Wimplicit-function-declaration] 7 | splice(0, 0, 1, 0, 1<<30, 0); | ^~~~~~ splice_read.c: In function 'main': splice_read.c:48:12: warning: implicit declaration of function 'splice' [-Wimplicit-function-declaration] 48 | spliced = splice(fd, NULL, STDOUT_FILENO, NULL, | ^~~~~~ splice_read.c:49:15: error: 'SPLICE_F_MOVE' undeclared (first use in this function) 49 | size, SPLICE_F_MOVE); | ^~~~~~~~~~~~~ splice_read.c:49:15: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/splice/splice_read] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: /tmp/ccEyNGei.o: in function `main': default_file_splice_read.c:(.text+0x28): undefined reference to `splice' /usr/bin/../lib/gcc/arc-multilib-elf/10.2.0/../../../../arc-multilib-elf/bin/ld: default_file_splice_read.c:(.text+0x28): undefined reference to `splice' collect2: error: ld returned 1 exit status make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/splice/default_file_splice_read] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/splice' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/static_keys' rsync -a test_static_keys.sh /tmp/kci/linux/build/kselftest/kselftest_install/static_keys/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/static_keys' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sync' ccache arc-elf32-gcc -c sync_test.c -o /tmp/kci/linux/build/kselftest/sync/sync_test.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ ccache arc-elf32-gcc -c sync.c -o /tmp/kci/linux/build/kselftest/sync/sync.o -O2 -g -std=gnu89 -pthread -Wall -Wextra -I../../../../usr/include/ arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/sync/sync_test.o] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:33: /tmp/kci/linux/build/kselftest/sync/sync.o] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sync' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/sysctl' rsync -a sysctl.sh /tmp/kci/linux/build/kselftest/kselftest_install/sysctl/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/sysctl' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' /bin/sh: 1: llc: not found clang -I. -I/include/uapi -Wno-compare-distinct-pointer-types \ -O2 -target bpf -emit-llvm -c action.c -o - | \ llc -march=bpf -mcpu=probe -filetype=obj -o /tmp/kci/linux/build/kselftest/tc-testing/action.o /bin/sh: 1: /bin/sh: 3: llc: not found clang: not found make[1]: *** [Makefile:28: /tmp/kci/linux/build/kselftest/tc-testing/action.o] Error 127 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tc-testing' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timens' ccache arc-elf32-gcc -Wall -Werror -pthread timens.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timens ccache arc-elf32-gcc -Wall -Werror -pthread timerfd.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timerfd ccache arc-elf32-gcc -Wall -Werror -pthread timer.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/timer ccache arc-elf32-gcc -Wall -Werror -pthread clock_nanosleep.c -lrt -ldl -o /tmp/kci/linux/build/kselftest/timens/clock_nanosleep arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timens] Error 1 make[1]: *** Waiting for unfinished jobs.... arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timerfd] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/timer] Error 1 arc-elf32-gcc: error: unrecognized command-line option '-pthread' make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timens/clock_nanosleep] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timens' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/timers' ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall posix_timers.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/posix_timers ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall nanosleep.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nanosleep ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall nsleep-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/nsleep-lat ccache arc-elf32-gcc -O3 -Wl,-no-as-needed -Wall set-timer-lat.c -lrt -lpthread -lm -o /tmp/kci/linux/build/kselftest/timers/set-timer-lat nsleep-lat.c:24:10: fatal error: sys/timex.h: No such file or directory 24 | #include | ^~~~~~~~~~~~~ compilation terminated. nanosleep.c:27:10: fatal error: sys/timex.h: No such file or directory 27 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/nanosleep] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/nsleep-lat] Error 1 posix_timers.c: In function 'kernel_loop': posix_timers.c:40:9: warning: implicit declaration of function 'brk'; did you mean 'sbrk'? [-Wimplicit-function-declaration] 40 | err = brk(addr + 4096); | ^~~ | sbrk set-timer-lat.c:33: warning: "CLOCK_REALTIME" redefined 33 | #define CLOCK_REALTIME 0 | In file included from set-timer-lat.c:26: /usr/arc-multilib-elf/sys-include/time.h:263: note: this is the location of the previous definition 263 | #define CLOCK_REALTIME ((clockid_t) 1) | posix_timers.c: In function 'check_timer_create': posix_timers.c:148:15: error: 'CLOCK_THREAD_CPUTIME_ID' undeclared (first use in this function) 148 | if (which == CLOCK_THREAD_CPUTIME_ID) { | ^~~~~~~~~~~~~~~~~~~~~~~ posix_timers.c:148:15: note: each undeclared identifier is reported only once for each function it appears in set-timer-lat.c: In function 'sigalarm': set-timer-lat.c:102:2: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 102 | clock_gettime(clock_id, &ts); | ^~~~~~~~~~~~~ posix_timers.c:150:22: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use in this function) 150 | } else if (which == CLOCK_PROCESS_CPUTIME_ID) { | ^~~~~~~~~~~~~~~~~~~~~~~~ set-timer-lat.c: In function 'setup_timer': set-timer-lat.c:132:19: error: 'SIGRTMAX' undeclared (first use in this function) 132 | se.sigev_signo = SIGRTMAX; | ^~~~~~~~ set-timer-lat.c:132:19: note: each undeclared identifier is reported only once for each function it appears in posix_timers.c:156:8: warning: implicit declaration of function 'timer_create'; did you mean 'timerclear'? [-Wimplicit-function-declaration] 156 | err = timer_create(which, NULL, &id); | ^~~~~~~~~~~~ | timerclear set-timer-lat.c:139:8: warning: implicit declaration of function 'timer_create' [-Wimplicit-function-declaration] 139 | err = timer_create(clock_id, &se, tm1); | ^~~~~~~~~~~~ posix_timers.c:169:8: warning: implicit declaration of function 'timer_settime' [-Wimplicit-function-declaration] 169 | err = timer_settime(id, 0, &val, NULL); | ^~~~~~~~~~~~~ set-timer-lat.c:164:8: warning: implicit declaration of function 'timer_settime' [-Wimplicit-function-declaration] 164 | err = timer_settime(*tm1, flags, &its1, &its2); | ^~~~~~~~~~~~~ posix_timers.c: In function 'main': posix_timers.c:205:25: error: 'CLOCK_THREAD_CPUTIME_ID' undeclared (first use in this function) 205 | if (check_timer_create(CLOCK_THREAD_CPUTIME_ID) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~ set-timer-lat.c: In function 'do_timer': posix_timers.c:217:25: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use in this function) 217 | if (check_timer_create(CLOCK_PROCESS_CPUTIME_ID) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ set-timer-lat.c:224:2: warning: implicit declaration of function 'timer_delete' [-Wimplicit-function-declaration] 224 | timer_delete(tm1); | ^~~~~~~~~~~~ set-timer-lat.c: In function 'main': set-timer-lat.c:255:15: error: 'SIGRTMAX' undeclared (first use in this function) 255 | int signum = SIGRTMAX; | ^~~~~~~~ make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/posix_timers] Error 1 make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/timers/set-timer-lat] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/timers' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' ccache arc-elf32-gcc -Wall -O2 -D_GNU_SOURCE bug-link-o-tmpfile.c -o /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile bug-link-o-tmpfile.c:23:10: fatal error: sys/mount.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/tmpfs/bug-link-o-tmpfile] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tmpfs' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/tpm2' rsync -a test_smoke.sh test_space.sh /tmp/kci/linux/build/kselftest/kselftest_install/tpm2/ rsync -a tpm2.py tpm2_tests.py /tmp/kci/linux/build/kselftest/kselftest_install/tpm2/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/tpm2' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/user' rsync -a test_user_copy.sh /tmp/kci/linux/build/kselftest/kselftest_install/user/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/user' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/vm' ccache arc-elf32-gcc -Wall -I ../../../../usr/include -no-pie compaction_test.c -lrt -o /tmp/kci/linux/build/kselftest/vm/compaction_test compaction_test.c:12:10: fatal error: sys/mman.h: No such file or directory 12 | #include | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [../lib.mk:150: /tmp/kci/linux/build/kselftest/vm/compaction_test] Error 1 make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/vm' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/x86' make[1]: Entering directory '/tmp/kci/linux/tools/testing/selftests/zram' rsync -a zram.sh /tmp/kci/linux/build/kselftest/kselftest_install/zram/ rsync -a zram01.sh zram02.sh zram_lib.sh /tmp/kci/linux/build/kselftest/kselftest_install/zram/ make[1]: Leaving directory '/tmp/kci/linux/tools/testing/selftests/zram' for TARGET in android arm64 bpf breakpoints capabilities cgroup clone3 core cpufreq cpu-hotplug drivers/dma-buf efivarfs exec filesystems filesystems/binderfs filesystems/epoll firmware fpu ftrace futex intel_pstate ipc ir kcmp kexec kvm lib livepatch lkdtm membarrier memfd memory-hotplug mincore mount mqueue net net/forwarding net/mptcp netfilter nsfs pidfd pid_namespace powerpc proc pstore ptrace openat2 rseq rtc seccomp sigaltstack size sparc64 splice static_keys sync sysctl tc-testing timens timers tmpfs tpm2 user vm x86 zram; do \ BUILD_TARGET=$BUILD/$TARGET; \ [ ! -d /tmp/kci/linux/build/kselftest/kselftest_install/$TARGET ] && echo "Skipping non-existent dir: $TARGET" && continue; \ echo -n "Emit Tests for $TARGET\n"; \ make -s --no-print-directory OUTPUT=$BUILD_TARGET COLLECTION=$TARGET \ -C $TARGET emit_tests >> /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-list.txt; \ done; Emit Tests for android Skipping non-existent dir: arm64 Skipping non-existent dir: bpf Skipping non-existent dir: breakpoints Skipping non-existent dir: capabilities Skipping non-existent dir: cgroup Skipping non-existent dir: clone3 Skipping non-existent dir: core Emit Tests for cpufreq Emit Tests for cpu-hotplug Skipping non-existent dir: drivers/dma-buf Skipping non-existent dir: efivarfs Skipping non-existent dir: exec Skipping non-existent dir: filesystems Skipping non-existent dir: filesystems/binderfs Skipping non-existent dir: filesystems/epoll Skipping non-existent dir: firmware Skipping non-existent dir: fpu Emit Tests for ftrace Emit Tests for futex Emit Tests for intel_pstate Skipping non-existent dir: ipc Skipping non-existent dir: ir Skipping non-existent dir: kcmp Skipping non-existent dir: kexec Skipping non-existent dir: kvm Emit Tests for lib Emit Tests for livepatch Emit Tests for lkdtm Skipping non-existent dir: membarrier Skipping non-existent dir: memfd Emit Tests for memory-hotplug Skipping non-existent dir: mincore Skipping non-existent dir: mount Skipping non-existent dir: mqueue Emit Tests for net Emit Tests for net/forwarding Skipping non-existent dir: net/mptcp Skipping non-existent dir: netfilter Skipping non-existent dir: nsfs Skipping non-existent dir: pidfd Skipping non-existent dir: pid_namespace Skipping non-existent dir: powerpc Skipping non-existent dir: proc Emit Tests for pstore Skipping non-existent dir: ptrace Skipping non-existent dir: openat2 Skipping non-existent dir: rseq Skipping non-existent dir: rtc Skipping non-existent dir: seccomp Skipping non-existent dir: sigaltstack Skipping non-existent dir: size Skipping non-existent dir: sparc64 Skipping non-existent dir: splice Emit Tests for static_keys Skipping non-existent dir: sync Emit Tests for sysctl Skipping non-existent dir: tc-testing Skipping non-existent dir: timens Skipping non-existent dir: timers Skipping non-existent dir: tmpfs Emit Tests for tpm2 Emit Tests for user Skipping non-existent dir: vm Skipping non-existent dir: x86 Emit Tests for zram Created /tmp/kci/linux/build/kselftest/kselftest_install/kselftest-packages/kselftest.tar.xz make: Leaving directory '/tmp/kci/linux/tools/testing/selftests'