next build: 198 builds: 4 failed, 194 passed, 7 errors, 82 warnings (next-20161214)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · kernelci.org bot
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
allnoconfig: FAIL
generic_defconfig: FAIL
ip27_defconfig: FAIL
tinyconfig: FAIL
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
Quoted 9 lines · Mark Brown
Quoted 6 lines · kernelci.org bot
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
allnoconfig: FAIL
generic_defconfig: FAIL
ip27_defconfig: FAIL
tinyconfig: FAIL
Quoted 4 lines
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I wonder if these are also toolchain-related issues. allnoconfig and tinyconfig do build fine for me with GCC 6.1.0 and binutils 2.26.20160125.
generic_defconfig requires mkimage of uboot-tools or it will fail like this:
ITB arch/mips/boot/vmlinux.gz.itb
"mkimage" command not found - U-Boot images will not be built arch/mips/boot/Makefile:159: recipe for target 'arch/mips/boot/vmlinux.gz.itb' failed make[1]: *** [arch/mips/boot/vmlinux.gz.itb] Error 1 arch/mips/Makefile:365: recipe for target 'vmlinux.gz.itb' failed
make: *** [vmlinux.gz.itb] Error 2
ip27_defconfig indeed has a build issue but it's new for 4.9 (commit 3ffc17d8768be705e292ac4c2e3ab1f18dc06047 ("MIPS: Adjust MIPS64 CAC_BASE to reflect Config.K0")). And with that patch reverted GCC 6.1.0 blows up with an internal compilter error:
CC [M] drivers/net/ethernet/qlogic/qlge/qlge_main.odrivers/net/ethernet/qlogic/qlge/qlge_main.c: In function ‘qlge_probe’:drivers/net/ethernet/qlogic/qlge/qlge_main.c:4812:1: error: insn does not satisfy its constraints:
}
^
(insn 1373 1371 1361 79 (parallel [
(set (reg/f:DI 3 $3 [490])
(symbol_ref:DI ("delayed_work_timer_fn") [flags 0x241] <function_decl 0x7fdb8658ed20 delayed_work_timer_fn>))
(clobber (scratch:DI))
]) drivers/net/ethernet/qlogic/qlge/qlge_main.c:4690 287 {*lea64}
(nil))drivers/net/ethernet/qlogic/qlge/qlge_main.c:4812:1: internal compiler error: in extract_constrain_insn, at recog.c:2190 Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
GCC 6.2.0 dies the same way.
What binutils are you using and can you send me the build errors messages?
Thanks,
Ralf
Quoted 13 lines · Ralf Baechle
Quoted 8 lines · Mark Brown
Quoted 1 line · kernelci.org bot
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I wonder if these are also toolchain-related issues. allnoconfig and tinyconfig do build fine for me with GCC 6.1.0 and binutils 2.26.20160125.
Quoted 8 lines
generic_defconfigrequires mkimage of uboot-tools or it will fail like this:ITB
arch/mips/boot/vmlinux.gz.itb
"mkimage" command not found - U-Boot images will not be builtarch/mips/boot/Makefile:159: recipe for target 'arch/mips/boot/vmlinux.gz.itb' failed make[1]: *** [arch/mips/boot/vmlinux.gz.itb] Error 1arch/mips/Makefile:365: recipe for target 'vmlinux.gz.itb' failed
make: *** [vmlinux.gz.itb] Error 2
Ah, you don't have a separate uImage target?
Quoted 1 line
What binutils are you using and can you send me the build errors messages?
You can see logs for all the trees we build via the web interface:
I don't have access to the builders to check the binutils version without going and finding/downloading the CodeSourcery release. Where did your toolchain come from, is there something specific recommended for MIPS?
Quoted 36 lines · CET Mark Brown
Quoted 13 lines · Ralf Baechle
Quoted 8 lines · Mark Brown
Quoted 1 line · kernelci.org bot
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I wonder if these are also toolchain-related issues. allnoconfig and tinyconfig do build fine for me with GCC 6.1.0 and binutils 2.26.20160125.
Quoted 8 lines
generic_defconfigrequires mkimage of uboot-tools or it will fail like this:ITB
arch/mips/boot/vmlinux.gz.itb
"mkimage" command not found - U-Boot images will not be builtarch/mips/boot/Makefile:159: recipe for target 'arch/mips/boot/vmlinux.gz.itb' failed make[1]: *** [arch/mips/boot/vmlinux.gz.itb] Error 1arch/mips/Makefile:365: recipe for target 'vmlinux.gz.itb' failed
make: *** [vmlinux.gz.itb] Error 2Ah, you don't have a separate uImage target?
Quoted 1 line
What binutils are you using and can you send me the build errors messages?
You can see logs for all the trees we build via the web interface:
I don't have access to the builders to check the binutils version without going and finding/downloading the CodeSourcery release. Where did your toolchain come from, is there something specific recommended for MIPS?
Quoted 36 lines · Mark Brown
Date: Wed, 14 Dec 2016 17:45:39 +0000
From: Mark Brown <[email protected]>
To: Ralf Baechle <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: next build: 198 builds: 4 failed, 194 passed, 7 errors, 82
warnings (next-20161214)
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature"; boundary="pme7352aoyqgs7t5"Quoted 13 lines · Ralf Baechle
Quoted 8 lines · Mark Brown
Quoted 1 line · kernelci.org bot
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I wonder if these are also toolchain-related issues. allnoconfig and tinyconfig do build fine for me with GCC 6.1.0 and binutils 2.26.20160125.
Quoted 8 lines
generic_defconfigrequires mkimage of uboot-tools or it will fail like this:ITB
arch/mips/boot/vmlinux.gz.itb
"mkimage" command not found - U-Boot images will not be builtarch/mips/boot/Makefile:159: recipe for target 'arch/mips/boot/vmlinux.gz.itb' failed make[1]: *** [arch/mips/boot/vmlinux.gz.itb] Error 1arch/mips/Makefile:365: recipe for target 'vmlinux.gz.itb' failed
make: *** [vmlinux.gz.itb] Error 2Ah, you don't have a separate uImage target?
Quoted 1 line
What binutils are you using and can you send me the build errors messages?
Quoted 8 lines
You can see logs for all the trees we build via the web interface:
I don't have access to the builders to check the binutils version without going and finding/downloading the CodeSourcery release. Where did your toolchain come from, is there something specific recommended for MIPS?
I specifically avoid non-standard toolchains, that is I stick to the vanilla FSF releases with no feature patches.
Some configurations, in particular new cores or architecture variants may require vendor tool- chains or patches until support makes it upstream. I wonder if for the benefit of automated build testing we should tag kernel configurations with a special CONFIG_ symbol to indicate they need non-standard tools? That would allow build testing to detect and possibly skip such configuration.
Ralf
Quoted 7 lines · CET Ralf Baechle
Some configurations, in particular new cores or architecture variants may require vendor tool- chains or patches until support makes it upstream. I wonder if for the benefit of automated build testing we should tag kernel configurations with a special
CONFIG_symbol to indicate they need non-standard tools? That would allow build testing to detect and possibly skip such configuration.
I think that this ties in with a discussion we recently had about moving toolchain feature detection from Makefiles into Kconfig, which can then probably handle this better. We just need to find someone who can hack this up into Kconfig.
Arnd
Quoted 8 lines · Ralf Baechle
Quoted 3 lines · Mark Brown
without going and finding/downloading the CodeSourcery release. Where did your toolchain come from, is there something specific recommended for MIPS?
I specifically avoid non-standard toolchains, that is I stick to the vanilla FSF releases with no feature patches.
We're really looking for prebuilt binaries here, if nothing else it makes it a lot easier to debug problems if people are using exactly the same binary as it eliminates the possibility of differences in the builds (due to some dependency changing for example).
Quoted 11 lines · Mark Brown
Quoted 6 lines
mips: gcc version 5.3.0 (Sourcery CodeBench Lite 2016.05-8)
allnoconfig: FAIL
generic_defconfig: FAIL
ip27_defconfig: FAIL
tinyconfig: FAILThese MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I had to "bisect" binutils versions to hit the allnoconfig and tinyconfig build issues. Turns out it's a problem specific to binutils 2.25 which when generating 32 bit ELF does not permit the use of 64 bit constants, not even when explicitly to the 64 bit instruction set, for example:
.set mips3 dli $1, 0x9000000080000000
The only fix I was able to find that will work with all binutils, is open coding the dli macro instruction as
li $1, 0x9000 dsll $1, $1, 48
Which is pretty much what the assembler should have generated from the dli anyway.
Ralf
Quoted 15 lines · Ralf Baechle
Quoted 4 lines · Mark Brown
These MIPS builds have been failing in kernelci ever since MIPS was added. This means that we've got a constant level of noise in the results which makes them less useful for everyone - people get used to ignoring errors. Is there any plan to get these fixed?
I had to "bisect" binutils versions to hit the allnoconfig and tinyconfig build issues. Turns out it's a problem specific to binutils 2.25 which when generating 32 bit ELF does not permit the use of 64 bit constants, not even when explicitly to the 64 bit instruction set, for example:
.set mips3 dli $1, 0x9000000080000000
Quoted 8 lines
The only fix I was able to find that will work with all binutils, is open coding the dli macro instruction as
li $1, 0x9000 dsll $1, $1, 48Which is pretty much what the assembler should have generated from the dli anyway.
Thanks - someone should probably tell the purpl people, it's their toolchain we're currently using. We did have a bit of a look yesterday for other prebuilt ones but didn't come up with anything so I guess a lot of people are going to be using that one.