lkp: make.cross: old aarch64-gcc has been removed
Hi Fengguang,
Recently I tried to build a cross-build environment ( https://github.com/mhiramat/linux-cross ) by using your make.cross ( https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross ). And I've found that it failed to setup cross gcc for aarch64, because it is no more provided by linaro.
Could you update the url to the newer one from linaro or use crosstool as like as other archs?
The latest stable version (gcc-5) can be found here.
http://releases.linaro.org/components/toolchain/binaries/latest-5/
There are also gcc-6 series for development, and you can find 4.9 binaries too. But I would like to recommend you to use stable one for testing.
Thank you,
Signature · 1 line
Masami Hiramatsu <[email protected]>
Ping?
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
Thank you,
Quoted 18 lines · On Fri, 30 Dec 2016 07:43:45 +0900 Masami Hiramatsu <[email protected]> wrote:
Hi Fengguang,
Recently I tried to build a cross-build environment ( https://github.com/mhiramat/linux-cross ) by using your make.cross ( https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross ). And I've found that it failed to setup cross gcc for aarch64, because it is no more provided by linaro.
Could you update the url to the newer one from linaro or use crosstool as like as other archs?
The latest stable version (gcc-5) can be found here.
http://releases.linaro.org/components/toolchain/binaries/latest-5/There are also gcc-6 series for development, and you can find 4.9 binaries too. But I would like to recommend you to use stable one for testing.
Thank you,
Signature · 1 line
Masami Hiramatsu <[email protected]>
Signature · 1 line
Masami Hiramatsu <[email protected]>
Hi Masami,
Quoted 1 line · Masami Hiramatsu
Ping?
Oops, sorry for overlooking your previous email!
Quoted 2 lines
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
So there are gcc 4.9, 5, 6 versions available for aarch64. Since the build robot nowadays uses debian's packaged gcc-6-aarch64-linux-gnu, it should be better to use gcc-6 in make.coss to better reproduce reported regressions:
There are some other files there and I'm not quite sure if that's the right URL to use. CC aarch64 maintainers for possible inputs.
Thanks,
Fengguang
Quoted 25 lines
Quoted 18 lines · On Fri, 30 Dec 2016 07:43:45 +0900 Masami Hiramatsu <[email protected]> wrote:
Hi Fengguang,
Recently I tried to build a cross-build environment ( https://github.com/mhiramat/linux-cross ) by using your make.cross ( https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross ). And I've found that it failed to setup cross gcc for aarch64, because it is no more provided by linaro.
Could you update the url to the newer one from linaro or use crosstool as like as other archs?
The latest stable version (gcc-5) can be found here.
http://releases.linaro.org/components/toolchain/binaries/latest-5/There are also gcc-6 series for development, and you can find 4.9 binaries too. But I would like to recommend you to use stable one for testing.
Thank you,
--
Masami Hiramatsu <[email protected]>Signature · 1 line
Masami Hiramatsu <[email protected]>
Hi Fengguang, Masami,
Quoted 9 lines · Fengguang Wu
Quoted 2 lines · Masami Hiramatsu
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
So there are gcc 4.9, 5, 6 versions available for aarch64. Since the build robot nowadays uses debian's packaged gcc-6-aarch64-linux-gnu, it should be better to use gcc-6 in make.coss to better reproduce reported regressions:
Quoted 4 lines
There are some other files there and I'm not quite sure if that's the right URL to use. CC aarch64 maintainers for possible inputs.
If you're looking for a stable url to grab the latest Linaro binary toolchains, then it's probably best to ask somebody from the Linaro Toolchain Working Group. I've added Ryan Arnold to cc, since he should be able to help.
Ryan: the background is that the Make.cross script [1] hardcodes a path to a Linaro binary toolchain that no longer exists, so it would be good to replace it with a stable link pointing to the latest build. Is the one suggested above correct?
Will
[1] https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
Quoted 12 lines · Will Deacon
Hi Fengguang, Masami,
Quoted 9 lines · Fengguang Wu
Quoted 2 lines · Masami Hiramatsu
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
So there are gcc 4.9, 5, 6 versions available for aarch64. Since the build robot nowadays uses debian's packaged gcc-6-aarch64-linux-gnu, it should be better to use gcc-6 in make.coss to better reproduce reported regressions:
Quoted 6 lines
Quoted 4 lines
There are some other files there and I'm not quite sure if that's the right URL to use. CC aarch64 maintainers for possible inputs.
If you're looking for a stable url to grab the latest Linaro binary
Yes it'd be best to have a stable URL. Thanks!
Quoted 12 lines
toolchains, then it's probably best to ask somebody from the Linaro Toolchain Working Group. I've added Ryan Arnold to cc, since he should be able to help.
Ryan: the background is that the Make.cross script [1] hardcodes a path to a Linaro binary toolchain that no longer exists, so it would be good to replace it with a stable link pointing to the latest build. Is the one suggested above correct?
Will
[1] https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
Quoted 7 lines · On Thu, 12 Jan 2017 11:31:57 +0800 Fengguang Wu <[email protected]> wrote:
Hi Masami,
Quoted 1 line · Masami Hiramatsu
Ping?
Oops, sorry for overlooking your previous email!
Quoted 7 lines
Quoted 2 lines
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
So there are gcc 4.9, 5, 6 versions available for aarch64. Since the build robot nowadays uses debian's packaged gcc-6-aarch64-linux-gnu, it should be better to use gcc-6 in make.coss to better reproduce reported regressions:
OK, that'll be good too. Would it use debian cross-arch gcc for other architectures too? I would like to make similar environment for build test internally.
Thank you,
Quoted 36 lines
There are some other files there and I'm not quite sure if that's the right URL to use. CC aarch64 maintainers for possible inputs.
Thanks,
FengguangQuoted 25 lines
Quoted 18 lines · On Fri, 30 Dec 2016 07:43:45 +0900 Masami Hiramatsu <[email protected]> wrote:
Hi Fengguang,
Recently I tried to build a cross-build environment ( https://github.com/mhiramat/linux-cross ) by using your make.cross ( https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross ). And I've found that it failed to setup cross gcc for aarch64, because it is no more provided by linaro.
Could you update the url to the newer one from linaro or use crosstool as like as other archs?
The latest stable version (gcc-5) can be found here.
http://releases.linaro.org/components/toolchain/binaries/latest-5/There are also gcc-6 series for development, and you can find 4.9 binaries too. But I would like to recommend you to use stable one for testing.
Thank you,
--
Masami Hiramatsu <[email protected]>Signature · 1 line
Masami Hiramatsu <[email protected]>
Signature · 1 line
Masami Hiramatsu <[email protected]>
Fengguang Wu
AppliedQuoted 2 lines
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that.
Applied the patch, thank you!
Regards,
Fengguang