clang-12: tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
From: Naresh Kamboju
Date: Mon Feb 22 2021 - 14:34:15 EST
Following test regressions reported after upgrade to clang-12 from clang-10.
Regression detected on Linux mainline and stable-rc 5.4, 5.10 and 5.11.
qemu-x86_64-clang-12 failed test cases,
ltp-containers-tests:
* netns_breakns_ip_ipv4_ioctl
* netns_breakns_ip_ipv4_netlink
* netns_breakns_ip_ipv6_ioctl
* netns_breakns_ip_ipv6_netlink
* netns_breakns_ns_exec_ipv4_ioctl
* netns_breakns_ns_exec_ipv4_netlink
* netns_breakns_ns_exec_ipv6_ioctl
* netns_breakns_ns_exec_ipv6_netlink
* netns_comm_ip_ipv4_ioctl
* netns_comm_ip_ipv4_netlink
* netns_comm_ip_ipv6_ioctl
* netns_comm_ip_ipv6_netlink
* netns_comm_ns_exec_ipv4_ioctl
* netns_comm_ns_exec_ipv4_netlink
* netns_comm_ns_exec_ipv6_ioctl
* netns_comm_ns_exec_ipv6_netlink
* netns_netlink
Test error log:
--------------
[ 19.017163] tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
open: No such device
netns_netlink 1 TBROK : netns_netlink.c:143: system() failed
netns_netlink 2 TBROK : netns_netlink.c:143: Remaining cases broken
netns_breakns 1 TINFO: timeout per run is 0h 15m 0s
[ 19.070922] veth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
[ 19.095171] veth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
Error: Unknown device type.[ 19.101364] ip (751) used greatest stack
depth: 12088 bytes left
netns_breakns 1 TBROK: unable to create veth pair devices
Cannot find device \"veth0\"
Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
Full test error log link,
-------------------------
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.11.y/build/v5.11-13-g6380656c9227/testrun/4002283/suite/ltp-containers-tests/test/netns_breakns_ip_ipv4_ioctl/log
https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v5.11-2899-g2c405d1ab8b3/testrun/3994442/suite/ltp-containers-tests/test/netns_breakns_ip_ipv4_ioctl/log
--
Linaro LKFT
https://lkft.linaro.org