Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-new] BUILD REGRESSION b4fc90c82982d98959af08b4320420bcfc01303b
@ 2026-09-27  8:00 kernel test robot
  2026-09-27 18:04 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-09-27  8:00 UTC (permalink / raw)
  To: David Hildenbrand; +Cc: Andrew Morton, Linux Memory Management List, mm-commits

tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
branch HEAD: b4fc90c82982d98959af08b4320420bcfc01303b  mm/swap, PM: hibernate: atomically replace hibernation pin

Error/Warning (recently discovered and may have been fixed):

    https://lore.kernel.org/oe-kbuild-all/202609160337.WJiD9BqX-lkp@intel.com
    https://lore.kernel.org/oe-kbuild-all/202609171159.oaB1OaSG-lkp@intel.com
    https://lore.kernel.org/oe-kbuild-all/202609270030.Y0QVBPmK-lkp@intel.com

    aarch64-linux-ld: Unexpected GOT/PLT entries detected!
    aarch64-linux-ld: Unexpected run-time procedure linkages detected!
    arena.c:(.text+0x11fc): undefined reference to `__check_safe_pte_update'
    fs/proc/task_mmu.c:3450:17: error: implicit declaration of function 'drop_rcu' [-Werror=implicit-function-declaration]
    fs/proc/task_mmu.c:3450:3: error: call to undeclared function 'drop_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    fs/proc/task_mmu.c:3450:3: error: implicit declaration of function 'drop_rcu'; did you mean 'drop_slab'? [-Werror=implicit-function-declaration]
    fs/proc/task_mmu.c:3452:17: error: implicit declaration of function 'reacquire_rcu' [-Werror=implicit-function-declaration]
    fs/proc/task_mmu.c:3452:3: error: call to undeclared function 'reacquire_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    fs/proc/task_mmu.c:3452:3: error: implicit declaration of function 'reacquire_rcu'; did you mean 'get_file_rcu'? [-Werror=implicit-function-declaration]
    gup.c:(.text+0x2b48): undefined reference to `__check_safe_pte_update'
    hugetlbpage.c:(.text+0x1a8): undefined reference to `__check_safe_pte_update'
    memory.c:(.text+0x3418): undefined reference to `__check_safe_pte_update'
    mmu.c:(.text+0x9a8): undefined reference to `__check_safe_pte_update'

Error/Warning ids grouped by kconfigs:

recent_errors
|-- arm64-randconfig-1002-20260926
|   |-- aarch64-linux-ld:Unexpected-GOT-PLT-entries-detected
|   |-- aarch64-linux-ld:Unexpected-run-time-procedure-linkages-detected
|   |-- arena.c:(.text):undefined-reference-to-__check_safe_pte_update
|   |-- gup.c:(.text):undefined-reference-to-__check_safe_pte_update
|   |-- hugetlbpage.c:(.text):undefined-reference-to-__check_safe_pte_update
|   |-- memory.c:(.text):undefined-reference-to-__check_safe_pte_update
|   `-- mmu.c:(.text):undefined-reference-to-__check_safe_pte_update
|-- powerpc64-randconfig-1001-20260926
|   |-- fs-proc-task_mmu.c:error:implicit-declaration-of-function-drop_rcu
|   `-- fs-proc-task_mmu.c:error:implicit-declaration-of-function-reacquire_rcu
|-- sparc-randconfig-1001-20260926
|   |-- fs-proc-task_mmu.c:error:implicit-declaration-of-function-drop_rcu
|   `-- fs-proc-task_mmu.c:error:implicit-declaration-of-function-reacquire_rcu
`-- x86_64-randconfig-1012-20260926
    |-- fs-proc-task_mmu.c:error:call-to-undeclared-function-drop_rcu-ISO-C99-and-later-do-not-support-implicit-function-declarations
    `-- fs-proc-task_mmu.c:error:call-to-undeclared-function-reacquire_rcu-ISO-C99-and-later-do-not-support-implicit-function-declarations

elapsed time: 1450m

configs tested: 181
configs skipped: 5

tested configs:
alpha                              allnoconfig    gcc-16.1.0
alpha                             allyesconfig    gcc-16.1.0
alpha                                defconfig    gcc-16.1.0
arc                               allmodconfig    gcc-16.1.0
arc                                allnoconfig    gcc-16.1.0
arc                               allyesconfig    gcc-16.1.0
arc                                  defconfig    gcc-16.1.0
arc                   randconfig-1000-20260926    gcc-8.5.0
arc                   randconfig-1001-20260926    gcc-12.5.0
arm                                allnoconfig    clang-17
arm                               allyesconfig    gcc-16.1.0
arm                                  defconfig    clang-24
arm                           gemini_defconfig    clang-24
arm                   randconfig-1000-20260926    clang-17
arm                   randconfig-1001-20260926    clang-24
arm                   randconfig-1002-20260926    clang-17
arm                   randconfig-1003-20260926    gcc-8.5.0
arm64                             allmodconfig    clang-24
arm64                              allnoconfig    gcc-16.1.0
arm64                                defconfig    gcc-16.1.0
arm64                 randconfig-1000-20260926    gcc-9.5.0
arm64                 randconfig-1001-20260926    clang-24
arm64                 randconfig-1002-20260926    gcc-8.5.0
arm64                 randconfig-1003-20260926    gcc-15.2.0
csky                              allmodconfig    gcc-16.1.0
csky                               allnoconfig    gcc-16.1.0
csky                                 defconfig    gcc-16.1.0
csky                  randconfig-1000-20260926    gcc-16.1.0
csky                  randconfig-1001-20260926    gcc-16.1.0
csky                 randconfig-r1300-20260926    gcc-13.4.0 sparse
hexagon                           allmodconfig    clang-24
hexagon                            allnoconfig    clang-24
hexagon                              defconfig    clang-24
hexagon               randconfig-1000-20260926    clang-24
hexagon               randconfig-1001-20260926    clang-19
i386                              allmodconfig    gcc-14
i386                               allnoconfig    gcc-14
i386        buildonly-randconfig-1000-20260926    gcc-14
i386        buildonly-randconfig-1001-20260926    clang-22
i386        buildonly-randconfig-1002-20260926    gcc-14
i386        buildonly-randconfig-1003-20260926    gcc-14
i386        buildonly-randconfig-1004-20260926    gcc-14
i386        buildonly-randconfig-1005-20260926    gcc-14
i386                                 defconfig    clang-22
i386                  randconfig-1000-20260926    gcc-14
i386                  randconfig-1001-20260926    gcc-14
i386                  randconfig-1002-20260926    gcc-14
i386                  randconfig-1003-20260926    clang-22
i386                  randconfig-1004-20260926    gcc-14
i386                  randconfig-1005-20260926    gcc-14
i386                  randconfig-1006-20260926    clang-22
i386                  randconfig-1007-20260926    gcc-14
i386                  randconfig-1008-20260926    gcc-14
i386                  randconfig-1009-20260926    gcc-14
i386                  randconfig-1010-20260926    clang-22
i386                  randconfig-1011-20260926    gcc-14
i386                  randconfig-1012-20260926    gcc-13
i386                  randconfig-1013-20260926    clang-22
i386                  randconfig-1300-20260926    clang-22   sparse
i386                  randconfig-1301-20260926    gcc-14     sparse
i386                  randconfig-1302-20260926    gcc-13     sparse
i386                 randconfig-r1303-20260926    clang-22   sparse
loongarch                         allmodconfig    clang-19
loongarch                          allnoconfig    clang-20
loongarch                            defconfig    clang-24
loongarch             randconfig-1000-20260926    gcc-13.4.0
loongarch             randconfig-1001-20260926    clang-18
loongarch            randconfig-r1305-20260926    gcc-16.1.0 sparse
m68k                              allmodconfig    gcc-16.1.0
m68k                               allnoconfig    gcc-16.1.0
m68k                              allyesconfig    gcc-16.1.0
m68k                                 defconfig    gcc-16.1.0
microblaze                         allnoconfig    gcc-16.1.0
microblaze                        allyesconfig    gcc-16.1.0
microblaze                           defconfig    gcc-16.1.0
mips                              allmodconfig    gcc-16.1.0
mips                               allnoconfig    gcc-16.1.0
mips                              allyesconfig    gcc-16.1.0
mips                      decstation_defconfig    gcc-16.1.0
mips                           rm200_defconfig    gcc-16.1.0
nios2                             allmodconfig    gcc-11.5.0
nios2                              allnoconfig    gcc-11.5.0
nios2                                defconfig    gcc-11.5.0
nios2                 randconfig-1000-20260926    gcc-10.5.0
nios2                 randconfig-1001-20260926    gcc-8.5.0
openrisc                          allmodconfig    gcc-16.1.0
openrisc                           allnoconfig    gcc-16.1.0
openrisc                             defconfig    gcc-16.1.0
parisc                            allmodconfig    gcc-16.1.0
parisc                             allnoconfig    gcc-16.1.0
parisc                            allyesconfig    gcc-16.1.0
parisc                               defconfig    gcc-16.1.0
parisc                randconfig-1000-20260926    gcc-8.5.0
parisc                randconfig-1001-20260926    gcc-10.5.0
parisc64                             defconfig    gcc-16.1.0
powerpc                      akebono_defconfig    clang-24
powerpc                           allmodconfig    gcc-16.1.0
powerpc                            allnoconfig    gcc-16.1.0
powerpc                           g5_defconfig    gcc-16.1.0
powerpc                   iss476-smp_defconfig    gcc-16.1.0
powerpc               randconfig-1000-20260926    gcc-8.5.0
powerpc               randconfig-1001-20260926    gcc-9.5.0
powerpc64             randconfig-1000-20260926    clang-24
powerpc64             randconfig-1001-20260926    gcc-8.5.0
riscv                             allmodconfig    clang-24
riscv                              allnoconfig    gcc-16.1.0
riscv                             allyesconfig    clang-24
riscv                                defconfig    clang-24
riscv                 randconfig-1000-20260926    gcc-15.2.0
riscv                 randconfig-1001-20260926    gcc-9.5.0
riscv                randconfig-r1309-20260926    clang-24   sparse
s390                              allmodconfig    clang-24
s390                               allnoconfig    clang-24
s390                              allyesconfig    gcc-16.1.0
s390                                 defconfig    clang-18
s390                  randconfig-1000-20260926    gcc-15.2.0
s390                  randconfig-1001-20260926    gcc-8.5.0
s390                 randconfig-r1301-20260926    clang-24   sparse
sh                                allmodconfig    gcc-16.1.0
sh                                 allnoconfig    gcc-16.1.0
sh                                allyesconfig    gcc-16.1.0
sh                                   defconfig    gcc-16.1.0
sh                    randconfig-1000-20260926    gcc-10.5.0
sh                    randconfig-1001-20260926    gcc-12.5.0
sh                            se7751_defconfig    gcc-16.1.0
sparc                             alldefconfig    gcc-16.1.0
sparc                              allnoconfig    gcc-16.1.0
sparc                                defconfig    gcc-16.1.0
sparc                 randconfig-1000-20260926    gcc-14.3.0
sparc                 randconfig-1001-20260926    gcc-12.5.0
sparc64                           allmodconfig    clang-20
sparc64                              defconfig    clang-24
sparc64               randconfig-1000-20260926    clang-20
sparc64               randconfig-1001-20260926    gcc-9.5.0
um                                allmodconfig    clang-17
um                                 allnoconfig    clang-17
um                                allyesconfig    gcc-14
um                                   defconfig    clang-24
um                              i386_defconfig    gcc-14
um                    randconfig-1000-20260926    gcc-14
um                    randconfig-1001-20260926    clang-17
um                   randconfig-r1307-20260926    gcc-14     sparse
um                            x86_64_defconfig    clang-24
x86_64                             allnoconfig    clang-22
x86_64      buildonly-randconfig-1000-20260926    gcc-14
x86_64      buildonly-randconfig-1001-20260926    clang-22
x86_64      buildonly-randconfig-1002-20260926    gcc-14
x86_64      buildonly-randconfig-1003-20260926    gcc-14
x86_64      buildonly-randconfig-1004-20260926    gcc-14
x86_64      buildonly-randconfig-1005-20260926    gcc-14
x86_64                               defconfig    gcc-14
x86_64                randconfig-1000-20260926    gcc-14
x86_64                randconfig-1001-20260926    gcc-14
x86_64                randconfig-1002-20260926    clang-22
x86_64                randconfig-1003-20260926    gcc-14
x86_64                randconfig-1004-20260926    gcc-14
x86_64                randconfig-1005-20260926    gcc-14
x86_64                randconfig-1006-20260926    gcc-12
x86_64                randconfig-1007-20260926    clang-22
x86_64                randconfig-1008-20260926    clang-22
x86_64                randconfig-1009-20260926    gcc-14
x86_64                randconfig-1010-20260926    clang-22
x86_64                randconfig-1011-20260926    gcc-14
x86_64                randconfig-1012-20260926    clang-22
x86_64                randconfig-1013-20260926    gcc-14
x86_64                randconfig-1014-20260926    clang-22
x86_64                randconfig-1015-20260926    clang-22
x86_64                randconfig-1016-20260926    clang-22
x86_64                randconfig-1017-20260926    clang-22
x86_64                randconfig-1300-20260926    clang-22   sparse
x86_64                randconfig-1301-20260926    gcc-13     sparse
x86_64                randconfig-1302-20260926    gcc-13     sparse
x86_64               randconfig-r1306-20260926    clang-22   sparse
x86_64                           rhel-9.4-rust    clang-22
xtensa                             allnoconfig    gcc-16.1.0
xtensa                            allyesconfig    gcc-16.1.0
xtensa                randconfig-1000-20260926    gcc-16.1.0
xtensa                randconfig-1001-20260926    gcc-8.5.0
xtensa               randconfig-r1302-20260926    gcc-11.5.0 sparse
xtensa               randconfig-r1304-20260926    gcc-11.5.0 sparse
xtensa               randconfig-r1308-20260926    gcc-15.2.0 sparse

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


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

* Re: [akpm-mm:mm-new] BUILD REGRESSION b4fc90c82982d98959af08b4320420bcfc01303b
  2026-09-27  8:00 [akpm-mm:mm-new] BUILD REGRESSION b4fc90c82982d98959af08b4320420bcfc01303b kernel test robot
@ 2026-09-27 18:04 ` Andrew Morton
  2026-09-27 18:42   ` Suren Baghdasaryan
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2026-09-27 18:04 UTC (permalink / raw)
  To: kernel test robot
  Cc: David Hildenbrand, Linux Memory Management List, mm-commits,
	Suren Baghdasaryan

On Sun, 27 Sep 2026 16:00:49 +0800 kernel test robot <lkp@intel.com> wrote:

> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> branch HEAD: b4fc90c82982d98959af08b4320420bcfc01303b  mm/swap, PM: hibernate: atomically replace hibernation pin
> 
> Error/Warning (recently discovered and may have been fixed):
> 
>     https://lore.kernel.org/oe-kbuild-all/202609160337.WJiD9BqX-lkp@intel.com
>     https://lore.kernel.org/oe-kbuild-all/202609171159.oaB1OaSG-lkp@intel.com
>     https://lore.kernel.org/oe-kbuild-all/202609270030.Y0QVBPmK-lkp@intel.com
> 
>     aarch64-linux-ld: Unexpected GOT/PLT entries detected!
>     aarch64-linux-ld: Unexpected run-time procedure linkages detected!
>     arena.c:(.text+0x11fc): undefined reference to `__check_safe_pte_update'
>     fs/proc/task_mmu.c:3450:17: error: implicit declaration of function 'drop_rcu' [-Werror=implicit-function-declaration]
>     fs/proc/task_mmu.c:3450:3: error: call to undeclared function 'drop_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>     fs/proc/task_mmu.c:3450:3: error: implicit declaration of function 'drop_rcu'; did you mean 'drop_slab'? [-Werror=implicit-function-declaration]
>     fs/proc/task_mmu.c:3452:17: error: implicit declaration of function 'reacquire_rcu' [-Werror=implicit-function-declaration]
>     fs/proc/task_mmu.c:3452:3: error: call to undeclared function 'reacquire_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>     fs/proc/task_mmu.c:3452:3: error: implicit declaration of function 'reacquire_rcu'; did you mean 'get_file_rcu'? [-Werror=implicit-function-declaration]
>     gup.c:(.text+0x2b48): undefined reference to `__check_safe_pte_update'
>     hugetlbpage.c:(.text+0x1a8): undefined reference to `__check_safe_pte_update'
>     memory.c:(.text+0x3418): undefined reference to `__check_safe_pte_update'
>     mmu.c:(.text+0x9a8): undefined reference to `__check_safe_pte_update'

Thanks.  Against "proc/task_mmu: remove unnecessary inlines in function
definitions":


From: Andrew Morton <akpm@linux-foundation.org>
Subject: proc-task_mmu-remove-unnecessary-inlines-in-function-definitions-fix
Date: Sun Sep 27 10:59:53 AM PDT 2026

fix CONFIG_NUMA=y && CONFIG_PROC_PAGE_MONITOR=n build

show_numa_map() uses drop_rcu() and reacquire_rcu(), but those helpers are
currently built only when CONFIG_PROC_PAGE_MONITOR is enabled.  A kernel
with CONFIG_NUMA=y and CONFIG_PROC_PAGE_MONITOR=n therefore fails to build
with implicit declarations for both helpers.

Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/proc/task_mmu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/proc/task_mmu.c~proc-task_mmu-remove-unnecessary-inlines-in-function-definitions-fix
+++ a/fs/proc/task_mmu.c
@@ -196,7 +196,7 @@ static bool fallback_to_mmap_lock(struct
 	return true;
 }
 
-#ifdef CONFIG_PROC_PAGE_MONITOR
+#if defined(CONFIG_PROC_PAGE_MONITOR) || defined(CONFIG_NUMA)
 static void drop_rcu(struct proc_maps_private *priv)
 {
 	if (priv->lock_ctx.mmap_locked)
_



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

* Re: [akpm-mm:mm-new] BUILD REGRESSION b4fc90c82982d98959af08b4320420bcfc01303b
  2026-09-27 18:04 ` Andrew Morton
@ 2026-09-27 18:42   ` Suren Baghdasaryan
  0 siblings, 0 replies; 3+ messages in thread
From: Suren Baghdasaryan @ 2026-09-27 18:42 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kernel test robot, David Hildenbrand,
	Linux Memory Management List, mm-commits

On Sun, Sep 27, 2026 at 11:04 AM Andrew Morton
<akpm@linux-foundation.org> wrote:
>
> On Sun, 27 Sep 2026 16:00:49 +0800 kernel test robot <lkp@intel.com> wrote:
>
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> > branch HEAD: b4fc90c82982d98959af08b4320420bcfc01303b  mm/swap, PM: hibernate: atomically replace hibernation pin
> >
> > Error/Warning (recently discovered and may have been fixed):
> >
> >     https://lore.kernel.org/oe-kbuild-all/202609160337.WJiD9BqX-lkp@intel.com
> >     https://lore.kernel.org/oe-kbuild-all/202609171159.oaB1OaSG-lkp@intel.com
> >     https://lore.kernel.org/oe-kbuild-all/202609270030.Y0QVBPmK-lkp@intel.com
> >
> >     aarch64-linux-ld: Unexpected GOT/PLT entries detected!
> >     aarch64-linux-ld: Unexpected run-time procedure linkages detected!
> >     arena.c:(.text+0x11fc): undefined reference to `__check_safe_pte_update'
> >     fs/proc/task_mmu.c:3450:17: error: implicit declaration of function 'drop_rcu' [-Werror=implicit-function-declaration]
> >     fs/proc/task_mmu.c:3450:3: error: call to undeclared function 'drop_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> >     fs/proc/task_mmu.c:3450:3: error: implicit declaration of function 'drop_rcu'; did you mean 'drop_slab'? [-Werror=implicit-function-declaration]
> >     fs/proc/task_mmu.c:3452:17: error: implicit declaration of function 'reacquire_rcu' [-Werror=implicit-function-declaration]
> >     fs/proc/task_mmu.c:3452:3: error: call to undeclared function 'reacquire_rcu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> >     fs/proc/task_mmu.c:3452:3: error: implicit declaration of function 'reacquire_rcu'; did you mean 'get_file_rcu'? [-Werror=implicit-function-declaration]
> >     gup.c:(.text+0x2b48): undefined reference to `__check_safe_pte_update'
> >     hugetlbpage.c:(.text+0x1a8): undefined reference to `__check_safe_pte_update'
> >     memory.c:(.text+0x3418): undefined reference to `__check_safe_pte_update'
> >     mmu.c:(.text+0x9a8): undefined reference to `__check_safe_pte_update'
>
> Thanks.  Against "proc/task_mmu: remove unnecessary inlines in function
> definitions":

Thanks! LGTM.

>
>
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: proc-task_mmu-remove-unnecessary-inlines-in-function-definitions-fix
> Date: Sun Sep 27 10:59:53 AM PDT 2026
>
> fix CONFIG_NUMA=y && CONFIG_PROC_PAGE_MONITOR=n build
>
> show_numa_map() uses drop_rcu() and reacquire_rcu(), but those helpers are
> currently built only when CONFIG_PROC_PAGE_MONITOR is enabled.  A kernel
> with CONFIG_NUMA=y and CONFIG_PROC_PAGE_MONITOR=n therefore fails to build
> with implicit declarations for both helpers.
>
> Cc: Suren Baghdasaryan <surenb@google.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
>  fs/proc/task_mmu.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/fs/proc/task_mmu.c~proc-task_mmu-remove-unnecessary-inlines-in-function-definitions-fix
> +++ a/fs/proc/task_mmu.c
> @@ -196,7 +196,7 @@ static bool fallback_to_mmap_lock(struct
>         return true;
>  }
>
> -#ifdef CONFIG_PROC_PAGE_MONITOR
> +#if defined(CONFIG_PROC_PAGE_MONITOR) || defined(CONFIG_NUMA)
>  static void drop_rcu(struct proc_maps_private *priv)
>  {
>         if (priv->lock_ctx.mmap_locked)
> _
>


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

end of thread, other threads:[~2026-09-27 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27  8:00 [akpm-mm:mm-new] BUILD REGRESSION b4fc90c82982d98959af08b4320420bcfc01303b kernel test robot
2026-09-27 18:04 ` Andrew Morton
2026-09-27 18:42   ` Suren Baghdasaryan

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