* clang-12: tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
@ 2021-02-22 19:31 Naresh Kamboju
2021-02-22 19:37 ` Nathan Chancellor
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2021-02-22 19:31 UTC (permalink / raw)
To: clang-built-linux, open list, lkft-triage, X86 ML
Cc: Nick Desaulniers, Nathan Chancellor, Arnd Bergmann,
Nathan Chancellor
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@linaro.org>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: clang-12: tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2)
2021-02-22 19:31 clang-12: tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2) Naresh Kamboju
@ 2021-02-22 19:37 ` Nathan Chancellor
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2021-02-22 19:37 UTC (permalink / raw)
To: Naresh Kamboju
Cc: clang-built-linux, open list, lkft-triage, X86 ML,
Nick Desaulniers, Nathan Chancellor, Arnd Bergmann
On Tue, Feb 23, 2021 at 01:01:16AM +0530, Naresh Kamboju wrote:
> 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@linaro.org>
>
> 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
Thanks for the report. This has been fixed in -next and has a CC for
stable when it is merged into mainline:
https://git.kernel.org/next/linux-next/c/ebfac7b778fac8b0e8e92ec91d0b055f046b4604
https://github.com/ClangBuiltLinux/linux/issues/1250
Cheers,
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-22 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 19:31 clang-12: tun: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err -2) Naresh Kamboju
2021-02-22 19:37 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox