linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lkp: make.cross: old aarch64-gcc has been removed
@ 2016-12-29 22:43 Masami Hiramatsu
  2017-01-11 10:08 ` Masami Hiramatsu
  0 siblings, 1 reply; 7+ messages in thread
From: Masami Hiramatsu @ 2016-12-29 22:43 UTC (permalink / raw)
  To: fengguang.wu; +Cc: linux-kernel

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 <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2016-12-29 22:43 lkp: make.cross: old aarch64-gcc has been removed Masami Hiramatsu
@ 2017-01-11 10:08 ` Masami Hiramatsu
  2017-01-12  3:31   ` Fengguang Wu
  2017-01-12  3:33   ` Fengguang Wu
  0 siblings, 2 replies; 7+ messages in thread
From: Masami Hiramatsu @ 2017-01-11 10:08 UTC (permalink / raw)
  To: Masami Hiramatsu; +Cc: fengguang.wu, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

Ping?

BTW, I found that the old toolchain is archived in release.linaro.org.
So I made a patch for that.

Thank you,

On Fri, 30 Dec 2016 07:43:45 +0900
Masami Hiramatsu <mhiramat@kernel.org> 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 <mhiramat@kernel.org>


-- 
Masami Hiramatsu <mhiramat@kernel.org>

[-- Attachment #2: make-cross-fix-the-url-for-gcc --]
[-- Type: application/octet-stream, Size: 754 bytes --]

make.cross: Fix the url for gcc-linaro-aarch64

From: Masami Hiramatsu <mhiramat@kernel.org>

Since old releases are moved under archive directory,
the url must be updated.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
---
 sbin/make.cross |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/make.cross b/sbin/make.cross
index ae37258..c450b4a 100755
--- a/sbin/make.cross
+++ b/sbin/make.cross
@@ -89,7 +89,7 @@ install_crosstool()
 
 install_linaro()
 {
-	local URL='http://releases.linaro.org/14.08/components/toolchain/binaries'
+	local URL='http://releases.linaro.org/archive/14.08/components/toolchain/binaries'
 	local file='gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz'
 
 	download_extract "$URL/$file"

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2017-01-11 10:08 ` Masami Hiramatsu
@ 2017-01-12  3:31   ` Fengguang Wu
  2017-01-12 12:00     ` Will Deacon
  2017-01-13  3:28     ` Masami Hiramatsu
  2017-01-12  3:33   ` Fengguang Wu
  1 sibling, 2 replies; 7+ messages in thread
From: Fengguang Wu @ 2017-01-12  3:31 UTC (permalink / raw)
  To: Masami Hiramatsu; +Cc: linux-kernel, Catalin Marinas, Will Deacon

Hi Masami,

On Wed, Jan 11, 2017 at 07:08:40PM +0900, Masami Hiramatsu wrote:
>Ping?

Oops, sorry for overlooking your previous email!

>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

>On Fri, 30 Dec 2016 07:43:45 +0900
>Masami Hiramatsu <mhiramat@kernel.org> 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 <mhiramat@kernel.org>
>
>
>-- 
>Masami Hiramatsu <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2017-01-11 10:08 ` Masami Hiramatsu
  2017-01-12  3:31   ` Fengguang Wu
@ 2017-01-12  3:33   ` Fengguang Wu
  1 sibling, 0 replies; 7+ messages in thread
From: Fengguang Wu @ 2017-01-12  3:33 UTC (permalink / raw)
  To: Masami Hiramatsu; +Cc: linux-kernel

>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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2017-01-12  3:31   ` Fengguang Wu
@ 2017-01-12 12:00     ` Will Deacon
  2017-01-12 14:11       ` Fengguang Wu
  2017-01-13  3:28     ` Masami Hiramatsu
  1 sibling, 1 reply; 7+ messages in thread
From: Will Deacon @ 2017-01-12 12:00 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Masami Hiramatsu, linux-kernel, Catalin Marinas, ryan.arnold

Hi Fengguang, Masami,

On Thu, Jan 12, 2017 at 11:31:57AM +0800, Fengguang Wu wrote:
> On Wed, Jan 11, 2017 at 07:08:40PM +0900, Masami Hiramatsu wrote:
> >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.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2017-01-12 12:00     ` Will Deacon
@ 2017-01-12 14:11       ` Fengguang Wu
  0 siblings, 0 replies; 7+ messages in thread
From: Fengguang Wu @ 2017-01-12 14:11 UTC (permalink / raw)
  To: Will Deacon; +Cc: Masami Hiramatsu, linux-kernel, Catalin Marinas, ryan.arnold

On Thu, Jan 12, 2017 at 12:00:07PM +0000, Will Deacon wrote:
>Hi Fengguang, Masami,
>
>On Thu, Jan 12, 2017 at 11:31:57AM +0800, Fengguang Wu wrote:
>> On Wed, Jan 11, 2017 at 07:08:40PM +0900, Masami Hiramatsu wrote:
>> >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.
>
>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!

>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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: lkp: make.cross: old aarch64-gcc has been removed
  2017-01-12  3:31   ` Fengguang Wu
  2017-01-12 12:00     ` Will Deacon
@ 2017-01-13  3:28     ` Masami Hiramatsu
  1 sibling, 0 replies; 7+ messages in thread
From: Masami Hiramatsu @ 2017-01-13  3:28 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: linux-kernel, Catalin Marinas, Will Deacon

On Thu, 12 Jan 2017 11:31:57 +0800
Fengguang Wu <fengguang.wu@intel.com> wrote:

> Hi Masami,
> 
> On Wed, Jan 11, 2017 at 07:08:40PM +0900, Masami Hiramatsu wrote:
> >Ping?
> 
> Oops, sorry for overlooking your previous email!
> 
> >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,

> 
> 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
> 
> >On Fri, 30 Dec 2016 07:43:45 +0900
> >Masami Hiramatsu <mhiramat@kernel.org> 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 <mhiramat@kernel.org>
> >
> >
> >-- 
> >Masami Hiramatsu <mhiramat@kernel.org>
> 
> 


-- 
Masami Hiramatsu <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-13  3:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-29 22:43 lkp: make.cross: old aarch64-gcc has been removed Masami Hiramatsu
2017-01-11 10:08 ` Masami Hiramatsu
2017-01-12  3:31   ` Fengguang Wu
2017-01-12 12:00     ` Will Deacon
2017-01-12 14:11       ` Fengguang Wu
2017-01-13  3:28     ` Masami Hiramatsu
2017-01-12  3:33   ` Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).