From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F867C433E1 for ; Wed, 10 Jun 2020 01:32:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2AF120691 for ; Wed, 10 Jun 2020 01:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591752738; bh=dzg/oN10DPBG44cDM1Zt9m1kfbMQP4Z1HCIljURfp1w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=hcmDVSTYDRmjhqndvmKBtHzRvhP7cQ/AzAu7PnEhA3XymUHuVf0WZwMDoQR06z0LK YSoPM77zHYAIfpf4M110b5iBgLUJCXZt4+oeBRN+Pe9S86WmWAMU8XsdItYqeOom0S zPqHRd0VPj9pKOkiSpfBGbAF7Q4a9TJR84nqmAEY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726042AbgFJBcR (ORCPT ); Tue, 9 Jun 2020 21:32:17 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:50001 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgFJBcQ (ORCPT ); Tue, 9 Jun 2020 21:32:16 -0400 Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com [209.85.222.51]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 05A1VuWh019158; Wed, 10 Jun 2020 10:31:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 05A1VuWh019158 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1591752717; bh=S2EWdblSOOwVEN+VucSLtxUOt416JWBmQq0pLM5fxBM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QUmAu6Ijp6xJjJBHRbB3X6eM4/YR6/nBW7T4EMNh1c15pA91IuduuWkNMFD+YLLsv m+nInATptxjTjWdWF0eaiHm4q6b/y6OjhC1gmCmnKgxp8MkONQ4phjckz7d+sfDnkH ERqm6X6kzWaExk5wGQz4KNmBpW5VIz4Mp1z23y+P/3uIDZgq2vQChN+JIgR7d1MGkq 6T08bLyGHiLPnmBFyJmcgQK8bcwJYIUuiPiuKKMKhmi9HLnmzIl398B9eFzRVG6eK7 MhhkCDmcyT68dBY7NtZlpJ/KQ+ealeOH6UVrzPT4ODe3LP4SE+F1aGkMXlKp+sBIGA 6Eo3NEkrpgKBg== X-Nifty-SrcIP: [209.85.222.51] Received: by mail-ua1-f51.google.com with SMTP id z47so297710uad.5; Tue, 09 Jun 2020 18:31:57 -0700 (PDT) X-Gm-Message-State: AOAM5323t3ovtrjTrRQ0mEFMWY6J2sfGPv+yOL798obK6mNBIniCJJj1 t9LkOVaS768fGO7/5sPQrQdbmDBkMfU+N8aiRzc= X-Google-Smtp-Source: ABdhPJy0bli/7m5Pe+rVE1l+8VJsyjIWmpq1ORdX2I/8/Dj0gWUTUU2kXTV2+4hH7pdmXatt733/zlN2l3k+sWrNv3o= X-Received: by 2002:ab0:7619:: with SMTP id o25mr811983uap.109.1591752715902; Tue, 09 Jun 2020 18:31:55 -0700 (PDT) MIME-Version: 1.0 References: <20200608084117.4563-1-jiping.ma2@windriver.com> <6c5b1422-5b8a-03fe-57ea-567767ed75e2@windriver.com> In-Reply-To: <6c5b1422-5b8a-03fe-57ea-567767ed75e2@windriver.com> From: Masahiro Yamada Date: Wed, 10 Jun 2020 10:31:19 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dtc: also check for libyaml To: Jiping Ma Cc: Rob Herring , Frank Rowand , DTML , "linux-kernel@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 Wed, Jun 10, 2020 at 10:12 AM Jiping Ma wrote: > > > > On 06/10/2020 08:28 AM, Masahiro Yamada wrote: > > On Tue, Jun 9, 2020 at 12:08 PM Jiping Ma wrote: > >> > >> > >> On 06/09/2020 10:52 AM, Masahiro Yamada wrote: > >>> On Tue, Jun 9, 2020 at 10:01 AM Jiping Ma wrote: > >>>> > >>>> On 06/09/2020 03:09 AM, Rob Herring wrote: > >>>>> On Mon, Jun 8, 2020 at 2:42 AM Jiping Ma wrote: > >>>>>> yamltree.c includes , If /usr/include/yaml.h does not exist, > >>>>>> it fails to build. > >>>>> Does this patch fix your issue?: > >>>>> > >>>>> https://lore.kernel.org/linux-devicetree/20200505100319.741454-1-masahiroy@kernel.org/ > >>>> No, it did not fix the issue. > >>>> > >>>> $ pkg-config --cflags yaml-0.1 > >>>> > >>>> $ pkg-config yaml-0.1 --libs > >>>> -L/buildarea/jma1/wr-19-0518/19.45/sysroots/aarch64-wrs-linux/usr/lib64 > >>>> -lyaml > >> This issue happened in Yocto, After completing the SDK build and > >> installing it, use a new shell to source the environment and try to > >> build the helper scripts. > >> export > >> SDKTARGETSYSROOT=/buildarea/jma1/wr-19-0518/19.45/sysroots/aarch64-wrs-linux > >> export > >> PKG_CONFIG_PATH=$SDKTARGETSYSROOT/usr/lib64/pkgconfig:$SDKTARGETSYSROOT/usr/share/pkgconfig > >>> > > > > Probably, this commit: > > > > https://github.com/yaml/libyaml/commit/3c80be99fb18f3ee18af37221a3b0c4760e8df06 > > > > > > Use newer libyaml, and that's fine. > This commit already was included in our code. Then, I have no idea, but this is not a problem in the kernel build. -- Best Regards Masahiro Yamada