Received: by 10.223.185.116 with SMTP id b49csp4861395wrg; Wed, 7 Mar 2018 02:13:37 -0800 (PST) X-Google-Smtp-Source: AG47ELvW95opqaQWlLeIgAWXX02NOaSN137zRq9rd/Xj7pEQA7kZ/lm8qgPxOcIoTLYHcTjeqAbL X-Received: by 2002:a17:902:2823:: with SMTP id e32-v6mr19937478plb.44.1520417617191; Wed, 07 Mar 2018 02:13:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520417617; cv=none; d=google.com; s=arc-20160816; b=RHOujpHRDRsCACGfNWuPlUSvbqNfTuBAURIJcHeKk75L2hojSwxVvZcBJA5qmaxZ26 niQZ+h7d36cAl5zt2l7HAV9sErY6iS+z1CrkkY/ebSllc2PnMAAz0yHkgTqU/ky63O0h g5BdkB6RktHEPYcv2GCRXdIOzMFsKClArEpOUcKHu6p1stbVA0i7xogFts6ooVRVaNYm 6Ynb1ZKiZlvPW/d5PZfc/5HwDusdnMl/ovAxQLvlfKQMHWDO3U47aJZ0gMoAhgDvOfVZ u7x1qICe+KqQreJS/M5IrR/tYhBR1HBDLjEYUQHPelUu9Kwr1JDShLHj6G4mhI5U85C2 +PJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :dkim-signature:arc-authentication-results; bh=8LgrKLal1+Zb5qxqmyq4K+BsEZi9ZYe1OzYpEP/CZLs=; b=hj59g0zqHaRyPt25nG9wWQ+g5PiuhhfyXLat31RCpVKYAMI15xztsn5lQZJqFy42zB leNhuUlPLfmpnMdhypGuG/Wk2qZbbsnoMdFp9+MfwVc6v40isclkgrm2I3CwAh0C+tv6 yO9I0I9RtSoWHdEWE55knEYjvyBi5bPNmzmf4MMfgYk1jQq+Y3sD7KcEkNDPvDaBWpA5 eqzBRGvP3Wc7kcEVLNh1vNjKGTTflubXiLwwsWGFUZRiL6t+6K06C9lrOEuQQolkoRGm isWwy4N2e9eiI5K+pbirvlCCIDr/QRMOMX96nK4Yo4Aiu974ta54HupedA8VHMFj9Kqd BnFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bzF0xtOT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si4221671pgs.235.2018.03.07.02.13.22; Wed, 07 Mar 2018 02:13:37 -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=pass header.i=@gmail.com header.s=20161025 header.b=bzF0xtOT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189AbeCGKMG (ORCPT + 99 others); Wed, 7 Mar 2018 05:12:06 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:41539 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeCGKMD (ORCPT ); Wed, 7 Mar 2018 05:12:03 -0500 Received: by mail-pg0-f68.google.com with SMTP id q27so703513pgn.8 for ; Wed, 07 Mar 2018 02:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=8LgrKLal1+Zb5qxqmyq4K+BsEZi9ZYe1OzYpEP/CZLs=; b=bzF0xtOTHoE5OG2trcoAqPpsn1h3PE2mB8qU3SYFa3JrXMeYhsD625NkzGhiUNLcHL 5aXR06TPOHck86N+ucrglNAkWMqvDJsTJZ/5Cjr7l6lSqivyWSd7LyYA9opcA/NzMKOI az1Fscqf8ZV/mwqjd9vm8BFIpq1GGoJBNXmnP77kQne6q0TB+VV3LJhwuTPggwVzqGR6 8HNs4VR4H0GK02Su2qzjOTPTvMKhvnpVEXl1jvPXVce4kBswTA9EcCUqdnepSB8Sfyqy gz3PDjlcQU2lt6MG3WaclSh+9Hy+BhrH+U9/cxuTBf8hAPJyHUW3/mqrU1YwIq9UT4GF J2nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=8LgrKLal1+Zb5qxqmyq4K+BsEZi9ZYe1OzYpEP/CZLs=; b=P1+h8121fEGpruvb1/xhu0CY9hnRAUYX8Adk13xmE2EVyXyTChAzrba3G9H8c1i8lp sIie9DkQDrZ8YFRqZCzmGJWxIFg7An7V7UGdGsCiyzOMxOX/gM0PXbTJe0jdumBjAqQc kiTB2e5P8hCW5Fc/FSQxNk2sVoNRwc0CyPPWRoXRoVjy9VUW2qS/hUBQQi65aFRp0MgV TkX9/9lAv6ZRlBRVo9N64AOwOvaoulpigiFA45Vhwvdc0+LVXR3V32O9WY0B4GlKucAC +muwu3p4jnfEq8pYIV4EIWv2l1CPX2uWXIfOrsWtFPvXT5MnpgqtK1Ci9jF7ckncPh6L IwCA== X-Gm-Message-State: APf1xPDT8L1gEnZepc8p9MnbTYwxMhqn9HH4HASTDl5XIZPvOvnAxtuK QK+mNM3g2uXIaOM/3xoLp0JMuw== X-Received: by 10.101.97.135 with SMTP id c7mr17654518pgv.425.1520417522414; Wed, 07 Mar 2018 02:12:02 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id f7sm26487862pgq.66.2018.03.07.02.12.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Mar 2018 02:12:01 -0800 (PST) From: Greentime Hu X-Google-Original-From: Greentime Hu To: linux-kernel@vger.kernel.org, arnd@arndb.de, greentime@andestech.com, green.hu@gmail.com Subject: [PATCH] nds32: fix building failed if using elf toolchain. Date: Wed, 7 Mar 2018 18:11:03 +0800 Message-Id: <20180307101103.28742-1-greentime@andestech.com> X-Mailer: git-send-email 2.16.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OUTPUT_FORMAT is not necessary here and the elf toolchain doesn't support these formats. Since kernel should be built pass with elf or Linux toolchain. This can be removed from vdso.ld.S These are the built failed messages. VDSOL arch/nds32/kernel/vdso/vdso.so.dbg /home/users/greentime/tmp/nds32le-elf-newlib-v3-upstream-b224/bin/../lib/gcc/nds32le-elf/8.0.1/../../../../nds32le-elf/bin/ld: target elf32-nds32le-linux not found collect2: error: ld returned 1 exit status make[1]: *** [arch/nds32/kernel/vdso/vdso.so.dbg] Error 1 make: *** [vdso_prepare] Error 2 Signed-off-by: Greentime Hu --- arch/nds32/kernel/vdso/vdso.lds.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/nds32/kernel/vdso/vdso.lds.S b/arch/nds32/kernel/vdso/vdso.lds.S index 36630352ee02..1f2b16004594 100644 --- a/arch/nds32/kernel/vdso/vdso.lds.S +++ b/arch/nds32/kernel/vdso/vdso.lds.S @@ -8,7 +8,6 @@ #include #include -OUTPUT_FORMAT("elf32-nds32le-linux", "elf32-nds32be-linux", "elf32-nds32le-linux") OUTPUT_ARCH(nds32) SECTIONS -- 2.16.1