Re: State of the `edk2-libc` project

Rebecca Cran

I submitted a patch to fix it several weeks ago, but it never got committed.

Rebecca Cran

On Jul 14, 2021, at 11:36 AM, Konstantin Aladyshev <aladyshev22@...> wrote:


What is the state of the `edk2-libc` project?

The last commit is dated Apr 29, 2019. I've tried to compile
`edk2-libc` with the master `edk2` and have come to some build issues.

For example this edk2 commit (13 Oct 2020 "MdePkg: Remove code wrapped
have dropped support for several functions, but these functions are
still used in `edk2-libs`:
- `StrCpy` and `StrCpy` functions are used in
- `AsciiStrCat` and `AsciiStrnCat` functions are used in
In the modern `edk2` all these old functions are replaced with their
safe versions (StrCpyS, StrCpyS, AsciiStrCatS, AsciiStrnCatS).

My question is should these unsafe string functions be deprecated in
the `edk2-libc` as well? And more importantly does the tianocore
community have any plans for support of `edk2-libc` project or can it
be counted as obsolete?

Best regards,
Konstantin Aladyshev

Join { to automatically receive all group messages.