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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAhV-H7Qr1wVOqmha_beug+ub6kkg+q+PeHGE_vpeoYPOKYKyg@mail.gmail.com>
Date:   Tue, 29 Aug 2023 12:10:39 +0800
From:   Huacai Chen <chenhuacai@...nel.org>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "open list:LOONGARCH" <loongarch@...ts.linux.dev>
Subject: Re: linux-next: Tree for Aug 28 (loongarch: kgdb)

Hi, Randy,

On Tue, Aug 29, 2023 at 8:38 AM Randy Dunlap <rdunlap@...radead.org> wrote:
>
>
>
> On 8/27/23 22:02, Stephen Rothwell wrote:
> > Hi all,
> >
> > Please do *not* include material destined for v6.7 in your linux-next
> > included branches until *after* v6.6-rc1 has been released.  Also,
> > do *not* rebase you linu-next included branches onto v6.5.
> >
> > Changes since 20230825:
> >
>
> There are many build errors when CONFIG_PERF_EVENTS => HAVE_HW_BREAKPOINT
> are not set.
> This is a reduced list of the build errors:
>
> ../arch/loongarch/kernel/kgdb.c: In function 'hw_break_reserve_slot':
> ../arch/loongarch/kernel/kgdb.c:515:21: error: implicit declaration of function 'dbg_reserve_bp_slot'; did you mean 'reserve_bp_slot'? [-Werror=implicit-function-declaration]
>   515 |                 if (dbg_reserve_bp_slot(*pevent))
>       |                     ^~~~~~~~~~~~~~~~~~~
>       |                     reserve_bp_slot
> ../arch/loongarch/kernel/kgdb.c:527:17: error: implicit declaration of function 'dbg_release_bp_slot'; did you mean 'release_bp_slot'? [-Werror=implicit-function-declaration]
>   527 |                 dbg_release_bp_slot(*pevent);
>       |                 ^~~~~~~~~~~~~~~~~~~
>       |                 release_bp_slot
> ../arch/loongarch/kernel/kgdb.c: In function 'kgdb_disable_hw_break':
> ../arch/loongarch/kernel/kgdb.c:640:23: error: 'struct perf_event' has no member named 'attr'
>   640 |                 if (bp->attr.disabled == 1)
>       |                       ^~
> ../arch/loongarch/kernel/kgdb.c: In function 'kgdb_arch_late':
> ../arch/loongarch/kernel/kgdb.c:732:9: error: implicit declaration of function 'hw_breakpoint_init'; did you mean 'hw_breakpoint_slots'? [-Werror=implicit-function-declaration]
>   732 |         hw_breakpoint_init(&attr);
>       |         ^~~~~~~~~~~~~~~~~~
>       |         hw_breakpoint_slots
> ../arch/loongarch/kernel/kgdb.c:752:38: error: 'struct perf_event' has no member named 'destroy'
>   752 |                         if (pevent[0]->destroy) {
>       |                                      ^~
> cc1: some warnings being treated as errors
Thank you very much for pointing out, I will fix it later.

Huacai
>
>
> --
> ~Randy
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ