Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4522960ybb; Tue, 7 Apr 2020 09:05:35 -0700 (PDT) X-Google-Smtp-Source: APiQypKjJYn/R/+cuCxPmRtjWRyndkGXlSd8gFSotDRjeL5zNdhqvFaTnVnpRQXNu5umAqefR12/ X-Received: by 2002:aca:d553:: with SMTP id m80mr52501oig.30.1586275535485; Tue, 07 Apr 2020 09:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586275535; cv=none; d=google.com; s=arc-20160816; b=P2h7zPevtRlquKjsBTFo3dSUQcCOMFnMoS+0QeV757Xu/12+QTi+rUr1ewecMhUsZV kOZP9NLrHIHm/HrsOwg113oCtwwB+UgvD9A4T7GDaiKCXYM50qo6o3tpGm1CpRfewxAN rNoqVyPCZe95h4W4iK3cTAiwe2qlQeZNn2W2XbHdz4RjMzkbOMXiy4QEAbnBF2xSDi06 cw1RWtd1V5NrJEUp8oixCwyPSmj9kjpvJKga/+v0nzkXMCcAHTljJI1LEkrp3eXsMWe+ zRMGUuK9rWE3YaAC3PtSpYuqh5DYnv8xo5FxMi6pJfr6vFNGQEBimRAp3WPvsOen9XPA 1WtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=H1J7FezWT1dgglGN/erJ3S7DC6IYDiQ5DhPkx5GnfYo=; b=RO02avUb5Rde05lvb9k4DXwL3WjmCrLt1Tf4dY2zi8ThsGI1eA473VWIrKMDSriRhQ z4GrSfE8rsZo3ZsAlqXxexK0Vlkup9Ctc9qcC94xYWrUd9GbX5hwYRjw5Y4GCavd3qUV nju2k6PE+S4+KNlDfcFsbx2CjfPG97R0m7MhjKLbXsHpGEWuHfiCi3AcK7LsxupA0752 r2Ckc7HndDaqi9fevIQSKGq+fyKpNjsba6rB4GFBl9E49UgN7eFbqUlS0DAHsS9z0mX0 PzJWHi2xLoa3Ety+CayBAgL8Jzf8e4lcv+6sL7i/J2Sq2UlPm2a2ugjTc2l6LOiF9+Ko i52w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=djBLvGd0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t132si787891oih.173.2020.04.07.09.05.05; Tue, 07 Apr 2020 09:05:35 -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=@nifty.com header.s=dec2015msa header.b=djBLvGd0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728029AbgDGQDt (ORCPT + 99 others); Tue, 7 Apr 2020 12:03:49 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:24499 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727991AbgDGQDt (ORCPT ); Tue, 7 Apr 2020 12:03:49 -0400 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 037G3Ue9024707; Wed, 8 Apr 2020 01:03:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 037G3Ue9024707 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1586275411; bh=H1J7FezWT1dgglGN/erJ3S7DC6IYDiQ5DhPkx5GnfYo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=djBLvGd0L88sTtMnV7Ktcs7LOCu7upEpPBj4r3AIG6B3UH80aD6p0N80wXfqBwexX GmI2q73EAYBwYtYWbCYlXFHLvCk0pmkSQe7agC/KKcQcmjoZR+h0rbU2Yq0JACA1ny XCKJt7iKiI+sEqKyVoMsaqGz1LsWXxTKQvfWa3Ud3YJaWoQ+vr/7oZU4wZ0cAyyBBZ LEi0D3KUjNTJbnHCtOGF976xzP0f7k0HYwaZx3Pi5729+UL1iRziZsZbOIigrzHzxj TE8La+DxQ1PoUTkQxvPG38FHx+NP2C5EJ6yAZ3l13CasR4auPyw7KC8VV3UwbW2lJp qrMaiN+3XQoeQ== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id s10so2507357vsi.9; Tue, 07 Apr 2020 09:03:30 -0700 (PDT) X-Gm-Message-State: AGi0PuYav1JspkgY3FaVtAbcoJieQT8N6gSe4oRdkT3VJJ3lNyFxMjKR g+Z3gcVjx7pdfSgZmeW6gZSA0aLxFTOrN+iId8M= X-Received: by 2002:a67:6542:: with SMTP id z63mr2511247vsb.179.1586275409554; Tue, 07 Apr 2020 09:03:29 -0700 (PDT) MIME-Version: 1.0 References: <20200405163052.18942-1-masahiroy@kernel.org> <20200406110333.GA6266@alpha.franken.de> In-Reply-To: <20200406110333.GA6266@alpha.franken.de> From: Masahiro Yamada Date: Wed, 8 Apr 2020 01:02:53 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] MIPS: fw: arc: add __weak to prom_meminit and prom_free_prom_memory To: Thomas Bogendoerfer Cc: Linux Kbuild mailing list , Linux-MIPS , clang-built-linux , Linux Kernel Mailing List , Jiaxun Yang , Paul Burton , linux-mips@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 6, 2020 at 8:36 PM Thomas Bogendoerfer wrote: > > On Mon, Apr 06, 2020 at 01:30:52AM +0900, Masahiro Yamada wrote: > > As far as I understood, prom_meminit() in arch/mips/fw/arc/memory.c > > is overridden by the one in arch/mips/sgi-ip32/ip32-memory.c if > > CONFIG_SGI_IP32 is enabled. > > > > The use of EXPORT_SYMBOL in static libraries potentially causes a > > problem for the llvm linker [1]. So, I want to forcibly link lib-y > > objects to vmlinux when CONFIG_MODULES=y. > > > > As a groundwork, we must fix multiple definitions that have previously > > been hidden by lib-y. > > > > The prom_cleanup() in this file is already marked as __weak (because > > it is overridden by the one in arch/mips/sgi-ip22/ip22-mc.c). > > I think it should be OK to do the same for these two. > > > > [1]: https://github.com/ClangBuiltLinux/linux/issues/515 > > > > Reported-by: kbuild test robot > > Signed-off-by: Masahiro Yamada > > --- > > > > If MIPS maintainers ack this patch, > > I want to inser it before the following patch: > > > Acked-By: Thomas Bogendoerfer > > Thomas. Applied to linux-kbuild with Thomas' Ack. Thanks. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ] > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20200406110333.GA6266%40alpha.franken.de. -- Best Regards Masahiro Yamada