------- Comment From [email protected] 2018-02-20 03:05 EDT-------
> I believe this is third party source that you are trying to build, not using 
> Ubuntu package build procedures, > with a non-default compiler.

Absolutely no. I have downloaded the clang compiler and libraries from
ubuntu:

root@s8360046:~# apt list --installed|fgrep clang

WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.

clang-4.0/artful,now 1:4.0.1-6 s390x [installed,automatic]
libclang-common-4.0-dev/artful,now 1:4.0.1-6 s390x [installed,automatic]
libclang1-4.0/artful,now 1:4.0.1-6 s390x [installed,automatic]
root@s8360046:~#

cang is part of the ubuntu installation.

> This is out of scope to provide support for.
> Why are you using clang, instead of gcc, btw? I believe you will have more 
> success if you use the default
> Ubuntu gcc compiler.

I downloaded the linux kernel source tree. It contains a directory named 
linux/tools/testing/selftests/bpf.
When you compile the code in the bpf directory, it creates eBPF byte code to be 
loaded and executed
in the kernel. gcc does not generate eBPF code, there clang is used.
Whatever, this setup is part of the  linux kernel, I did not change anything.

All I did was building the selftest tools for the linux kernel and it
fails.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750388

Title:
  17.10 - BPF test tool build with errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1750388/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to