linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-next] rename of VM_NR_PDFLUSH_THREADS breaks strace compilation
@ 2018-12-07  7:58 Heiko Carstens
  2018-12-07 10:53 ` Rafael Aquini
  0 siblings, 1 reply; 8+ messages in thread
From: Heiko Carstens @ 2018-12-07  7:58 UTC (permalink / raw)
  To: Rafael Aquini
  Cc: Greg Kroah-Hartman, Dmitry V. Levin,
	linux-next-u79uwXL29TY76Z2rM5mHXA,
	strace-devel-3+4lAyCyj6AWlMsSdNXQLw, William Kucharski

Hi Rafael,

your patch 77cab92a2cb1 ("sysctl: clean up nr_pdflush_threads
leftover") in linux-next breaks strace compilation if used with kernel
headers from linux-next.

This:

--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
[...]
-       VM_NR_PDFLUSH_THREADS=15, /* nr_pdflush_threads */
+       VM_UNUSED15=15,         /* was: int: nr_pdflush_threads */

causes this when trying to build strace:

+ ./bootstrap
configure.ac:54: installing './compile'
configure.ac:47: installing './config.guess'
configure.ac:47: installing './config.sub'
configure.ac:45: installing './install-sh'
configure.ac:45: installing './missing'
Makefile.am: installing './depcomp'
Makefile.am:975: warning: variable 'ioctlsort_LDFLAGS' is defined but no program or
Makefile.am:975: library has 'ioctlsort' as canonical name (possible typo)
parallel-tests: installing './test-driver'
+ ./configure
++ nproc
+ make -j 10
In file included from defs.h:308,
from sysctl.c:31:
xlat/sysctl_vm.h:23:7: error: ‘VM_NR_PDFLUSH_THREADS’ undeclared here (not in a function)
XLAT(VM_NR_PDFLUSH_THREADS),
^~~~~~~~~~~~~~~~~~~~~
xlat.h:49:35: note: in definition of macro ‘XLAT’
# define XLAT(val)   { (unsigned)(val), #val }
^~~

-- 
Strace-devel mailing list
Strace-devel@lists.strace.io
https://lists.strace.io/mailman/listinfo/strace-devel

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

end of thread, other threads:[~2018-12-07 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-07  7:58 [-next] rename of VM_NR_PDFLUSH_THREADS breaks strace compilation Heiko Carstens
2018-12-07 10:53 ` Rafael Aquini
2018-12-07 11:01   ` Heiko Carstens
2018-12-07 11:16     ` Rafael Aquini
2018-12-07 11:54       ` Greg Kroah-Hartman
     [not found]         ` <20181207115412.GA15336-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2018-12-07 12:17           ` Rafael Aquini
2018-12-07 12:51             ` Rafael Aquini
2018-12-07 14:51               ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).