From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id A19689415D0 for ; Fri, 1 Mar 2024 11:30:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=rhFZa1ivqjeRaOnr42Czw+hHAzf1ZwGgEW/1R7+GQa4=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:Reply-To:References:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1709292609; v=1; b=KvhS0DBC7uhuY2ki8/lzMg50ZXgWCaPryEqri5jGSrpQEN4nEeznm27I3DqTAq65idErjppP jp3qe/3+Vufw0MQoBajrwurG/G9wjJSAT0AXIzjS4Tby5Bt/q1u7Bo0oVIiqcfhrpN5vYIInYEk bVHoBU31ABWx/fJsegbHw0r4= X-Received: by 127.0.0.2 with SMTP id MIpgYY7687511xiIMmXcA6SN; Fri, 01 Mar 2024 03:30:09 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.20406.1709292608635378458 for ; Fri, 01 Mar 2024 03:30:08 -0800 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-379-H6shUOB7PmCaprLfRNIYSg-1; Fri, 01 Mar 2024 06:30:04 -0500 X-MC-Unique: H6shUOB7PmCaprLfRNIYSg-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DE8233C00094; Fri, 1 Mar 2024 11:30:03 +0000 (UTC) X-Received: from [10.39.194.215] (unknown [10.39.194.215]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6FDC5492BE8; Fri, 1 Mar 2024 11:30:02 +0000 (UTC) Message-ID: <742cdd8a-d356-b470-333a-2ed27aeb763e@redhat.com> Date: Fri, 1 Mar 2024 12:30:01 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [v2] BaseTools/AutoGen: declare ProcessLibraryConstructorList() for SEC modules From: "Laszlo Ersek" To: "Kinney, Michael D" Cc: Bob Feng , Liming Gao , Rebecca Cran , Yuwei Chen , edk2-devel-groups-io Reply-To: devel@edk2.groups.io,lersek@redhat.com References: <5e147cee-9fed-a1c8-7358-1162fdaf8f12@redhat.com> In-Reply-To: <5e147cee-9fed-a1c8-7358-1162fdaf8f12@redhat.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: rBxr2doRaXzpyzzi5I6dFV03x7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KvhS0DBC; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Hi Mike, can you please comment on the Build and Inf spec changes proposed in this thread? Thanks, Laszlo On 2/24/24 21:59, Laszlo Ersek wrote: > v1 posting: >=20 > https://edk2.groups.io/g/devel/message/115193 > msgid <36593e23-d3e8-b71a-808d-ef94260b5fd0@redhat.com> >=20 > Bugzilla: >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D991 >=20 > In version 2, the feature is structured differently. Following Mike's > advice, for compatibility, the ProcessLibraryConstructorList() > declaration in AutoGen.h is now gated on the SEC module having > INF_VERSION >=3D 1.30. >=20 > Accordingly, >=20 > - I now update the Build specification and the Inf specification (see > patch sets posted in response to this email), >=20 > - edk2 only receives a single patch (for AutoGen), for the time being, >=20 > - the same edk2 patch is being ported to edk2-basetools: > https://github.com/tianocore/edk2-basetools/pull/120. >=20 > Next steps: once all of the above is merged, *and* an edk2-basetools > release has been tagged and published, I'll rework the C code patches > for edk2 and edk2-platforms, from the v1 patch sets, as follows: >=20 > - all those SEC modules will have to see their INF_VERSIONs bumped to > 1.30, for triggering the new code generation, >=20 > - pip-requirements.txt/edk2-basetools will need to reference the new > edk2-basetools release, for exposing the feature in the first place. >=20 > Laszlo >=20 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116234): https://edk2.groups.io/g/devel/message/116234 Mute This Topic: https://groups.io/mt/104553597/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-