From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Tan, Dun" <dun.tan@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>,
Gerd Hoffmann <kraxel@redhat.com>
Cc: Oliver Steffen <osteffen@redhat.com>,
Pawel Polawski <ppolawsk@redhat.com>,
"Wang, Jian J" <jian.j.wang@intel.com>,
Xiaoyu Lu <xiaoyux.lu@intel.com>,
"Jiang, Guomin" <guomin.jiang@intel.com>,
"Liu, Zhiguang" <zhiguang.liu@intel.com>,
"Zeng, Star" <star.zeng@intel.com>
Subject: Re: [edk2-devel] [PATCH v3 0/8] CryptoPkg updates for openssl 3.0
Date: Wed, 20 Apr 2022 02:40:09 +0000 [thread overview]
Message-ID: <MW4PR11MB5872F3912B83B7C10627F17B8CF59@MW4PR11MB5872.namprd11.prod.outlook.com> (raw)
In-Reply-To: <BL1PR11MB5477A2E3EE9DC119A3D17A6EE5F29@BL1PR11MB5477.namprd11.prod.outlook.com>
Hi Gerd
Do you have any comment for the regression issue?
I think we should remove "restrict" keyword.
Thank you
Yao Jiewen
> -----Original Message-----
> From: Tan, Dun <dun.tan@intel.com>
> Sent: Tuesday, April 19, 2022 5:27 PM
> To: devel@edk2.groups.io; Yao, Jiewen <jiewen.yao@intel.com>; Gerd
> Hoffmann <kraxel@redhat.com>
> Cc: Oliver Steffen <osteffen@redhat.com>; Pawel Polawski
> <ppolawsk@redhat.com>; Wang, Jian J <jian.j.wang@intel.com>; Xiaoyu Lu
> <xiaoyux.lu@intel.com>; Jiang, Guomin <guomin.jiang@intel.com>; Liu,
> Zhiguang <zhiguang.liu@intel.com>; Zeng, Star <star.zeng@intel.com>
> Subject: RE: [edk2-devel] [PATCH v3 0/8] CryptoPkg updates for openssl 3.0
>
> Hi Hoffmann,
>
> When building CryptoPkg, I found a build failure caused by this patch "
> CryptoPkg/CrtLibSupport: fix strcpy"
> https://github.com/tianocore/edk2/commit/fab6285a73c4c73bb131792d0afb2
> 0be369082d1.
> When building CryptoPkg with the command " build -p CryptoPkg/CryptoPkg.dsc
> -b DEBUG -t VS2015x86 -a IA32 -a X64 ", it failed with the following log:
> c:\code\edk2\edk2\CryptoPkg\Library\Include\CrtLibSupport.h(400): error
> C2146: syntax error: missing ')' before identifier 'strDest'
> c:\code\edk2\edk2\CryptoPkg\Library\Include\CrtLibSupport.h(400): error
> C2061: syntax error: identifier 'strDest'
> c:\code\edk2\edk2\CryptoPkg\Library\Include\CrtLibSupport.h(400): error
> C2059: syntax error: ';'
> c:\code\edk2\edk2\CryptoPkg\Library\Include\CrtLibSupport.h(400): error
> C2059: syntax error: ','
> c:\code\edk2\edk2\CryptoPkg\Library\Include\CrtLibSupport.h(402): error
> C2059: syntax error: ')'
>
> I guess the root cause is the "restrict" keyword in this patch is not supported by
> VS2015.
> Can you please to fix this issue?
>
> Thanks,
> Dun
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yao, Jiewen
> Sent: Tuesday, April 12, 2022 10:41 PM
> To: Gerd Hoffmann <kraxel@redhat.com>; devel@edk2.groups.io
> Cc: Oliver Steffen <osteffen@redhat.com>; Pawel Polawski
> <ppolawsk@redhat.com>; Wang, Jian J <jian.j.wang@intel.com>; Xiaoyu Lu
> <xiaoyux.lu@intel.com>; Jiang, Guomin <guomin.jiang@intel.com>
> Subject: Re: [edk2-devel] [PATCH v3 0/8] CryptoPkg updates for openssl 3.0
>
> Thanks for the contribution.
> Merged https://github.com/tianocore/edk2/pull/2766
>
> > -----Original Message-----
> > From: Gerd Hoffmann <kraxel@redhat.com>
> > Sent: Monday, April 11, 2022 7:25 PM
> > To: devel@edk2.groups.io
> > Cc: Oliver Steffen <osteffen@redhat.com>; Pawel Polawski
> > <ppolawsk@redhat.com>; Wang, Jian J <jian.j.wang@intel.com>; Xiaoyu Lu
> > <xiaoyux.lu@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>; Jiang,
> > Guomin <guomin.jiang@intel.com>; Gerd Hoffmann <kraxel@redhat.com>
> > Subject: [PATCH v3 0/8] CryptoPkg updates for openssl 3.0
> >
> > First batch of patches which update CrtLibSupport so it has everything
> > needed to build openssl3. Also a testcase update for openssl3.
> >
> > This does not update the openssl submodule, that'll happen in a
> > followup patch series.
> >
> > v3:
> > - move strcpy() from .h to .c file.
> > - pick up review tags
> > v2:
> > - rebase to latest master.
> > - add codestyle exception for fcntl.h.
> >
> > Gerd Hoffmann (8):
> > CryptoPkg/CrtLibSupport: add fcntl.h
> > CryptoPkg/CrtLibSupport: add strstr()
> > CryptoPkg/CrtLibSupport: add INT_MIN
> > CryptoPkg/CrtLibSupport: add UINT_MAX
> > CryptoPkg/CrtLibSupport: add MODULESDIR
> > CryptoPkg/CrtLibSupport: add off_t
> > CryptoPkg/CrtLibSupport: fix strcpy
> > CryptoPkg/UnitTest: fix DH testcase
> >
> > CryptoPkg/Library/Include/CrtLibSupport.h | 12 +++++++++++-
> > CryptoPkg/Library/Include/fcntl.h | 9 +++++++++
> > CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 ++++++++++
> > .../Test/UnitTest/Library/BaseCryptLib/DhTests.c | 6 +++---
> > CryptoPkg/CryptoPkg.ci.yaml | 1 +
> > 5 files changed, 34 insertions(+), 4 deletions(-) create mode 100644
> > CryptoPkg/Library/Include/fcntl.h
> >
> > --
> > 2.35.1
>
>
>
>
>
prev parent reply other threads:[~2022-04-20 2:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 11:24 [PATCH v3 0/8] CryptoPkg updates for openssl 3.0 Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 1/8] CryptoPkg/CrtLibSupport: add fcntl.h Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 2/8] CryptoPkg/CrtLibSupport: add strstr() Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 3/8] CryptoPkg/CrtLibSupport: add INT_MIN Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 4/8] CryptoPkg/CrtLibSupport: add UINT_MAX Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 5/8] CryptoPkg/CrtLibSupport: add MODULESDIR Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 6/8] CryptoPkg/CrtLibSupport: add off_t Gerd Hoffmann
2022-04-11 20:12 ` [edk2-devel] " Pedro Falcato
2022-04-11 11:24 ` [PATCH v3 7/8] CryptoPkg/CrtLibSupport: fix strcpy Gerd Hoffmann
2022-04-11 11:24 ` [PATCH v3 8/8] CryptoPkg/UnitTest: fix DH testcase Gerd Hoffmann
2022-04-12 14:40 ` [PATCH v3 0/8] CryptoPkg updates for openssl 3.0 Yao, Jiewen
2022-04-19 9:27 ` [edk2-devel] " duntan
2022-04-20 2:40 ` Yao, Jiewen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MW4PR11MB5872F3912B83B7C10627F17B8CF59@MW4PR11MB5872.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox