public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 6.1-rc3 build fail in include/linux/bpf.h
@ 2022-10-31 11:14 David Laight
  2022-10-31 12:03 ` David Laight
  2022-10-31 12:17 ` Jiri Olsa
  0 siblings, 2 replies; 7+ messages in thread
From: David Laight @ 2022-10-31 11:14 UTC (permalink / raw)
  To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org; +Cc: Jiri Olsa

The 6.1-rc3 sources fail to build because bpf.h unconditionally
#define BPF_DISPATCHER_ATTRIBUTES __attribute__((patchable_function_entry(5)))
for X86_64 builds.

I'm pretty sure that should depend on some other options
since the compiler isn't required to support it.
(The gcc 7.5.0 on my Ubunti 18.04 system certainly doesn't)

The only other reference to that attribute is in the definition
of 'notrace' in compiler.h.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


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

end of thread, other threads:[~2022-11-01 13:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 11:14 Linux 6.1-rc3 build fail in include/linux/bpf.h David Laight
2022-10-31 12:03 ` David Laight
2022-10-31 12:17 ` Jiri Olsa
2022-10-31 15:21   ` Peter Zijlstra
2022-10-31 21:53     ` Jiri Olsa
2022-11-01 11:00       ` Björn Töpel
2022-11-01 13:39         ` Björn Töpel

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