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=-7.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 374E3C433FE for ; Wed, 9 Dec 2020 19:00:20 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01658233F8 for ; Wed, 9 Dec 2020 19:00:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01658233F8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CrmZm3F1BzDqwM for ; Thu, 10 Dec 2020 06:00:16 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=jozef.wludzik@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CrmVj6cs7zDqtW for ; Thu, 10 Dec 2020 05:56:44 +1100 (AEDT) IronPort-SDR: NusVjgGsVuqvKplfs1dGNrF0yq1+ujzzP/TZ6udQ3xTjTbYBK+Xufp3oB9tDypQhYvBVkm4MYS rJQfitRRjTbw== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="174248115" X-IronPort-AV: E=Sophos;i="5.78,405,1599548400"; d="scan'208,217";a="174248115" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 10:56:38 -0800 IronPort-SDR: siv+077/Dlz2tHuph9j+YQPXX31gpdB+yEtcDtw4Kc72D9cfAVGm6QA+ncv8kXak65FCyKGJGd FgAtYGkG/3KQ== X-IronPort-AV: E=Sophos;i="5.78,405,1599548400"; d="scan'208,217";a="364263501" Received: from jwludzik-mobl.ger.corp.intel.com (HELO [10.213.12.69]) ([10.213.12.69]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 10:56:37 -0800 Subject: Re: OpenBMC CI issue To: Jayashree D , "openbmc@lists.ozlabs.org" References: From: "Wludzik, Jozef" Message-ID: <30aef9df-2a96-9b27-52ba-fcaa6628f1c2@linux.intel.com> Date: Wed, 9 Dec 2020 19:56:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------5C417EDF081B1601CB48F760" Content-Language: en-US X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" This is a multi-part message in MIME format. --------------5C417EDF081B1601CB48F760 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Yes, remove compilation flag '-fno-rtti' from you makefile or cmakefile. If you use meson, then set cpp_rtti to true in default_options for project. It is known problem in boost 1.74.0 https://github.com/openbmc/x86-power-control/issues/7 Thanks, Jozef On 12/9/2020 17:00 PM, Jayashree D wrote: > > Classification: *Public* > > Hi Team, > > I am getting the following error in Gerrit OpenBMC CI issues. Please > provide some inputs/suggestions on this. > > /usr/local/include/boost/asio/execution/any_executor.hpp: In static > member function ‘static const std::type_info& > boost::asio::execution::detail::any_executor_base::target_type_void()’: > > /usr/local/include/boost/asio/execution/any_executor.hpp:811:23: > error: cannot use ‘typeid’ with ‘-fno-rtti’ > >   811 |     return typeid(void); > >       |                       ^ > > /usr/local/include/boost/asio/execution/any_executor.hpp: In static > member function ‘static const std::type_info& > boost::asio::execution::detail::any_executor_base::target_type_ex()’: > > /usr/local/include/boost/asio/execution/any_executor.hpp:851:21: > error: cannot use ‘typeid’ with ‘-fno-rtti’ > >   851 |     return typeid(Ex); > > Regards, > > Jayashree > > ::DISCLAIMER:: > ------------------------------------------------------------------------ > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. E-mail transmission is not > guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or > may contain viruses in transmission. The e mail and its contents (with > or without referred errors) shall therefore not attach any liability > on the originator or HCL or its affiliates. Views or opinions, if any, > presented in this email are solely those of the author and may not > necessarily reflect the views or opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, > modification, distribution and / or publication of this message > without the prior written consent of authorized representative of HCL > is strictly prohibited. If you have received this email in error > please delete it and notify the sender immediately. Before opening any > email and/or attachments, please check them for viruses and other defects. > ------------------------------------------------------------------------ --------------5C417EDF081B1601CB48F760 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Yes, remove compilation flag '-fno-rtti' from you makefile or cmakefile. If you use meson, then set cpp_rtti to true in default_options for project.
It is known problem in boost 1.74.0
https://github.com/openbmc/x86-power-control/issues/7
Thanks,
Jozef

On 12/9/2020 17:00 PM, Jayashree D wrote:

Classification: Public

Hi Team,

 

I am getting the following error in Gerrit OpenBMC CI issues. Please provide some inputs/suggestions on this.

 

/usr/local/include/boost/asio/execution/any_executor.hpp: In static member function ‘static const std::type_info& boost::asio::execution::detail::any_executor_base::target_type_void()’:

/usr/local/include/boost/asio/execution/any_executor.hpp:811:23: error: cannot use ‘typeid’ with ‘-fno-rtti’

  811 |     return typeid(void);

      |                       ^

/usr/local/include/boost/asio/execution/any_executor.hpp: In static member function ‘static const std::type_info& boost::asio::execution::detail::any_executor_base::target_type_ex()’:

/usr/local/include/boost/asio/execution/any_executor.hpp:851:21: error: cannot use ‘typeid’ with ‘-fno-rtti’

  851 |     return typeid(Ex);

 

Regards,

Jayashree

 

 

::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.

--------------5C417EDF081B1601CB48F760--