From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from msmail.insydesw.com.tw (ms.insydesw.com [211.75.113.220]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CD16021CE747B for ; Thu, 20 Jul 2017 10:59:39 -0700 (PDT) Received: from msmail.insydesw.com.tw ([fe80::74f7:f173:f4aa:9a05]) by msmail.insydesw.com.tw ([fe80::74f7:f173:f4aa:9a05%11]) with mapi id 14.01.0438.000; Fri, 21 Jul 2017 02:01:31 +0800 From: Tim Lewis To: "Kinney, Michael D" , "edk2-devel@lists.01.org" Thread-Topic: Using NULL| style library linkable in EDK2 Thread-Index: AdMBdQW/ajMT99Y2Rv2C1SL0YNQE3QAC0IRgAAB5hqA= Date: Thu, 20 Jul 2017 18:01:30 +0000 Message-ID: <7236196A5DF6C040855A6D96F556A53F615B6B@msmail.insydesw.com.tw> References: <7236196A5DF6C040855A6D96F556A53F61597E@msmail.insydesw.com.tw> In-Reply-To: Accept-Language: en-US, zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.108] MIME-Version: 1.0 Subject: Re: Using NULL| style library linkable in EDK2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 17:59:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Mike -- Ok, I will enter it into Bugzilla later today. Tim -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Kinn= ey, Michael D Sent: Thursday, July 20, 2017 10:57 AM To: Tim Lewis ; edk2-devel@lists.01.org; Kinney, Mich= ael D Subject: Re: [edk2] Using NULL| style library linkable in EDK2 Hi Tim, You are correct. The use of NULL lib class in [LibrrayClass] section appea= rs to have been functional since at least 2010 when it was added to the Bea= gleBoardPkg.dsc file. https://github.com/tianocore/edk2/commit/a957d4a7810e3bf1c95e9bb30d83271e40= 7093a0 Though this specific use case is for intrinsic libs that need to be uncondi= tionally linked to all ARM modules, the EDK II build feature is not limited= to intrinsic libs. I think an intrinsic lib is just a good example use of= this feature. Can you please enter a Bugzilla issue against the specs that have these inc= orrect statements? Thanks, Mike > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of=20 > Tim Lewis > Sent: Thursday, July 20, 2017 9:30 AM > To: edk2-devel@lists.01.org > Subject: [edk2] Using NULL| style library linkable in EDK2 >=20 > Per the DSC specification (section 2.7), it is not legal to use a > NULL| in the LIbraryClasses section. >=20 > The reserved library class keyword, NULL is not permitted in any of=20 > the [LibraryClasses] sections. The NULL Library class keyword is only=20 > permitted within the [Components] section's INF file subsection. > However, it appears that this exact construct is not only used, but=20 > required for Compiler Intrinsic libraries (such as used in the ARM=20 > build in ArmPkg.dsc). >=20 > So I suggest that this line in the specification be modified to state=20 > "Except for compiler intrinsic libraries, the..." >=20 > Thanks, >=20 > Tim Lewis > CTO, Insyde Software > www.insyde.com >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel