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 w

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.x

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 >>> >>> Key

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 elf32-

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 ca

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 with

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 week

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 CONFIG_LD_

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-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 pgp

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

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 ser

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 is

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 fi

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 l

Linux kernel cross-compilers

2013-08-15 Thread Guenter Roeck
Hi Tony, would it be possible to provide an arm64 cross-compiler on https://www.kernel.org/pub/tools/crosstool/ ? Also, the xtensa compiler fails for me with an odd error message on one of my servers. Have you heard about any problems with it from others ? c6x is supposed to be supported by gc