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-prev] [day] [month] [year] [list]
Date: Wed, 27 Mar 2024 22:46:20 -0700
From: Vineet Gupta <vgupta@...nel.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>,
 open list <linux-kernel@...r.kernel.org>, lkft-triage@...ts.linaro.org,
 Linux Regressions <regressions@...ts.linux.dev>,
 linux-mm <linux-mm@...ck.org>, linux-snps-arc@...ts.infradead.org
Cc: Anders Roxell <anders.roxell@...aro.org>, Arnd Bergmann <arnd@...db.de>,
 Andrew Morton <akpm@...ux-foundation.org>, vgupta@...nel.org
Subject: Re: next: arc: defconfig - gcc-9 - mmu-arcv2.h:82:2: error: implicit
 declaration of function 'write_aux_reg'
 [-Werror=implicit-function-declaration]



On 3/25/24 23:39, Naresh Kamboju wrote:
> The following arc defconfig build warnings / errors noticed on today's
> Linux next-20240326 tag.
>
> Regressions:
>     * arc - defconfig - gcc-9 build failed.
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> Build log:
> ---------
> arch/arc/kernel/ptrace.c:342:16: warning: no previous prototype for
> 'syscall_trace_enter' [-Wmissing-prototypes]
>   342 | asmlinkage int syscall_trace_enter(struct pt_regs *regs)
>       |                ^~~~~~~~~~~~~~~~~~~
> arch/arc/kernel/kprobes.c:193:15: warning: no previous prototype for
> 'arc_kprobe_handler' [-Wmissing-prototypes]
>   193 | int __kprobes arc_kprobe_handler(unsigned long addr, struct
> pt_regs *regs)
>       |               ^~~~~~~~~~~~~~~~~~
> In file included from arch/arc/include/asm/mmu.h:21,
>                  from arch/arc/include/asm/pgtable.h:14,
>                  from include/linux/pgtable.h:6,
>                  from include/asm-generic/io.h:1047,
>                  from arch/arc/include/asm/io.h:232,
>                  from include/linux/io.h:13,
>                  from kernel/dma/coherent.c:6:
> arch/arc/include/asm/mmu-arcv2.h: In function 'mmu_setup_asid':
> arch/arc/include/asm/mmu-arcv2.h:82:2: error: implicit declaration of
> function 'write_aux_reg' [-Werror=implicit-function-declaration]
>    82 |  write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE);
>       |  ^~~~~~~~~~~~~
> cc1: some warnings being treated as errors

Thx for the report. Fix posted for first 2 warnings [1]

I can't reproduce the last warning about write_aux_reg() despite using
the config from 3rd link below.

-Vineet

[1]
http://lists.infradead.org/pipermail/linux-snps-arc/2024-March/007916.html


>
> Steps to reproduce:
> -------
> # tuxmake --runtime podman --target-arch arc --toolchain gcc-9
> --kconfig defconfig
>
>
> Links:
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240325/testrun/23149630/suite/build/test/gcc-9-defconfig/log
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240325/testrun/23149630/suite/build/test/gcc-9-defconfig/history/
>  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2eA2VSZdDsL0DMBBhjoauN9IVoK/
>
> --
> Linaro LKFT
> https://lkft.linaro.org


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ