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: <CAK7LNARzFmJjpyUciy1LRvaFo72aZcqRbzY-63ArpeszC+HfmQ@mail.gmail.com>
Date:   Thu, 8 Sep 2022 13:14:50 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the kbuild tree

On Thu, Sep 8, 2022 at 9:06 AM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi all,
>
> After merging the kbuild tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> ld: vmlinux.a: member arch/powerpc/kernel/prom_init_check in archive is not an object
> make[2]: *** [scripts/Makefile.vmlinux_o:61: vmlinux.o] Error 1
> make[1]: *** [Makefile:1166: vmlinux.o] Error 2
> make: *** [Makefile:222: __sub-make] Error 2
> Command exited with non-zero status 2
>
> I don't know what caused this.
>
> I have used the kbuild tree from next-20220907 with the top 4 commits
> reverted again.
>
> --
> Cheers,
> Stephen Rothwell



Sorry, it was a mis-conversion.
I will fix it up as follows:






diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index f264d9b2cb63..ad3decb9f20b 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -203,7 +203,7 @@ obj-$(CONFIG_ALTIVEC)               += vector.o
 obj-$(CONFIG_PPC64)            += entry_64.o
 obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE)   += prom_init.o

-obj-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE)   += prom_init_check
+extra-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += prom_init_check

 quiet_cmd_prom_init_check = PROMCHK $@
       cmd_prom_init_check = $(CONFIG_SHELL) $< "$(NM)"
$(obj)/prom_init.o; touch $@





-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ