From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.52440.1680262781091674492 for ; Fri, 31 Mar 2023 04:39:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QnocYVVk; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680262780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uWrGe6+Jw1rLARrtF2PSURY3tgD0EurymUuFbw5CyJI=; b=QnocYVVkjDsGeRtPff6VukJ47ul5Rz6+wTc74FWYSgMRhYKkeWNcHPGpwtVR6edtIKVeLb ump646s4VeXNgDZdhjr8uBpZ4XCGSJ8+TzSanvBRjrqbZuuSoQ/0SZSyOAiR4z3VF9cqtZ UBa0Wdi9ek9Uf4eIW0JQi5mzSF3ax0E= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-594-3-X6RdshPsqFNq1U6vA7MQ-1; Fri, 31 Mar 2023 07:39:35 -0400 X-MC-Unique: 3-X6RdshPsqFNq1U6vA7MQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 21B55811E7C; Fri, 31 Mar 2023 11:39:35 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.100]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D418D4042AC0; Fri, 31 Mar 2023 11:39:34 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 37C8B18000A3; Fri, 31 Mar 2023 13:39:33 +0200 (CEST) Date: Fri, 31 Mar 2023 13:39:33 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, pedro.falcato@gmail.com Cc: "Kinney, Michael D" , "Lin, Benny" , "Gao, Liming" , "Liu, Zhiguang" , Sean Brogan , Michael Kubacki , Leif Lindholm Subject: Re: [edk2-devel] [PATCH 0/2] Support FDT library. Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > > Getting down to one libc wrapper would be great. Do you want to provide a proposed > > implementation? That could be handled as a separate task. > > I would like it if we could stop contributing to that problem. We very > much *know* there is a problem with both libc fragments and compiler > intrinsic fragments all over edk2. I'd suggest to start with what we already have in the tree. Which is (not fully sure the list is actually complete): - CryptoPkg/Library/Include/ carrying the bits needed to make openssl compile, and - CryptoPkg/Library/IntrinsicLib (again, for openssl, mostly IA32, some X64) and, - ArmPkg/Library/CompilerIntrinsicsLib (mostly ARM, some AARCH64). Can we move that over to MdePkg so everyone can easily share it instead of adding more copies of the same to the tree? I have an old branch gathering dust doing that for the intrinsics, I can try rebasing it to latest master next week ... take care, Gerd