Received: by 10.223.185.116 with SMTP id b49csp1029252wrg; Wed, 21 Feb 2018 10:51:09 -0800 (PST) X-Google-Smtp-Source: AH8x2276chWh0XXWPHS2D+cLU/uzLEWJKzl8StRdu40UFpqlO370eZI6zNPnMIde2Awm6//9TNyj X-Received: by 2002:a17:902:6c42:: with SMTP id h2-v6mr4067338pln.123.1519239069056; Wed, 21 Feb 2018 10:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239069; cv=none; d=google.com; s=arc-20160816; b=UrnCobHSiGg10C/sYVPf7w0NIjcv7+xokcbBeEQvO1u8oEs8nHlbufLwm3nQmrnc7h 9Ai8VofS+GK3pXCUupq2kHSj3Jf5kngOoRuLfPUxM4vC0DrTR45HW1iWES8wj3sVNkd3 XPIKDSiTEglonBSIwN1GOB4onWQfTESYzDeNwHwHDPBFcxqJoSF0/B7Jq3rEjDP6zT3i jTOY1j19Cv1Gms1d5AWybz58fZI8XravJFfOASbNtJKgYXRTZjxEMsFrJR5KIEB433x2 AIwIuNaYe7VZz9hlXoALTjAh6/qNx2CyX505u9BsZm29ovFhKJT/lNDQVlA4u1F8togF lq0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=ATlAcvibeeJBlf8NSDL0uMu5Tj+ZWK1UPx8flcZgKJ8=; b=vN+wV92GB4vBAOvZuSBgECSjy/RomM3vuOWr1zyMQsebTh6mSG2B595m6jWxVfTIJy L3TJIPhMgZKQXPgubd+Fv1vFGm2Y+vGTBiFTGjgw75NyoP60WuSe1YY/eWmG8hDDdVhH MD6R4PFBYQTMmZ8u48hpKABcQnbQWrdjxZyeEn2OMUaoPZ5uYQLcijADC9vUEiGQNU6d a7hjT9+uzVSdYIq55R1L0Elc6Wsnc+M8n/Uz5jiKqnXMkkYsg44OVtH6aAgwH9vmCPtm vLr9pay2xeRrPUXydyrPr9MKXQDK0QNgDqyyjaGoMB1K92Oe+gwi0gUsq0YPRGfHyt1g 8cEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ttXNaGDH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b65si1530275pfk.283.2018.02.21.10.50.55; Wed, 21 Feb 2018 10:51:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ttXNaGDH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937514AbeBUOQ2 (ORCPT + 99 others); Wed, 21 Feb 2018 09:16:28 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:42826 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935340AbeBUOQZ (ORCPT ); Wed, 21 Feb 2018 09:16:25 -0500 Received: by mail-pf0-f195.google.com with SMTP id t15so692904pfh.9; Wed, 21 Feb 2018 06:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ATlAcvibeeJBlf8NSDL0uMu5Tj+ZWK1UPx8flcZgKJ8=; b=ttXNaGDHQIjowAj+ehZKQQhXCR8OmEcsFOU7L3a0Gy+vkV+f78uRw4Yj+xczUU7zuh MeUyAp2FuuAFixn56xHj3f+K4rRa0KJwyY6MDDPYnLyKUrfZyCrhu0QLwpkPyFaTLACu nTusZEplprItIs9Y67KJClUOL6kJevZ3PvhpuDfnxfg+O710XrygpJFylagJZrdOHBUl RY0LcEAhna71ssXfh/gOSAWUlqZmt84XiRwBqjeizZKMQ9pJ3EQ0g1YRB233QgVtSQPz KXB7pKHnBxisfR++1TB5rrmfr/R/frBSmGTt05GgCR+btUKkqPVRGoDWD6E6+RAJUhZE RFFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ATlAcvibeeJBlf8NSDL0uMu5Tj+ZWK1UPx8flcZgKJ8=; b=jn38Va3EbpBISLi+miXPT1FqzMer2jHr0j9gTe4qV6a8Vkr1Js4grdbRj1ZGQtHu9M 0hZva+ULPkgRcHkVhVS4ruBcQHMDRiphloFCAfQEU1TsGVFf5QP03eppdiHWEwBDw5CZ wlyyAS/VSxAiZIJtASBF/LssjyKWUBYevFeAJ/3I3FOAbKtgAUutLYKVYJnT3gG5ih+e S8J1qUMtpGfrY4e7krswp2DEo+B5f4AIU0Ro2iy3C+wZkiJ1QM6nQ1He+dvW2EPUUOcn 4j6XZiH7VdjjVhsS1Umdt+zjHJAZjoiddIrzQo+fNCqv+5gfbFd8OXvanFriEarkxVjU Axeg== X-Gm-Message-State: APf1xPDkVBeZ7zSYL4P7MhqjO7L1Eu7UiACJX5enTtRcVehkZPxnn6eO GscVU4qhoR/i670uQ5nP0dg28FPv X-Received: by 10.101.92.136 with SMTP id a8mr2852362pgt.446.1519222584771; Wed, 21 Feb 2018 06:16:24 -0800 (PST) Received: from server.roeck-us.net (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id j7sm44457580pfh.39.2018.02.21.06.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 06:16:24 -0800 (PST) Subject: Re: metag build errors in mainline kernel To: James Hogan Cc: linux-kernel@vger.kernel.org, linux-metag@vger.kernel.org References: <20180220234443.GA27059@roeck-us.net> <20180221122719.GI29460@jhogan-linux.mipstec.com> From: Guenter Roeck Message-ID: <95906b76-6ce1-3f84-eaba-c29b4ae952eb@roeck-us.net> Date: Wed, 21 Feb 2018 06:16:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180221122719.GI29460@jhogan-linux.mipstec.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/21/2018 04:27 AM, James Hogan wrote: > On Tue, Feb 20, 2018 at 03:44:43PM -0800, Guenter Roeck wrote: >> The following errors are seen when building the kernel with the latest >> available metag toolchain (4.2.4 (IMG-1.4.0.700)). Kernel version tested >> is (v4.16-rc2-64-gaf3e79d29555). >> >> metag:allmodconfig >> >> arch/metag/kernel/devtree.c:54: error: implicit declaration of function 'pr_info' >> >> arch/metag/kernel/perf/perf_event.c:831: error: label ‘out’ used but not defined >> arch/metag/kernel/perf/perf_event.c:822: warning: unused variable ‘cpu’ > > Thanks, these are easy enough for me to fix up. > >> >> metag:meta2_smp_defconfig >> >> kernel/time/hrtimer.c: In function 'hrtimer_run_softirq': >> time/hrtimer.c:1431: error: unable to find a register to spill in class 'Yr_REGS' >> time/hrtimer.c:1431: error: this is the insn: >> (insn:HI 41 40 99 2 kernel/time/hrtimer.c:576 (set (mem/s/j:DI (plus:SI (reg/f:SI 15 D1.7 [orig:84 D.45290 ] [84]) >> (const_int 368 [0x170])) [0 .offset+0 S8 A128]) >> (reg:DI 99 [ .offset ])) 211 {*sto_di_1_1_off12} (nil) >> (expr_list:REG_DEAD (reg:DI 99 [ .offset ]) >> (nil))) >> kernel/time/hrtimer.c:1431: confused by earlier errors, bailing out > > Hmm.. ancient shelved toolchain. Perhaps this is the excuse we need to > say goodbye to arch/metag/... > Might be worth a thought. The metag toolchain doesn't even build anymore without tweaking. gcc 4.2.4 doesn't build with a modern gcc, the metag buildroot on github points to a no longer existing daily snapshot of uclibc, and ToT uclibc doesn't build with gcc 4.2.4. Guenter