Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1868687imm; Thu, 12 Jul 2018 09:05:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdfhMtRYWEMAdyrAIwO/RcxzSXCUafj4UTCRa0zRJ3aTtZestZYdXVhDE6qZiRF/awymm0u X-Received: by 2002:a65:4107:: with SMTP id w7-v6mr2587348pgp.90.1531411537365; Thu, 12 Jul 2018 09:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531411537; cv=none; d=google.com; s=arc-20160816; b=Sesqxkhl2oAc1zuIuQ3QOMqdHe1FLdbARN0q5Ybln3VF/OyW1elBbgSwYRrt8TPhvY SRVw2HDWCsh9v1GdkFXHM1IHPoFFyDwTRWmEDBJTViIIYXzpsM3Aap+FEIfSKXiisY+Z WtI7mIBtXX6U/NlkCF9ZsPJjTBQcNXRs/yEUCp2rzuCGWcoSNDRDMEpsjiffTSffX3+U BqeewQcdZR75bDFgrFaIx08inQFL7i6BIS7urR525vb0WsD1CIJHMUgDcGaDm6EXrAOz Jz/RL4gjkMgF0pLZJOgm5CfEufuheZyOo0GqD8Q2NMmu8SCGXGZmtIItAUBxC4cvxfWW 3aYg== 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:arc-authentication-results; bh=PMxQ+KtF+U6Vg/2lxJZLAnQSOTfgvpun3B+KBbWaHYI=; b=hGeQN8a7jruXxPDqGU2EORAzYgjLHxnhW/ltL+e06dBpHy8+bk0hY62BvUPk/qyP3C 9wdzSRAqK+iYKE6Bm+BBOd8nLlSTt/dtdVXJ+V4A1yo3sJzkJaL8qSIQWfqA+dQDh/r5 FnkSqTIv65QBtPLWQtxrpctRm7dbEIYYWmTD3445aQLr11LtVikXxUhVTela71RSWRDZ 5KmCsDaley1v/BpjyULLgls7JJO10dL7183j2G6quv17HsGE792H2BUm+MZAiFyCgFfS wBszy0u2CagYaP2mpvvCkdLTl3JKW4knTd7NaYFqVry1w2mYgtSF1VcbzTXkQTo856fj NoZg== ARC-Authentication-Results: i=1; mx.google.com; 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 x6-v6si21378108pgk.597.2018.07.12.09.05.12; Thu, 12 Jul 2018 09:05:37 -0700 (PDT) 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; 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 S1732429AbeGLQOc (ORCPT + 99 others); Thu, 12 Jul 2018 12:14:32 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:45069 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727017AbeGLQOc (ORCPT ); Thu, 12 Jul 2018 12:14:32 -0400 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fde4m-0004XJ-2o from Sandra_Loosemore@mentor.com ; Thu, 12 Jul 2018 09:04:16 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 12 Jul 2018 09:04:12 -0700 Subject: Re: [PATCH V2 00/19] C-SKY(csky) Linux Kernel Port To: Guo Ren , David Howells CC: , , , , , , , , , , References: <27030.1531302693@warthog.procyon.org.uk> <20180712125152.GA5226@guoren> From: Sandra Loosemore Message-ID: <5731b5c4-e29d-30f6-095f-4a74f52cb72d@codesourcery.com> Date: Thu, 12 Jul 2018 10:04:10 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180712125152.GA5226@guoren> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SVR-ORW-MBX-09.mgc.mentorg.com (147.34.90.209) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/12/2018 06:51 AM, Guo Ren wrote: > On Wed, Jul 11, 2018 at 10:51:33AM +0100, David Howells wrote: >> Can you say what the --target tuple should be so that I can add the arch to my >> collection of Fedora cross-binutils and cross-gcc tools built from upstream >> binutils and gcc sources? > Metor Graghics are helping us upstream gcc and binutils. > > @Sandra, > > Could you help me to reply the question? Neither binutils nor gcc support for C-SKY are in the upstream repositories yet. We should be resubmitting the binutils port soon (with bug fixes to address the test failures that caused it to be rejected the last time), and the gcc port will follow that shortly. The target triplets we have been testing are csky-elf, csky-linux-gnu, and csky-linux-uclibc. Note that the gcc port will only support v2 processors/ABI so that is the default ABI for these triplets. I'm not familiar with the Fedora tools, but to build a complete toolchain you'll need library support as well and I'm not sure what the submission status/plans for that are. E.g. Mentor did a newlib/libgloss port for local testing of the ELF toolchain and provided it to C-SKY, but pushing that to the upstream repository ourselves is not on our todo list. -Sandra