lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=GYpaw3Nb-tQwurfOsLpOk8=yGKXHrgprcie+gv-+oyyXGKA@mail.gmail.com>
Date:	Tue, 26 Jan 2016 21:51:54 -0800
From:	Joel Fernandes <agnel.joel@...il.com>
To:	bblanco@...mgrid.com, ast@...mgrid.com,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: make samples/bpf/ using gcc instead of clang/llvm

Hi Brendan, Alexei,

I noticed your patch fixing the $subject issue.

https://patchwork.ozlabs.org/patch/471118/

However, I still see make samples/bpf/ using gcc instead of clang.

Here's a verbose kbuild output of make samples/bpf/. My kernel version
is 4.4. It looks to me like Kbuild is ignoring the Makefile in
samples/bpf/. Let me know if you spot anything of the ordinary?
Thanks.

 make  KBUILD_VERBOSE=1 samples/bpf/
[..]
make KBUILD_MODULES=1 \
    -f /home/joel/data/repo/linux-4.4/scripts/Makefile.build obj=samples/bpf
(cat /dev/null; ) > samples/bpf/modules.order
  gcc -Wp,-MD,samples/bpf/.test_verifier.o.d -Isamples/bpf -Wall
-Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
-std=gnu89  -I/home/joel/data/repo/linux-4.4/./usr/include
-I./usr/include -c -o samples/bpf/test_verifier.o
/home/joel/data/repo/linux-4.4/samples/bpf/test_verifier.c
/home/joel/data/repo/linux-4.4/samples/bpf/test_verifier.c:12:23:
fatal error: linux/bpf.h: No such file or directory
 #include <linux/bpf.h>
                       ^
compilation terminated.
make[2]: *** [samples/bpf/test_verifier.o] Error 1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ