Return-Path: Received: from mail9.pr.hu (mail9.pr.hu [87.242.0.9]) by mail.openembedded.org (Postfix) with ESMTP id 49D07611B5 for ; Thu, 27 Feb 2020 06:21:13 +0000 (UTC) Received: from [2a02:808:3:101::5] (helo=mail.pr.hu) by frontdoor.pr.hu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j7CXq-0001yP-69 for openembedded-core@lists.openembedded.org; Thu, 27 Feb 2020 07:21:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pr.hu; s=pr20170203; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uzSvQZs27poos+SyizEC25rm0cDKAzLGJV9UgDKH2XU=; b=LX17EBU6G+qQE55GCvqFMoEq9l iG9i49Z4udjVj5TINYPrsFq8jOMBK18bswcBQTokRjkxplvXIy4HpupyMvdrVs1BIYXKjHoDwgL0J yoEZ1dwgWZ7Z5vuaOhZlSHySWfaexBkLpOdmXhKwGFDLfrdGEyo7FvBvdIZEYgRyQk5fYitp9QlmF SWwaqG4uHy6/MceFak6nmJxo6FKWDuU+IT+4zk99NDqkVWSFJauhMUkTksMYqQIsXB3URf7p0qEVx LBPcRTEGLJSQwJOtUTKwr8OxIq+8PFpLbXbCpyTA38c2knbFTcYk2HfSa8+RaAQTxLLrHnuD020jc I9z5/byQ==; Received: from host-87-242-33-197.prtelecom.hu ([87.242.33.197] helo=[192.168.1.2]) by mail.pr.hu with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1j7CXl-00018r-Uq for openembedded-core@lists.openembedded.org; Thu, 27 Feb 2020 07:21:12 +0100 To: OpenEmbedded Core Mailing List References: <20200227061657.66871-1-zboszor@pr.hu> From: =?UTF-8?B?QsO2c3rDtnJtw6lueWkgWm9sdMOhbg==?= Message-ID: Date: Thu, 27 Feb 2020 07:21:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200227061657.66871-1-zboszor@pr.hu> X-Spam-Score: -2.0 (--) X-Scan-Signature: fbcd1a6926db1c1d448730ed27ac6ca3 X-Spam-Tracer: backend.mail.pr.hu -2.0 20200227062112Z Subject: Re: [meta-clang][PATCH] conf/nonclangable.conf: Always build mesa with gcc X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2020 06:21:13 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Ignore this, the patch is against the zeus branch. Re-sent with the proper subject. 2020. 02. 27. 7:16 keltezéssel, Böszörményi Zoltán írta: > Building mesa (at least version 19.3.4) with clang 9.0.1 leads > to linker errors on x86/x86-64: > > "undefined reference to `typeinfo for llvm::raw_pwrite_stream'" > in libvulkan_radeon.so > > and > > "undefined reference to `typeinfo for llvm::RTDyldMemoryManager'" > in libgallium.a. > > It was reported at https://gitlab.freedesktop.org/mesa/mesa/issues/2533 > > It seems it is related to rtti not being enabled, at least reports > from a few years ago on forums lead to that conclusion. > But enabling rtti for clang in PACKAGECONFIG doesn't help. > > Just build mesa with gcc, it fixes the linker errors. > > Signed-off-by: Böszörményi Zoltán > --- > conf/nonclangable.conf | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf > index 70336bb..91b9965 100644 > --- a/conf/nonclangable.conf > +++ b/conf/nonclangable.conf > @@ -45,10 +45,9 @@ TOOLCHAIN_pn-libssp-nonshared = "gcc" > TOOLCHAIN_pn-libstd-rs = "gcc" > TOOLCHAIN_pn-m4_powerpc = "gcc" > # clang does not have 64bit atomics on mips32 > -TOOLCHAIN_pn-mesa_mips = "gcc" > -TOOLCHAIN_pn-mesa_mipsel = "gcc" > -TOOLCHAIN_pn-mesa_riscv64 = "gcc" > -TOOLCHAIN_pn-mesa_powerpc = "gcc" > +# building Mesa 19.3.x with clang causes linker errors on x86/x86-64 > +# See https://gitlab.freedesktop.org/mesa/mesa/issues/2533 > +TOOLCHAIN_pn-mesa = "gcc" > # multiple definition of 'mongo::error_details::isNamedCode<0>' > TOOLCHAIN_pn-mongodb = "gcc" > # variant-impl.hpp:309:36: error: 'is_variant' does not name a template but is followed by template arguments >