Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4605432pxb; Mon, 27 Sep 2021 22:57:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQwt5uB2Zp4V9jVaGnQYCCOSgNzzUkMyTUuSuZBLv3NxeWR+CN6u4vqUOCx/D6bHTpl+g3 X-Received: by 2002:a50:9347:: with SMTP id n7mr5431038eda.249.1632808622846; Mon, 27 Sep 2021 22:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632808622; cv=none; d=google.com; s=arc-20160816; b=FlgFXvtbCRtc8IyqvoMQwDTD6Twxm67nj6gy9/kdmh9DbeQrjkfKu9M/AWYWUp3L9B tM80kGDMmZph1EmbjU6cxyus0JiHTVPUWql/liQDCDgx9YBinCx/laXZl1zIusv4d0MM u/Xs79ogY11mexMmucv2T46W5KQ+JV09+3sq06amYRyyZefSg8DGC/FqPpPM6NNctDPD t8i2ADXtwP/kqKf2II1KpcMydf/nCJlw+sU+i/XectgUwnopU+GhlOghSmn2BhUIeNG4 XVHfqeTbl2lunNXUMHXQcQZ16e2PBk0vMEmg4imooUrPo9H6wVE5aqNUuUMPoDl7FQ6Y VK/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=5K3Ay4lGUcLpwFXYDQYZ8YpeFnow4v5TO+RVmzcqTys=; b=x7rYaf27RYFx9Z23sCWpTtqG295n58Q8AttCsN79wnuI+LKb5rCijnzYw7fmD4Dnj9 qPQKHO/fUBxtjChuKXnMTn7wh3+WdLflMiY/586X3oA7yRys7JQioo95ij48Rye3G7PK Kz4TDpQ1dkeMPFoCEaBMq+duz9fF7eAu4usBLgYAoJqzpPLqzOhvtom0cUUpq9Mr7pyU 4FXux95B2zii3imWftTvHZdbzVZub+Z3iW3Wz19olM40coPyMcVoFDQAje0CH8cIZgPw Ra96ZgL4VJ1ociJrHCGJIXOyjTgiUK/E3ORzybrZExDWNqb0RplS0WzMrkDzmTitfF3A 86ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=dfawKkmN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si20003544edp.633.2021.09.27.22.56.39; Mon, 27 Sep 2021 22:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=dfawKkmN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237798AbhI1Fyc (ORCPT + 99 others); Tue, 28 Sep 2021 01:54:32 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]:55385 "EHLO gandalf.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234207AbhI1Fyb (ORCPT ); Tue, 28 Sep 2021 01:54:31 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HJTDw74v1z4xVP; Tue, 28 Sep 2021 15:52:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1632808371; bh=5K3Ay4lGUcLpwFXYDQYZ8YpeFnow4v5TO+RVmzcqTys=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dfawKkmNBVSNq/KK9JcPZnfv1ohfToQriS3s3gBPYOlYwQZSBasV2JxTiAsXSs5Dt qdb0Vvc29gSiYjr/q0+5gLV68ljYUScAxApIZL5JHdnLp03kdJcQscDyIa47+s5FgV PnvHUIQNtNRpGm9fMCLF8zdyh0bJ9vzWUvaWkK6f4sJcO153nwxBqFiqlqtkBGmEg0 uOu4xoRMJhMlst0MyTqig1+WSy821tEcVF2B+NaqGp89hEEOg4+LviTkzhICsNZTD6 qK99pM6cRbnkY2y7VKKLo01kG240b6ccKz7uqBYOxB/T6DAk6pN2nzUZHzoTRMd6Jq tmKKaRn7ZnFVA== Date: Tue, 28 Sep 2021 15:52:47 +1000 From: Stephen Rothwell To: Gary Guo Cc: Miguel Ojeda , Masahiro Yamada , Richard Weinberger , Adam Bratschi-Kaye , Alex Gaynor , Ayaan Zaidi , Boqun Feng , Boris-Chengbiao Zhou , Douglas Su , Finn Behrens , Fox Chen , Geoffrey Thomas , Michael Ellerman , Sumera Priyadarsini , Sven Van Asbroeck , Wedson Almeida Filho , Yuki Okushi , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the rust tree Message-ID: <20210928155247.5220932c@canb.auug.org.au> In-Reply-To: <20210928051849.00000e99@garyguo.net> References: <20210928140932.41432dff@canb.auug.org.au> <20210928051849.00000e99@garyguo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/kFkiue_cfI5n1cGJLam1XMq"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/kFkiue_cfI5n1cGJLam1XMq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Gary, On Tue, 28 Sep 2021 05:18:49 +0100 Gary Guo wrote: > > On Tue, 28 Sep 2021 14:09:32 +1000 > Stephen Rothwell wrote: >=20 > > Hi all, > >=20 > > After merging the rust tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > >=20 > > scripts/kconfig/confdata.c: In function 'rustc_cfg_print_symbol': > > scripts/kconfig/confdata.c:669:9: warning: implicit declaration of > > function 'sym_escape_string_value'; did you mean > > 'sym_set_string_value'? [-Wimplicit-function-declaration] 669 | str > > =3D sym_escape_string_value(value); | ^~~~~~~~~~~~~~~~~~~~~~~ | > > sym_set_string_value scripts/kconfig/confdata.c:669:7: > > warning: assignment to 'const char *' from 'int' makes pointer from > > integer without a cast [-Wint-conversion] 669 | str =3D > > sym_escape_string_value(value); | ^ /usr/bin/ld: > > scripts/kconfig/confdata.o: in function `rustc_cfg_print_symbol': > > confdata.c:(.text+0x738): undefined reference to > > `sym_escape_string_value' > >=20 > > Caused by commit > >=20 > > dc08d49444e9 ("Kbuild: add Rust support") > >=20 > > interacting with commit > >=20 > > 420a2bdbead2 ("kconfig: Refactor sym_escape_string_value") > >=20 > > from the kbuild tree. > >=20 > > I applied the following patch, but it doesn't seem quite right. =20 >=20 > That's indeed incorrect, if we have `CONFIG_FOO=3Dbar` then sym here is > `FOO` and value is `bar`. I think to resolve the conflict, 420a2bdbead2 > would have to be reverted. OK, I have done that for today. (I needed to revert 16f3610168218ed5e2eafa6978bb7f10c175c7a9 as well). --=20 Cheers, Stephen Rothwell --Sig_/kFkiue_cfI5n1cGJLam1XMq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmFSra8ACgkQAVBC80lX 0Gw2OQf/VtTxqKiROH5hgvyCs+z0Q4g6dsJyIJ3YKB0W03Pln3VxhWUHKODjPSx0 LlGpLm0wlHtYye9nEsao6e5bD/zzGg9N5K/vxnapX6pttAd0nnRjvKrctUieXMPS 37ecruyp/88C8kIcxUZyDvHR29UhDvxk8mFshR0zWMNiR5FgneMfu1i9fuNf5qyh nBww8AvSvomBLpyrDgPqKETP1EBX/QrPS4i3yxk7z8Ah5BwOL7JvvPP6Hiqbx8cg 0LShsvqPrdtBsYuFBGJNJ0lvDLS1zoU2gu4ZOtmEv97VsI9u6/UA/iUX5rL1iSOH lYmVTfymLl27Xpg9zjN/0J4KSv0OHQ== =XwcE -----END PGP SIGNATURE----- --Sig_/kFkiue_cfI5n1cGJLam1XMq--