Skip to contentSkip to conversation

lkp: make.cross: old aarch64-gcc has been removed

DISCUSSION Applied Masami Hiramatsu 3 participants 7 messages Dec 29, 2016 – Jan 13, 2017

lore
Share & tools
lore
#0 lore raw

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]>
#1 lore raw

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]>
#2 lore raw

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:

http://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu.tar.xz

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]>
#3 lore raw

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

http://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu.tar.xz

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

#4 lore raw
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

http://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu.tar.xz

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

#5 lore raw
In reply to Fengguang Wu
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

http://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu.tar.xz

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]>
Signature · 1 line
Masami Hiramatsu <[email protected]>