Your build results for 2017-04-29
Hi Thomas,
Quoted 8 lines · Thomas Petazzoni
Hello,
This is the list of Buildroot build failures that occured on 2017-04-29, and for which you are a registered architecture developer or package developer. Please help us improving the quality of Buildroot by investigating those build failures and sending patches to fix them. Thanks!
Quoted 4 lines
Build failures related to your packages:
arm | toolchain-external-custom | http://autobuild.buildroot.net/results/39888c188c0d13219a8419897a833275fcc81597
It seems that this is an invalid configuration:
BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_STATIC_LIBS=y
BR2_TOOLCHAIN_EXTERNAL=y
With STATIC_LIBS set, there is no downloadable external toolchain. As such, Buildroot falls back to a preinstalled one and sets the toolchain location to /path/to/toolchain, which does not exist.
However, I don't find this toolchain config in the list at:
http://autobuild.buildroot.net/toolchains/configs/
The build was submitted by Richard Braun, could it be that he is using toolchain configs that are not in this list?
Thanks,
Thomas
Hello,
Adding Arnout in Cc here because I believe it is a bug he introduced :-)
Quoted 9 lines · Thomas De Schampheleire
It seems that this is an invalid configuration:
BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_STATIC_LIBS=y
BR2_TOOLCHAIN_EXTERNAL=y
Quoted 6 lines
With
STATIC_LIBSset, there is no downloadable external toolchain. As such, Buildroot falls back to a preinstalled one and sets the toolchain location to /path/to/toolchain, which does not exist.However, I don't find this toolchain config in the list at:
http://autobuild.buildroot.net/toolchains/configs/
BR2_STATIC_LIBS is randomly added, to all possible configurations:
https://git.buildroot.org/buildroot-test/tree/scripts/autobuild-run#n553
So even if you don't see this configuration in the list of toolchains, it is normal to see BR2_STATIC_LIBS=y.
However, BR2_STATIC_LIBS should not be added for glibc toolchains. Arnout recently reworked the way we detect if it's a glibc toolchain or not... and it seems like it doesn't work as expected. Or perhaps Richard hasn't updated his autobuild-run script and we have another issue ?
Richard have you updated your autobuild-run script recently?
Thomas DS, see:
https://git.buildroot.org/buildroot-test/commit/scripts/autobuild-run?id=7c49373a4f494fea64e98c44ca504680e89a0e86
https://git.buildroot.org/buildroot-test/commit/scripts/autobuild-run?id=3972df164e23828a0e9eb8aa85f4e82b760a859e
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Hello,
Quoted 5 lines · Richard Braun
Quoted 1 line
Richard have you updated your autobuild-run script recently?
My builder should be running with version
6986aa15ed966e16312ebaef1a47f498ca76a197.It is automatically updated and restarted once a week.
Then you are running with the latest changes from Arnout, and most of the other autobuilder slaves are not, which is why we only see this issue coming from your autobuilder.
So, this confirms my hypothesis that the bug is in the changes from Arnout :-)
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Quoted 8 lines · Thomas Petazzoni
Hello,
Quoted 4 lines · Richard Braun
Quoted 1 line
Richard have you updated your autobuild-run script recently?
My builder should be running with version
6986aa15ed966e16312ebaef1a47f498ca76a197.
Quoted 8 lines
Quoted 1 line
It is automatically updated and restarted once a week.
Then you are running with the latest changes from Arnout, and most of the other autobuilder slaves are not, which is why we only see this issue coming from your autobuilder.
So, this confirms my hypothesis that the bug is in the changes from Arnout :-)
The problem is that that defconfig file (sourcery-arm-thumb2.config) doesn't
specify which toolchain to use:
BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_OPTIMIZATION=""
It just relies on the default external toolchain.
Obviously this isn't very robust to begin with: when the external toolchains
change, this could implicitly change this toolchain defconfig. E.g. imagine that Linaro would grow a Thumb2 option, then suddenly this sourcery-arm-thumb2.config would build using a Linaro toolchain...
So I think the solution is to explicitly add the predefined external toolchain
to use to all the toolchain configs. I'll try to send a patch for that.
BTW, I notice now that we don't have configs for the Codescape toolchains. Any
reason for that?
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Hello,
Quoted 10 lines · Arnout Vandecappelle
The problem is that that defconfig file (sourcery-arm-thumb2.config) doesn't
specify which toolchain to use:BR2_arm=y
BR2_cortex_a8=y
BR2_ARM_EABI=y
BR2_ARM_INSTRUCTIONS_THUMB2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_OPTIMIZATION=""
Quoted 6 lines
It just relies on the default external toolchain.
Obviously this isn't very robust to begin with: when the external toolchains
change, this could implicitly change this toolchain defconfig. E.g. imagine that Linaro would grow a Thumb2 option, then suddenly this sourcery-arm-thumb2.config would build using a Linaro toolchain...
Aaah, yes.
Quoted 2 lines
So I think the solution is to explicitly add the predefined external toolchain
to use to all the toolchain configs. I'll try to send a patch for that.
OK. Thanks.
Quoted 2 lines
BTW, I notice now that we don't have configs for the Codescape toolchains. Any
reason for that?
Nope, just nobody has suggested one. Or maybe at the time I was a bit annoyed by having too many MIPS related configurations.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com