Buildresult: linus-rand/arm64-randconfig/arm64-gcc11 built on Sep 20 2021, 06:50
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 20 2021, 06:50
Duration:
0:00:40.873599
Builder:
ka3
Revision:
dmascc: use proper 'virt_to_bus()' rather than casting to 'int' (
bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35)
Target:
linus-rand/arm64-randconfig/arm64-gcc11
Branch:
linus-rand
Compiler:
arm64-gcc11
(aarch64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
randconfig
(
download
)
Log:
Download original
Possible errors
include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration make[2]: *** [scripts/Makefile.build:121: arch/arm64/kernel/asm-offsets.s] Error 1 make[1]: *** [Makefile:1219: prepare0] Error 2 make: *** [Makefile:219: __sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35^{commit} bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # git checkout -q -f -B kisskb bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # git clean -qxdf # < git log -1 # commit bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sun Sep 19 10:49:42 2021 -0700 # # dmascc: use proper 'virt_to_bus()' rather than casting to 'int' # # The old dmascc driver depends on the legacy ISA_DMA_API, and blindly # just casts the kernel virtual address to 'int' for set_dma_addr(). # # That works only incidentally, and because the high bits of the address # will be ignored anyway. And on 64-bit architectures it causes warnings. # # Admittedly, 64-bit architectures with ISA are basically dead - I think # the only example of this is alpha, and nobody would ever use the dmascc # driver there. But hey, the fix is easy enough, the end result is # cleaner, and it's yet another configuration that now builds without # warnings. # # If somebody actually uses this driver on an alpha and this fixes it for # you, please email me. Because that is just incredibly bizarre. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 bc1abb9e55cedaeac4602426f8fc83fb3a5b1c35 # < make -s -j 80 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 80 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 80 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 80 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- In file included from /kisskb/src/arch/arm64/include/asm/io.h:185, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/io.h:1059:21: error: static declaration of 'pci_iounmap' follows non-static declaration 1059 | #define pci_iounmap pci_iounmap | ^~~~~~~~~~~ /kisskb/src/include/asm-generic/io.h:1060:20: note: in expansion of macro 'pci_iounmap' 1060 | static inline void pci_iounmap(struct pci_dev *dev, void __iomem *p) | ^~~~~~~~~~~ In file included from /kisskb/src/include/asm-generic/io.h:19, from /kisskb/src/arch/arm64/include/asm/io.h:185, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/acpi/acpi_io.h:5, from /kisskb/src/include/linux/acpi.h:35, from /kisskb/src/include/acpi/apei.h:9, from /kisskb/src/include/acpi/ghes.h:5, from /kisskb/src/include/linux/arm_sdei.h:8, from /kisskb/src/arch/arm64/kernel/asm-offsets.c:10: /kisskb/src/include/asm-generic/pci_iomap.h:21:13: note: previous declaration of 'pci_iounmap' with type 'void(struct pci_dev *, void *)' 21 | extern void pci_iounmap(struct pci_dev *dev, void __iomem *); | ^~~~~~~~~~~ make[2]: *** [/kisskb/src/scripts/Makefile.build:121: arch/arm64/kernel/asm-offsets.s] Error 1 make[1]: *** [/kisskb/src/Makefile:1219: prepare0] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 80 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:00:40.873599
© Michael Ellerman 2006-2018.