Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp408549imm; Thu, 14 Jun 2018 23:14:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK5VwoDBC/OJErELtLjA+5hFsiEvmDUdnoHzk5LlDdpcWcPmKHa8HYK04+jdJf8XQ7b4cx/ X-Received: by 2002:a17:902:e85:: with SMTP id 5-v6mr438028plx.318.1529043263276; Thu, 14 Jun 2018 23:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529043263; cv=none; d=google.com; s=arc-20160816; b=T7PSIUQ0cTBxoEvTPvIrT5PMMFLnpclxM02EtmaHGjxjSiDtEdSGjYnKKZHzs0yApd 6L3JiFbjert7YxawVQbAs1qYPz0BzAYLHACF8AzQQyNvvodRmWdPA9lR61MqNX/yX4jX 41917X8ZNC3yBtcJRn9tInQyMIshSZACkdfFvUpxye4sJcw9pjT3FdRzukz6YmDpdoPD MF35hWXQ4TmO438MAj6JtU4Fhl8YcbyTGe6E8DHuz3gsVWeYkCdw7sIWPowIR+X13FHH 2f6kJlrT7M+d8kpV+bzQ80M+RSwTa+r3K8lisk34ke2s0cqEjS8Etbc6aiYu/SpX4uho wjIg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=zcO3wnz67lF08tO8XpBac94HathTVkPGazRP40q0J4M=; b=gX+V7JO0uFHzvoRPUOXdMp+HcsntA7k1ONfVtpi5iS1eIz1KuWvVWMYXjTE/TD1lim VQAHS7M9YJ1c8lWnT26R4hv60is5kcReovUzlOKaUpKv8htJ30BMipUo9kkBVPJtvq/I QOmoCl2UMXJWDfamYW3t3sdjbRmuDbhevHJ2SnlzSp2/GCMbzgmsCsLbbMADEOhs0PKu 8OxJ7vW1GQsirNfEIAo4Lr+xiBgbAkVbs4wPunaxRN8Ne3284+JqXuwQ11JATyFQsCpI LOkKsgi9yGuxWnLlPDEahfYPTK8ifornq5kNxdoHNAdOLLPuthqwB4ctqpPzwMART82u HrpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rx5ZRmj9; 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 e14-v6si5825752pgt.185.2018.06.14.23.14.08; Thu, 14 Jun 2018 23:14:23 -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=pass header.i=@gmail.com header.s=20161025 header.b=rx5ZRmj9; 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 S1755757AbeFOGNh (ORCPT + 99 others); Fri, 15 Jun 2018 02:13:37 -0400 Received: from mail-vk0-f67.google.com ([209.85.213.67]:32897 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754603AbeFOGNf (ORCPT ); Fri, 15 Jun 2018 02:13:35 -0400 Received: by mail-vk0-f67.google.com with SMTP id 200-v6so5085304vkc.0 for ; Thu, 14 Jun 2018 23:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=zcO3wnz67lF08tO8XpBac94HathTVkPGazRP40q0J4M=; b=rx5ZRmj9IkAPd8jxLirr5RjE49yJbyFqzORq3F2BSN/1OwRlOrQVWLuvJp0cgU+pru Ll2zGjBCngD86362/WQ2SdqtflnB0y8VrmB8E1kt7cOePewFgasTxws+rXH5DGXgCHYh 9f4sb/CIdF6Vyi1qtBL5i6v/zAtZXyOY3nbOxIedtJsCj2LavcyNMLbyNZO0XOljt6Rv ICAddmEDIV9T6z27rxrTigZd/c/azbrC1dJWdB9zXXn6E2LGp3J7VP/ktMZQE4kwh07S Emly9Zf29OAnOapk2BoGKhN39TN3ROdnxSNOM0H+o7tJ9MrkZcRIA+8I32rY2A/Huovs Swiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zcO3wnz67lF08tO8XpBac94HathTVkPGazRP40q0J4M=; b=Ukjzkja6RwfwVuBP6wCCf0qnOsYINlO76t9D3EFefut1XfpZOnhDwLQRNbTw/2YoK4 msCy/WTBoM0+H2MEvalGVCamTxdzriXnBCV/nNpMaVHEG1fZgFHz/FA7+A7U1GY69rbH 0+ybgkzzGNW/zzHyD6lLEX81PnWAtO+0QBlMDvH1x29InlzJCiJ6yYYM8Jn23pjlicqD LBcA7tLWFQQelbmFRDUJTDfqve9btlReqrHHeV6NDk34q/e6fxUcApbHeUvUwMqQS/oS F1aUaxR+o8cNEKbdz43Z0QifGGq7dFKPHHZZNs2QZM0373266o5MyFY2OAzTdbTexqdd 7ySw== X-Gm-Message-State: APt69E34KELFVHP3JqUFWeXUFZs4equvf+FbDqOKlpYgYI7qVe174BTx GmHXsvXLe6QlmwwNlTfSBYvs4ukEH5JcvPvcuDc= X-Received: by 2002:a1f:aa4b:: with SMTP id t72-v6mr170640vke.80.1529043215121; Thu, 14 Jun 2018 23:13:35 -0700 (PDT) MIME-Version: 1.0 References: <20180614142852.22226-1-jhogan@kernel.org> In-Reply-To: <20180614142852.22226-1-jhogan@kernel.org> From: Greentime Hu Date: Fri, 15 Jun 2018 14:12:58 +0800 Message-ID: Subject: Re: [PATCH v2] nds32: Fix build error caused by configuration flag rename To: jhogan@kernel.org Cc: Vincent Chen , Linux Kernel Mailing List , Guenter Roeck , matt.redfearn@mips.com, palmer@sifive.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org James Hogan =E6=96=BC 2018=E5=B9=B46=E6=9C=8814=E6=97= =A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=8810:29=E5=AF=AB=E9=81=93=EF=BC=9A > > From: Guenter Roeck > > Fix build error on nds32 due to the merge of commit e3d5980568f ("lib: > Rename compiler intrinsic selects to GENERIC_LIB_*") during the 4.18 > merge window which renames Kconfig symbols. This had raced with commit > aeaa7af744fa ("nds32: lib: To use generic lib instead of libgcc to > prevent the symbol undefined issue.") merged late in the 4.17 cycle, > which added selects to nds32 using the original Kconfig symbol names. > > When they came together in merge commit 763f96944c95 ("Merge tag > 'mips_4.18' of > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux") this resulted > in the following build errors: > > nds32le-linux-ld: kernel/time/timekeeping.o: in function `timekeeping_ini= t': > timekeeping.c:(.init.text+0x140): undefined reference to `__ashldi3' > nds32le-linux-ld: timekeeping.c:(.init.text+0x144): undefined reference t= o `__ashldi3' > nds32le-linux-ld: timekeeping.c:(.init.text+0x17e): undefined reference t= o `__lshrdi3' > nds32le-linux-ld: timekeeping.c:(.init.text+0x182): undefined reference t= o `__lshrdi3' > nds32le-linux-ld: drivers/clocksource/mmio.o: in function `clocksource_mm= io_init': > mmio.c:(.init.text+0x54): undefined reference to `__lshrdi3' > nds32le-linux-ld: mmio.c:(.init.text+0x58): undefined reference to `__lsh= rdi3' > > Rename all 6 selects in nds32 and adjust the ordering accordingly to be > alphabetical. > > Fixes: 763f96944c95 ("Merge tag 'mips_4.18' of git://git.kernel.org/pub/s= cm/linux/kernel/git/mips/linux") > Signed-off-by: Guenter Roeck > [jhogan@kernel.org: Rename all 6 symbols, sort, update commit message] > Signed-off-by: James Hogan > Cc: Greentime Hu > Cc: Vincent Chen > Cc: Matt Redfearn > Cc: Palmer Dabbelt > --- > Changes in v2: > - Rename all 6 symbols, not just the 3 that caused build failures. > - Sort selects. > - Update commit message. Thank you James and Guenter. Should I pick it in my tree? It will be ok to put in your tree. :) Acked-by: Greentime Hu