Received: by 10.192.165.156 with SMTP id m28csp637142imm; Mon, 16 Apr 2018 06:25:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+LAsJbB7K7zdb6Tb2Jw7wgWCBRvWuIJFdlG4y+oE/QFpdh76/mKiXDvvqQRW5Jtg5UsYUg X-Received: by 2002:a17:902:bd8e:: with SMTP id q14-v6mr15698857pls.322.1523885106467; Mon, 16 Apr 2018 06:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523885106; cv=none; d=google.com; s=arc-20160816; b=0Fr8msnQjPYKXaX0f3eeqTDYhJEeT711zezIUbf+1WlsvuUbd2pqrECaeJLn+nBTll LcjMhMdZ1BB4CRMxS1iit6Z7Se4qT2voQOh4i1I9N0itUnNhLymL1tgG184ONLo61Jhg AEq9H3WEALERCwvD/InOFDv49YaVkn1Rw23NY7brpKWp02vmA35PY1+GMvip8mhTOenD avmhFOPi4NoQ8HbkI0A9C4yYQglOhfwkJFQGRKVQxpJgCl80jKzgXrBIseHIQgsaRDkJ wrQ4AHX1toxiyBLerTgckS8rNHh5KutoivOaSjcRERHOM6M4gi/z8haU8lVx7OGG38Wk FBrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Wc/ypCWRE8r8aURVw2v9i4RceXuT0qeZrp2+399dysI=; b=BUKAW9IAQmv9v8AbqlW4sukR1pMF3l8h9yD96bdnheNzRMSvNjCWZvqKvH/HsHY1nT DgngFKpQVV3ZdUXkVNyNR4tpZ+6Bz61PYHuN/3lXaiSGFBVmVnSCQ/O9Q37rWyfokWGz 9koUQnKDCU4niGV3x7wnH2NRXLZyzrsSxnBOuaHfc0PxeL8A+oWrMKVJu8L68Rl9+zTL 4B0E9lRSo4nURy3k0PZ6/cIiPHiJYdfoMxviiiNjiwN6FpHHGZesOUjD7upAJioX4NQx WwP6QYhQYoVtEse2q6buFdkXnnRW+fXPvkIveisMyLefA3AtLAwEWgDSVkakeKNmT0dY mu1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=LbZiO6a7; 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 q75si7424856pfj.83.2018.04.16.06.24.49; Mon, 16 Apr 2018 06:25:06 -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; dkim=fail header.i=@roeck-us.net header.s=default header.b=LbZiO6a7; 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 S1755173AbeDPNWL (ORCPT + 99 others); Mon, 16 Apr 2018 09:22:11 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:39377 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159AbeDPNWK (ORCPT ); Mon, 16 Apr 2018 09:22:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Wc/ypCWRE8r8aURVw2v9i4RceXuT0qeZrp2+399dysI=; b=LbZiO6a7DMfS6y29OdGpVn16zm p3GOh6+xKZp+t5Y89IHg9F9ZlJtoAWRGTOPm+7VR8cJUH9prk/3iYpxKPNjAjVwodE3SXcDZyRDmr +0lABUgxsp31z7AM5MR1U/s+9bmbn1StmTnh6MLgfmaX8Dtp5NxbObsqq4lHCbgY1JkPHy0by2sCM MiERRpwTySxPiESAbFtD+jNWus5nJSbu/UaepajSuGAnFkyYWTjUBENwwVgpH9ZQgn7JtQl02GoEj ztKkr2JPNg9AP+dXOTq0R1Z5CnND7m/OdTckAxs7IdqEmosqfalg4hqVOyXXfac0x6hCxT579jBHl HjDX9q6A==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:51118 helo=server.roeck-us.net) by bh-25.webhostbox.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1f845A-003NKy-09; Mon, 16 Apr 2018 13:22:09 +0000 Subject: Re: nds32 build failures To: Greentime Hu Cc: "linux-kernel@vger.kernel.org" , Vincent Chen , Greentime Hu , Arnd Bergmann , kito.cheng@gmail.com, wuiw@andestech.com References: <4ccb747b-fb3b-18c8-8737-2cc02d7b1c34@roeck-us.net> From: Guenter Roeck Message-ID: Date: Mon, 16 Apr 2018 06:22:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Authenticated_sender: private@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: private@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: private@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/16/2018 02:06 AM, Greentime Hu wrote: > 2018-04-16 11:58 GMT+08:00 Guenter Roeck : >> I thought I should give the brand new architecture a try. Unfortunately, >> that was not very successful. >> >> Build reference: v4.17-rc1 >> gcc version: nds32le-elf-gcc (GCC) 7.3.0 >> >> Building nds32:defconfig ... failed >> >> arch/nds32/include/asm/nds32.h: In function 'GIE_ENABLE': >> arch/nds32/include/asm/nds32.h:25:2: error: implicit declaration of function >> '__nds32__gie_en'; did you mean '__nds32__'? >> >> arch/nds32/include/asm/nds32.h: In function 'CACHE_SET': >> arch/nds32/include/asm/nds32.h:38:18: error: implicit declaration of >> function '__nds32__mfsr'; did you mean '__nds32__'? >> >> arch/nds32/include/asm/nds32.h:38:32: error: 'NDS32_SR_ICM_CFG' undeclared >> >> arch/nds32/include/asm/nds32.h:41:32: error: 'NDS32_SR_DCM_CFG' >> >> Am I missing something ? >> > Hi, Guenter: > > This built failure is because the toolchain version you used is not > supported the latest intrinsic function/macro. > We are sending the latest patchset now and we expect the whole new > features will be supported in gcc8.0.0 and binutil2.31+. > > If you'd like to get these new features of toolchain, you may use the > github version. > This is the built-script repo. https://github.com/andestech/build_script.git > Hmm. How comes that the defines are not there ? Also, is nds32_intrinsic.h supposed to be auto-generated ? The toolchain as provided isn't usable for me since it is not position independent. Arnd, it might make sense to drop the nds32 toolchain from kernel.org; its presence is at best misleading. Guenter