On 6/22/20 8:16 PM, Dong, Eric via groups.io wrote: > > >> -----Original Message----- >> From: [email protected] <[email protected]> On Behalf Of Laszlo >> Ersek >> Sent: Friday, June 19, 2020 11:39 PM >> To: Tom Lendacky <[email protected]>; [email protected]; >> Dong, Eric <[email protected]> >> Cc: Brijesh Singh <[email protected]>; Ard Biesheuvel >> <[email protected]>; Justen, Jordan L <[email protected]>; >> Gao, Liming <[email protected]>; Kinney, Michael D >> <[email protected]>; Ni, Ray <[email protected]> >> Subject: Re: [edk2-devel] [PATCH v9 08/46] UefiCpuPkg: Implement library >> support for VMGEXIT >> >> On 06/19/20 15:50, Tom Lendacky wrote: >>> On 6/19/20 2:47 AM, Dong, Eric via groups.io wrote: >>>> >>>> >>>>> -----Original Message----- >>>>> From: [email protected] <[email protected]> On Behalf Of >>>>> Lendacky, Thomas >>>>> Sent: Thursday, June 18, 2020 10:09 PM >>>>> To: Dong, Eric <[email protected]>; [email protected] >>>>> Cc: Brijesh Singh <[email protected]>; Ard Biesheuvel >>>>> <[email protected]>; Justen, Jordan L >> <[email protected]>; >>>>> Laszlo Ersek <[email protected]>; Gao, Liming <[email protected]>; >>>>> Kinney, Michael D <[email protected]>; Ni, Ray >>>>> <[email protected]> >>>>> Subject: Re: [edk2-devel] [PATCH v9 08/46] UefiCpuPkg: Implement >> library >>>>> support for VMGEXIT >>>>> >>>>> On 6/18/20 2:23 AM, Dong, Eric wrote: >>>>>> Hi Tom, >>>>>> >>>>>> When use VS2015 to build this code, it reports below error. Please >>>>>> help to >>>>> fix it. >>>>>> >>>>>> k:\edk2\UefiCpuPkg\Include\Library/VmgExitLib.h: error C2220: >> warning >>>>>> treated as error - no 'object' file generated >>>>>> k:\edk2\UefiCpuPkg\Include\Library/VmgExitLib.h: warning C4335: >> Mac >>>>>> file format detected: please convert the source file to either DOS or >>>>>> UNIX format >>>>> >>>>> That is strange... I didn't see this when I ran through the CI. When >>>>> I do a file >>>>> command against the file it reports: >>>>> >>>>> UefiCpuPkg/Include/Library/VmgExitLib.h: C source, ASCII text, with >> CRLF >>>>> line terminators >>>>> >>>>> I'll investigate this and try and figure out what's going on, but if >>>>> anyone else >>>>> has some ideas, please let me know. >>>> >>>> Hi Tom, >>>> >>>> I met this error again when I trig below patch from AMD again for CPU >>>> change. >>>> "UefiCpuPkg: Move StandardSignatureIsAuthenticAMD to >> BaseUefiCpuLib" >>> >>> Hmmm... I think we could be running into issues with sending patches >>> through our mail servers. Let me send you the patch series directly >>> using some changes I made to my git config file to see if that helps. >>> Would that be ok? >> >> both sender and recipient git clones should have >> >> [core] >> whitespace = cr-at-eol >> >> and the recipient clone should have >> >> [am] >> keepcr = true >> >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Ftianocore.github.io%2Fwiki%2FLaszlo%27s-unkempt-git-&data=02%7C01%7Cthomas.lendacky%40amd.com%7Cd461956236264e4a6d3a08d81713205d%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637284718210751789&sdata=ftFiRZkC3n2n2MZyL6t9HKnp1fYgzUQV4FRBvVNQ4%2FA%3D&reserved=0 >> guide-for-edk2-contributors-and-maintainers#contrib-05 >> >> These are also set by "BaseTools/Scripts/SetupGit.py". >> > > Hi Tom, > > I see below context in another mail thread and base on the latest status, > this solution works and that patch has fixed the issue. Can you follow below > suggest fixing your issue? > > Hi Garrett, > > I encounter below error when build > UefiCpuPkg\Library\BaseUefiCpuLib\BaseUefiCpuLib.c: warning C4335: Mac > file format detected: please convert the source file to either DOS or UNIX > format' > > I encounter the issue ever, it result by mail encoding. > To resolve this issue, you can run [BaseTools\ Scripts\SetupGit.py] > first, and then send the patch again. > > Could you try it and send the patch again?
Hi Eric, I already had those settings in my git config file, so I'm thinking it was still something else. I sent you a direct set of patches with some other setting tweaks. Let me know how those work out for you. Thanks, Tom > > Thanks, > Eric > >> Thanks >> Laszlo >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#61599): https://edk2.groups.io/g/devel/message/61599 Mute This Topic: https://groups.io/mt/74692413/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
