Hi Mike, On 07/22/19 20:47, Michael D Kinney wrote: > We could consider checking for these type of issues in > the ECC tool instead of build and make it an error from > ECC instead of a warning.
I'm sorry, my reply to Leif was ambiguous (or worse). I meant that the issues underlying the specific warnings (emitted by the feature from TianoCore#1804) were annoying -- the reports were valid, and what "annoyed" me was that the INF files had not been in order (i.e. that they had missed some internal header files). I wasn't annoyed at the feature itself -- if it helps developers catch unlisted headers as soon as incomplete INF files are introduced, then it's not a bad feature IMO. I'd make a *light* argument for keeping the feature in "build", as opposed to ECC: - ECC performs a very deep investigation (and used to produce a number of false positives / noise). - Since commit c60377d7f9ec ("BaseTools: ECC tool Python3 adaption", 2019-02-01), ECC has been incompatible with Python2 (and requires antlr4, rather than antlr3). Thus, "build" works on more systems than ECC. - I think "unlisted internal headers in INF files" is a problem defined at the level of "build". That said, I don't feel strongly about these general questions; I just wanted to fix the actual warnings, because they were valid. Thanks Laszlo >> -----Original Message----- >> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] >> On Behalf Of Laszlo Ersek >> Sent: Monday, July 22, 2019 10:33 AM >> To: Leif Lindholm <leif.lindh...@linaro.org> >> Cc: edk2-devel-groups-io <devel@edk2.groups.io>; Ard >> Biesheuvel <ard.biesheu...@linaro.org>; Wang, Jian J >> <jian.j.w...@intel.com>; Ye, Ting <ting...@intel.com> >> Subject: Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, >> Crypto, Embedded: list internal headers in [Sources] >> >> On 07/22/19 12:37, Leif Lindholm wrote: >>> On Fri, Jul 19, 2019 at 06:43:15PM +0200, Laszlo Ersek >> wrote: >>>> Repo: https://github.com/lersek/edk2.git >>>> Branch: internal_hdrs >>>> >>>> The BaseTools build feature introduced for >> TianoCore#1804 / in commit >>>> 1fa6699e6cd4 ("BaseTools: Add a checking for Sources >> section in INF >>>> file", 2019-06-10) logs some (non-fatal) warnings >> about unlisted >>>> internal header files. List those files explicitly. >>> >>> Urgh. >>> Yeah. I'm still not super comfortable with this >> duplication of >>> dependency scanning (as discussed in >>> https://edk2.groups.io/g/devel/topic/31866190), but I >> have to confess >>> I also don't really care enough to do anything about >> it. >>> >>> So, while I'm tempted to keep the warnings around as a >> reminder, if >>> you prefer to get rid of them - for the pat of the >> series I was cc:d on: >>> Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org> >> >> Thanks! >> >> Yes, the warnings are an annoyance, and they are valid >> too. How the INF files are caught / reported is a >> separate question IMO. >> >> Thanks! >> Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44163): https://edk2.groups.io/g/devel/message/44163 Mute This Topic: https://groups.io/mt/32529014/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-