From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752505AbcBFPup (ORCPT ); Sat, 6 Feb 2016 10:50:45 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:43364 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbcBFPuo (ORCPT ); Sat, 6 Feb 2016 10:50:44 -0500 Subject: Re: avr32 build failures in linux-next To: Hans-Christian Noren Egtvedt , Sudip Mukherjee References: <56B4C799.5070401@roeck-us.net> <56B4CE8C.8040307@gmail.com> <20160206115722.GA32647@samfundet.no> Cc: Haavard Skinnemoen , "linux-kernel@vger.kernel.org" From: Guenter Roeck Message-ID: <56B61651.2020305@roeck-us.net> Date: Sat, 6 Feb 2016 07:50:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160206115722.GA32647@samfundet.no> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/06/2016 03:57 AM, Hans-Christian Noren Egtvedt wrote: > 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? > No. We are talking about git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git >>> 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. > I'll keep building it for now, until it fails to build in mainline. Guenter