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]
Message-ID: <CAK7LNAS5gTDWam2F_u2+Qc0qTh7twGvMhOvWpbwbMo_Z-3zjzw@mail.gmail.com>
Date:   Sun, 19 Feb 2023 23:43:32 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     kernel test robot <lkp@...el.com>, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org,
        Nathan Chancellor <natechancellor@...il.com>
Subject: Re: cc1: error: arch/sh/include/mach-hp6xx: No such file or directory

On Sun, Feb 19, 2023 at 3:44 PM Randy Dunlap <rdunlap@...radead.org> wrote:
>
> Hi Yamada,
>
> On 2/18/23 14:35, kernel test robot wrote:
> > Hi Masahiro,
> >
> > FYI, the error/warning still remains.
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   5e725d112e1a54c2611d5dffd124a79415d0f0de
> > commit: 4c8dd95a723d9cccf8810be54aa62be82885c9d8 kbuild: add some extra warning flags unconditionally
> > date:   3 years, 9 months ago
> > config: sh-randconfig-r021-20230219 (https://download.01.org/0day-ci/archive/20230219/202302190641.30VVXnPb-lkp@intel.com/config)
> > compiler: sh4-linux-gcc (GCC) 12.1.0
> > reproduce (this is a W=1 build):
> >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4c8dd95a723d9cccf8810be54aa62be82885c9d8
> >         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >         git fetch --no-tags linus master
> >         git checkout 4c8dd95a723d9cccf8810be54aa62be82885c9d8
> >         # save the config file
> >         mkdir build_dir && cp config build_dir/.config
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash
> >
> > If you fix the issue, kindly add following tag where applicable
> > | Reported-by: kernel test robot <lkp@...el.com>
> > | Link: https://lore.kernel.org/oe-kbuild-all/202302190641.30VVXnPb-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
>
> I don't know what has caused this, but if I do this patch, there are no -Werror=missing-include-dirs
> problems with this build:
>
>
> diff -- a/arch/sh/Makefile b/arch/sh/Makefile
> --- a/arch/sh/Makefile
> +++ b/arch/sh/Makefile
> @@ -116,7 +116,7 @@ export ld-bfd
>
>  # Mach groups
>  machdir-$(CONFIG_SOLUTION_ENGINE)              += mach-se
> -machdir-$(CONFIG_SH_HP6XX)                     += mach-hp6xx
> +machdir-$(CONFIG_SH_HP6XX)                     += ../boards/mach-hp6xx
>  machdir-$(CONFIG_SH_DREAMCAST)                 += mach-dreamcast
>  machdir-$(CONFIG_SH_SH03)                      += mach-sh03
>  machdir-$(CONFIG_SH_RTS7751R2D)                        += mach-r2d
>
> Ideas?


Interesting way to suppress the warning.  :-D



I hope this will work:

https://lore.kernel.org/linux-kbuild/20230219141555.2308306-1-masahiroy@kernel.org/T/#m4f5e0d4589f48d4415da643f957b670b24b2e82c









-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ