Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328288

Re: avr32 build failures in linux-next

From Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Newsgroups linux.kernel
Subject Re: avr32 build failures in linux-next
Date 2016-02-06 13:00 +0100
Message-ID <qZ9GW-6Nb-11@gated-at.bofh.it> (permalink)
References <qYR7j-2vG-11@gated-at.bofh.it> <qYRAo-2Gm-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Around Fri 05 Feb 2016 22:02:12 +0530 or thereabout, Sudip Mukherjee wrote:
> On Friday 05 February 2016 09:32 PM, Guenter Roeck wrote:
>>Hi,
>>
>>I am getting persistent build failures with av32 in linux-next.
> 
> me too.

linux-next is Torvalds master branch?

>>Example for avr32:defconfig:
>>
>>fs/built-in.o: In function `anon_inode_getfile':
>>(.text+0x2ae90): relocation truncated to fit: R_AVR32_21S against
>>`.text'+296c0
>>
>>All builds but avr32:allnoconfig fail with such truncated relocations.

Weirdly I do not get this when I build torvalds/master with allnoconfig.

The avr32 kernel was never very fond of CONFIG_CC_OPTIMIZE_FOR_SIZE=n, it
was always built with CONFIG_CC_OPTIMIZE_FOR_SIZE=y for actual usage.

>>Toolchain used is the old gcc 4.2.4 toolchain from kernel.org. I have been
>>unable to find or build newer versions of gcc for avr32.
>>
>>Does anyone know if a more recent toolchain for avr32 is available ?
> 
> https://sourceware.org/ml/crossgcc/2015-10/msg00050.html
> says avr32 has been depreciated.

Last release of avr32-linux GCC was the 4.2.4 patches in Buildroot for AVR32.

Atmel never upstreamed the AVR32 patches for GCC.

>>Another question is if the avr32 kernel still supported, or if I should
>>just stop trying to build test it. Any thoughts ?
> 
> I have already stopped building it.

I build the kernel and try to fix small issues here and there.

If it is too unstable for you in the test bench, feel free to remove it.

-- 
Best regards,
Hans-Christian Egtvedt

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

avr32 build failures in linux-next Guenter Roeck <linux@roeck-us.net> - 2016-02-05 17:10 +0100
  Re: avr32 build failures in linux-next Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-02-05 17:40 +0100
    Re: avr32 build failures in linux-next Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> - 2016-02-06 13:00 +0100
      Re: avr32 build failures in linux-next Måns Rullgård <mans@mansr.com> - 2016-02-06 15:10 +0100
        Re: avr32 build failures in linux-next Guenter Roeck <linux@roeck-us.net> - 2016-02-06 17:20 +0100
          Re: avr32 build failures in linux-next Måns Rullgård <mans@mansr.com> - 2016-02-06 18:30 +0100
            Re: avr32 build failures in linux-next Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-02-08 17:10 +0100
              Re: avr32 build failures in linux-next Guenter Roeck <linux@roeck-us.net> - 2016-02-09 05:10 +0100
      Re: avr32 build failures in linux-next Guenter Roeck <linux@roeck-us.net> - 2016-02-06 17:00 +0100

csiph-web