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>] [day] [month] [year] [list]
Message-Id: <351B43A8-D5F5-44B8-9F7C-ABFFA71493BF@linux.ibm.com>
Date:   Mon, 2 Jan 2023 12:06:19 +0530
From:   Sachin Sant <sachinp@...ux.ibm.com>
To:     linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
        open list <linux-kernel@...r.kernel.org>
Cc:     masahiroy@...nel.org, ardb@...nel.org
Subject: [powerpc]Build (ld) failure 6.2-rc2

6.2-rc2 fails to build on powerpc with following error:

  UPD     include/generated/utsversion.h
  CC      init/version-timestamp.o
  LD      .tmp_vmlinux.btf
ld: warning: discarding dynamic section .rela.data.rel.ro
ld: warning: discarding dynamic section .rela.text
ld: warning: discarding dynamic section .rela__soft_mask_table
ld: warning: discarding dynamic section .rela_kprobe_blacklist
…….
…….
ld: warning: discarding dynamic section .rela___ksymtab_gpl+xas_split
ld: warning: discarding dynamic section .rela___ksymtab_gpl+xas_split_alloc
ld: warning: discarding dynamic section .rela___ksymtab_gpl+xas_store
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_hash.o: defined in discarded section `.exit.text' of crypto/algif_hash.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_skcipher.o: defined in discarded section `.exit.text' of crypto/algif_skcipher.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_rng.o: defined in discarded section `.exit.text' of crypto/algif_rng.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_aead.o: defined in discarded section `.exit.text' of crypto/algif_aead.o
`.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
`.exit.text' referenced in section `__ex_table' of drivers/i2c/i2c-core-base.o: defined in discarded section `.exit.text' of drivers/i2c/i2c-core-base.o
`.exit.text' referenced in section `__ex_table' of drivers/i2c/i2c-core-base.o: defined in discarded section `.exit.text' of drivers/i2c/i2c-core-base.o
`.exit.text' referenced in section `__bug_table' of drivers/i2c/i2c-core-base.o: defined in discarded section `.exit.text' of drivers/i2c/i2c-core-base.o
make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make: *** [Makefile:1252: vmlinux] Error 2


Git bisect points to following fix:

commit 99cb0d917ffa1ab628bb67364ca9b162c07699b1
    arch: fix broken BuildID for arm64 and riscv

Reverting this patch allows me to build the kernel successfully.

Gcc and ld version:
gcc version 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC) 
GNU ld version 2.35.2-33.el9

I have attached the .config.

- Sachin


Download attachment "config_rc2" of type "application/octet-stream" (166160 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ