Tree/Branch: next-20180723 Git describe: next-20180723 Commit: 6d93abaf4c Add linux-next specific files for 20180723
Build Time: 99 min 8 sec
Passed: 9 / 11 ( 81.82 %) Failed: 2 / 11 ( 18.18 %)
Errors: 3 Warnings: 11 Section Mismatches: 0
Failed defconfigs: arm64-allmodconfig arm-allnoconfig
Errors:
arm64-allmodconfig ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
arm-allnoconfig ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:127:26: error: 'addr' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function)
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 6 warnings 0 mismatches : arm64-allnoconfig 8 warnings 0 mismatches : arm64-allmodconfig 16 warnings 0 mismatches : arm-multi_v5_defconfig 15 warnings 0 mismatches : arm-multi_v7_defconfig 1 warnings 0 mismatches : x86_64-defconfig 16 warnings 0 mismatches : arm-allmodconfig 7 warnings 0 mismatches : arm-allnoconfig 7 warnings 0 mismatches : arm-multi_v4t_defconfig 2 warnings 0 mismatches : x86_64-allmodconfig 13 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 3 3 ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) 1 ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! 1 ../mm/vmacache.c:127:26: error: 'addr' undeclared (first use in this function)
Warnings Summary: 11 12 <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] 12 <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] 12 <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] 12 <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] 12 <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] 12 <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] 8 <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] 7 ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable] 2 ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:49:5: warning: 'nvm_param.dir_type' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../fs/btrfs/tree-checker.c:404:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] 1 ../drivers/i2c/busses/i2c-aspeed.c:567:1: warning: label 'out' defined but not used [-Wunused-label]
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allnoconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings: <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- arm64-allmodconfig : FAIL, 1 errors, 8 warnings, 0 section mismatches
Errors: ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
Warnings: <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:49:5: warning: 'nvm_param.dir_type' may be used uninitialized in this function [-Wmaybe-uninitialized] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable]
------------------------------------------------------------------------------- arm-multi_v5_defconfig : PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings: <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] ../drivers/i2c/busses/i2c-aspeed.c:567:1: warning: label 'out' defined but not used [-Wunused-label] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable] <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- arm-multi_v7_defconfig : PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings: <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable] <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- x86_64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings: ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable]
------------------------------------------------------------------------------- arm-allmodconfig : PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings: <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] ../fs/btrfs/tree-checker.c:404:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable] <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- arm-allnoconfig : FAIL, 4 errors, 7 warnings, 0 section mismatches
Errors: ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:127:26: error: 'addr' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function)
Warnings: <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- arm-multi_v4t_defconfig : PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings: <stdin>:1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp]
------------------------------------------------------------------------------- x86_64-allmodconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings: ../drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c:49:5: warning: 'nvm_param.dir_type' may be used uninitialized in this function [-Wmaybe-uninitialized] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable]
------------------------------------------------------------------------------- arm64-defconfig : PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings: <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] ../drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable] <stdin>:1338:2: warning: #warning syscall open_tree not implemented [-Wcpp] <stdin>:1341:2: warning: #warning syscall move_mount not implemented [-Wcpp] <stdin>:1344:2: warning: #warning syscall fsopen not implemented [-Wcpp] <stdin>:1347:2: warning: #warning syscall fsmount not implemented [-Wcpp] <stdin>:1350:2: warning: #warning syscall fspick not implemented [-Wcpp] <stdin>:1353:2: warning: #warning syscall fsinfo not implemented [-Wcpp] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
On Mon, Jul 23, 2018 at 05:59:12PM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig with:
arm64-allmodconfig ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
using
aarch64-linux-gnu-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412
however it builds perfectly fine with
aarch64-linux-gnu-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
which honestly seems like a sensible and worthwhile upgrade at this point anyway given that it's a year and a half old so I'm going to do that for my builder (perhaps even jump on a newer version) but it seemed worth highlighting in case this is considered undesirable. A similar issue is hitting on KernelCI, we should probably look at upgrading the toolchain there too.
On Mon, Jul 23, 2018 at 07:11:50PM +0100, Mark Brown wrote:
On Mon, Jul 23, 2018 at 05:59:12PM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig with:
arm64-allmodconfig ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
using
aarch64-linux-gnu-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412
however it builds perfectly fine with
aarch64-linux-gnu-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
which honestly seems like a sensible and worthwhile upgrade at this point anyway given that it's a year and a half old so I'm going to do that for my builder (perhaps even jump on a newer version) but it seemed worth highlighting in case this is considered undesirable. A similar issue is hitting on KernelCI, we should probably look at upgrading the toolchain there too.
Hmm, it looks to me like this comes about because xen/privcmd.c is being built as a module, but contains a call to set_pte_at() with a special pte:
pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), r->prot));
set_pte_at(r->mm, addr, ptep, pte);
which on arm64 contains:
if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) __sync_icache_dcache(pte);
so GCC 6 can optimise away the call to the non-exported symbol, but GCC 5 has trouble.
What I don't understand is why this suddenly cropped up. Did GCC 5 build linux-next arm64 allmodconfig last week?
Cheers,
Will
On 24 July 2018 at 10:16, Will Deacon will.deacon@arm.com wrote:
On Mon, Jul 23, 2018 at 07:11:50PM +0100, Mark Brown wrote:
On Mon, Jul 23, 2018 at 05:59:12PM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig with:
arm64-allmodconfig
ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
using
aarch64-linux-gnu-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412
however it builds perfectly fine with
aarch64-linux-gnu-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
which honestly seems like a sensible and worthwhile upgrade at this point anyway given that it's a year and a half old so I'm going to do that for my builder (perhaps even jump on a newer version) but it seemed worth highlighting in case this is considered undesirable. A similar issue is hitting on KernelCI, we should probably look at upgrading the toolchain there too.
Hmm, it looks to me like this comes about because xen/privcmd.c is being built as a module, but contains a call to set_pte_at() with a special pte:
pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), r->prot)); set_pte_at(r->mm, addr, ptep, pte);
which on arm64 contains:
if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) __sync_icache_dcache(pte);
so GCC 6 can optimise away the call to the non-exported symbol, but GCC 5 has trouble.
What I don't understand is why this suddenly cropped up. Did GCC 5 build linux-next arm64 allmodconfig last week?
KernelCI uses GCC5 for ARM64 and xen-privcmd.ko has been broken in linux-next (and mainline) allmodconfig for a long time
Cheers,
Will
On 24 July 2018 at 10:32, Matt Hart matthew.hart@linaro.org wrote:
On 24 July 2018 at 10:16, Will Deacon will.deacon@arm.com wrote:
On Mon, Jul 23, 2018 at 07:11:50PM +0100, Mark Brown wrote:
On Mon, Jul 23, 2018 at 05:59:12PM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an arm64 allmodconfig with:
arm64-allmodconfig
ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined!
using
aarch64-linux-gnu-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412
however it builds perfectly fine with
aarch64-linux-gnu-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016
which honestly seems like a sensible and worthwhile upgrade at this point anyway given that it's a year and a half old so I'm going to do that for my builder (perhaps even jump on a newer version) but it seemed worth highlighting in case this is considered undesirable. A similar issue is hitting on KernelCI, we should probably look at upgrading the toolchain there too.
Hmm, it looks to me like this comes about because xen/privcmd.c is being built as a module, but contains a call to set_pte_at() with a special pte:
pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), r->prot)); set_pte_at(r->mm, addr, ptep, pte);
which on arm64 contains:
if (pte_present(pte) && pte_user_exec(pte) && !pte_special(pte)) __sync_icache_dcache(pte);
so GCC 6 can optimise away the call to the non-exported symbol, but GCC 5 has trouble.
What I don't understand is why this suddenly cropped up. Did GCC 5 build linux-next arm64 allmodconfig last week?
KernelCI uses GCC5 for ARM64 and xen-privcmd.ko has been broken in linux-next (and mainline) allmodconfig for a long time
Bloody gmail and it's HTML mean't this didn't get delivered to linux-arm-kernel list. Resent.
Cheers,
Will
On Mon, Jul 23, 2018 at 05:59:12PM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build an arm allnoconfig (and a bunch of other arm configs from the look of some of the other builder reports) with:
arm-allnoconfig ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function) ../mm/vmacache.c:127:26: error: 'addr' undeclared (first use in this function) ../mm/vmacache.c:14:39: error: 'PMD_SHIFT' undeclared (first use in this function)
due to 5d2f33872046e (mm, vmacache: hash addresses based on pmd) which uses PMD_SHIFT rather than PAGE_SHIFT for VMACACHE_HASH() but that's not defined in at least !MMU arm configs. There is a reference to it in arm/pgtable-nommu.h but only in comments with FIXMEs next to them.
linaro-kernel@lists.linaro.org