Re: Linux kernel cross-compilers

2013-08-17 Thread Sam Ravnborg
> > > > I found out the root source: SHELL is set the /bin/sh, which on the failing > > system points to /bin/dash (default in Ubuntu, or at least it used to be). > > dash apparently has a built-in version of echo which does not understand > > '-e'. > > Oh well. > > Cool. OTOH I don't think that

Re: Linux kernel cross-compilers

2013-08-17 Thread Sam Ravnborg
I found out the root source: SHELL is set the /bin/sh, which on the failing system points to /bin/dash (default in Ubuntu, or at least it used to be). dash apparently has a built-in version of echo which does not understand '-e'. Oh well. Cool. OTOH I don't think that we need to -e

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On Fri, Aug 16, 2013 at 09:26:51PM +0200, Sam Ravnborg wrote: > On Fri, Aug 16, 2013 at 08:43:35AM -0700, Guenter Roeck wrote: > > On 08/16/2013 02:45 AM, Max Filippov wrote: > Guenter, > can you share a complete build log with V=1? > > >>> > >>>

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 7:43 PM, Guenter Roeck wrote: > On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? >>> >>> http://roeck-us.net/linux/logs/make.xtensa.log.bad >>> http://roeck-us.net/linux/logs/make.xtensa.log.ok >>> >>>

Re: Linux kernel cross-compilers

2013-08-16 Thread Sam Ravnborg
On Fri, Aug 16, 2013 at 08:43:35AM -0700, Guenter Roeck wrote: > On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? >>> >>> http://roeck-us.net/linux/logs/make.xtensa.log.bad >>> http://roeck-us.net/linux/logs/make.xtensa.log.ok >>> >>>

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad http://roeck-us.net/linux/logs/make.xtensa.log.ok Key difference: the failing command in the bad case is xtensa-linux-objcopy -O

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
>> Guenter, >> can you share a complete build log with V=1? >> > > http://roeck-us.net/linux/logs/make.xtensa.log.bad > http://roeck-us.net/linux/logs/make.xtensa.log.ok > > Key difference: the failing command in the bad case is > xtensa-linux-objcopy -O elf32-xtensa-le > and in the good

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 01:31 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 11:50 AM, Guenter Roeck wrote: On 08/16/2013 12:22 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 11:50 AM, Guenter Roeck wrote: > On 08/16/2013 12:22 AM, Max Filippov wrote: >> >> On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds >> wrote: >>> >>> On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: >>> Yes, xtensa compiler/linker is known to have issues

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/15/2013 10:47 PM, Tony Breeds wrote: On Thu, Aug 15, 2013 at 02:07:05AM -0700, Guenter Roeck wrote: Hi Tony, would it be possible to provide an arm64 cross-compiler on https://www.kernel.org/pub/tools/crosstool/ ? I have one built I just need to upload it. I'll try and do it this

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 12:22 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is known to have issues with link-time relaxation; e.g. it may fail to build linux image without

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds wrote: > On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: > >> Yes, xtensa compiler/linker is known to have issues with link-time >> relaxation; e.g. it may fail to build linux image without CONFIG_LD_NO_RELAX. > > Is there something I can

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds t...@bakeyournoodle.com wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is known to have issues with link-time relaxation; e.g. it may fail to build linux image without CONFIG_LD_NO_RELAX. Is there

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 12:22 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds t...@bakeyournoodle.com wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is known to have issues with link-time relaxation; e.g. it may fail to build linux

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/15/2013 10:47 PM, Tony Breeds wrote: On Thu, Aug 15, 2013 at 02:07:05AM -0700, Guenter Roeck wrote: Hi Tony, would it be possible to provide an arm64 cross-compiler on https://www.kernel.org/pub/tools/crosstool/ ? I have one built I just need to upload it. I'll try and do it this

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 11:50 AM, Guenter Roeck li...@roeck-us.net wrote: On 08/16/2013 12:22 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds t...@bakeyournoodle.com wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 01:31 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 11:50 AM, Guenter Roeck li...@roeck-us.net wrote: On 08/16/2013 12:22 AM, Max Filippov wrote: On Fri, Aug 16, 2013 at 9:48 AM, Tony Breeds t...@bakeyournoodle.com wrote: On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad http://roeck-us.net/linux/logs/make.xtensa.log.ok Key difference: the failing command in the bad case is xtensa-linux-objcopy -O elf32-xtensa-le and in the good case

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad http://roeck-us.net/linux/logs/make.xtensa.log.ok Key difference: the failing command in the bad case is xtensa-linux-objcopy -O

Re: Linux kernel cross-compilers

2013-08-16 Thread Sam Ravnborg
On Fri, Aug 16, 2013 at 08:43:35AM -0700, Guenter Roeck wrote: On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad http://roeck-us.net/linux/logs/make.xtensa.log.ok Key difference: the failing

Re: Linux kernel cross-compilers

2013-08-16 Thread Max Filippov
On Fri, Aug 16, 2013 at 7:43 PM, Guenter Roeck li...@roeck-us.net wrote: On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad http://roeck-us.net/linux/logs/make.xtensa.log.ok Key difference:

Re: Linux kernel cross-compilers

2013-08-16 Thread Guenter Roeck
On Fri, Aug 16, 2013 at 09:26:51PM +0200, Sam Ravnborg wrote: On Fri, Aug 16, 2013 at 08:43:35AM -0700, Guenter Roeck wrote: On 08/16/2013 02:45 AM, Max Filippov wrote: Guenter, can you share a complete build log with V=1? http://roeck-us.net/linux/logs/make.xtensa.log.bad

Re: Linux kernel cross-compilers

2013-08-15 Thread Tony Breeds
On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: > Yes, xtensa compiler/linker is known to have issues with link-time > relaxation; e.g. it may fail to build linux image without CONFIG_LD_NO_RELAX. Is there something I can do at linker build time to help with this? Yours Tony

Re: Linux kernel cross-compilers

2013-08-15 Thread Tony Breeds
On Thu, Aug 15, 2013 at 02:07:05AM -0700, Guenter Roeck wrote: > Hi Tony, > > would it be possible to provide an arm64 cross-compiler on > https://www.kernel.org/pub/tools/crosstool/ ? I have one built I just need to upload it. I'll try and do it this weekend. > Also, the xtensa compiler

Re: Linux kernel cross-compilers

2013-08-15 Thread Guenter Roeck
On 08/15/2013 07:22 AM, Max Filippov wrote: On Thu, Aug 15, 2013 at 6:02 PM, Guenter Roeck wrote: On 08/15/2013 02:46 AM, Max Filippov wrote: Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck wrote: Also, the xtensa compiler fails for me with an odd error message on one of my

Re: Linux kernel cross-compilers

2013-08-15 Thread Max Filippov
On Thu, Aug 15, 2013 at 6:02 PM, Guenter Roeck wrote: > On 08/15/2013 02:46 AM, Max Filippov wrote: >> >> Hi Guenter, >> >> On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck wrote: >>> >>> Also, the xtensa compiler fails for me with an odd error message on one >>> of >>> my servers. >> >> >> What

Re: Linux kernel cross-compilers

2013-08-15 Thread Guenter Roeck
On 08/15/2013 02:46 AM, Max Filippov wrote: Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck wrote: Also, the xtensa compiler fails for me with an odd error message on one of my servers. What is the message? It complains about being unable to change the byte order in an object

Re: Linux kernel cross-compilers

2013-08-15 Thread Max Filippov
Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck wrote: > Also, the xtensa compiler fails for me with an odd error message on one of > my servers. What is the message? > Have you heard about any problems with it from others ? Yes, xtensa compiler/linker is known to have issues with

Re: Linux kernel cross-compilers

2013-08-15 Thread Max Filippov
Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck li...@roeck-us.net wrote: Also, the xtensa compiler fails for me with an odd error message on one of my servers. What is the message? Have you heard about any problems with it from others ? Yes, xtensa compiler/linker is known to

Re: Linux kernel cross-compilers

2013-08-15 Thread Guenter Roeck
On 08/15/2013 02:46 AM, Max Filippov wrote: Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck li...@roeck-us.net wrote: Also, the xtensa compiler fails for me with an odd error message on one of my servers. What is the message? It complains about being unable to change the byte

Re: Linux kernel cross-compilers

2013-08-15 Thread Max Filippov
On Thu, Aug 15, 2013 at 6:02 PM, Guenter Roeck li...@roeck-us.net wrote: On 08/15/2013 02:46 AM, Max Filippov wrote: Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck li...@roeck-us.net wrote: Also, the xtensa compiler fails for me with an odd error message on one of my servers.

Re: Linux kernel cross-compilers

2013-08-15 Thread Guenter Roeck
On 08/15/2013 07:22 AM, Max Filippov wrote: On Thu, Aug 15, 2013 at 6:02 PM, Guenter Roeck li...@roeck-us.net wrote: On 08/15/2013 02:46 AM, Max Filippov wrote: Hi Guenter, On Thu, Aug 15, 2013 at 1:07 PM, Guenter Roeck li...@roeck-us.net wrote: Also, the xtensa compiler fails for me with

Re: Linux kernel cross-compilers

2013-08-15 Thread Tony Breeds
On Thu, Aug 15, 2013 at 02:07:05AM -0700, Guenter Roeck wrote: Hi Tony, would it be possible to provide an arm64 cross-compiler on https://www.kernel.org/pub/tools/crosstool/ ? I have one built I just need to upload it. I'll try and do it this weekend. Also, the xtensa compiler fails for

Re: Linux kernel cross-compilers

2013-08-15 Thread Tony Breeds
On Thu, Aug 15, 2013 at 01:46:16PM +0400, Max Filippov wrote: Yes, xtensa compiler/linker is known to have issues with link-time relaxation; e.g. it may fail to build linux image without CONFIG_LD_NO_RELAX. Is there something I can do at linker build time to help with this? Yours Tony