mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* LLVM not detected in bpfutil due to LLVM 16 requiring c++17
@ 2023-04-14 10:36 No Name
  2023-04-14 15:43 ` Nathan Chancellor
  0 siblings, 1 reply; 3+ messages in thread
From: No Name @ 2023-04-14 10:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: nathan, ndesaulniers, llvm

This is my first time reporting a bug, so apologies if I get something wrong.
In tools/build/feature/Makefile, line 342, the c++ std is set to
gnu++14, whereas LLVM 16 now requires c++17 to include the headers.
This results in the llvm feature being falsely disabled for bpfutil.
Perhaps the --cxxflags, --ldflags and --libs options of llvm-config
should instead?

Reagan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-14 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 10:36 LLVM not detected in bpfutil due to LLVM 16 requiring c++17 No Name
2023-04-14 15:43 ` Nathan Chancellor
2023-04-14 16:26   ` Quentin Monnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®