|
Re: OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
Thanks to catch this. Look forward to the patch.
I hope this can be resolved in this stable tag.
The mismatch on ASM_PFX seems a big problem.
If we can extend CI to catch it earlier, that would
Thanks to catch this. Look forward to the patch.
I hope this can be resolved in this stable tag.
The mismatch on ASM_PFX seems a big problem.
If we can extend CI to catch it earlier, that would
|
By
Yao, Jiewen
·
#90023
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
OK. Just want to clarify:
Are you discussing the solution now to resolve this issue, maybe in this stable tag?
Or are you discussing the long term solution?
For me, I am focusing on #1 how to
OK. Just want to clarify:
Are you discussing the solution now to resolve this issue, maybe in this stable tag?
Or are you discussing the long term solution?
For me, I am focusing on #1 how to
|
By
Yao, Jiewen
·
#90022
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Right. But as I said, GCC and Clang depend on 4 standard C library functions. This behavior is documented, and has been stable for probably the past decade or more. These are not intrinsics, but bog
Right. But as I said, GCC and Clang depend on 4 standard C library functions. This behavior is documented, and has been stable for probably the past decade or more. These are not intrinsics, but bog
|
By
Pedro Falcato
·
#90021
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
“Don’t use structure assignment” is our best known method to avoid compiler intrinsic in EDKII coding style since the project is created.
A third part library may include structure assignment,
“Don’t use structure assignment” is our best known method to avoid compiler intrinsic in EDKII coding style since the project is created.
A third part library may include structure assignment,
|
By
Yao, Jiewen
·
#90020
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Is there a legitimate reason not to define memcpy? It'd be easier to do so and comply to the compiler's requirements.
Is there a legitimate reason not to define memcpy? It'd be easier to do so and comply to the compiler's requirements.
|
By
Pedro Falcato
·
#90019
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Hi
Would you please use CopyMem() for the structure assignment?
VgpuGop->GopModeInfo = *GopModeInfo;
That is best known method to resolve memcpy symbol issue.
Thank you
Yao Jiewen
Hi
Would you please use CopyMem() for the structure assignment?
VgpuGop->GopModeInfo = *GopModeInfo;
That is best known method to resolve memcpy symbol issue.
Thank you
Yao Jiewen
|
By
Yao, Jiewen
·
#90018
·
|
|
Re: [GSOC 2022] Adding Rust support to EDK II: Introducing Myself
Hi Ayush,
Welcome! I'm excited about this project too and I look forward to working you.
We will be reaching out soon to set up our regularly scheduled discussions and meet you.
Regards,
Michael
Hi Ayush,
Welcome! I'm excited about this project too and I look forward to working you.
We will be reaching out soon to set up our regularly scheduled discussions and meet you.
Regards,
Michael
|
By
Michael Kubacki
·
#90017
·
|
|
Re: [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory
On Mon, May 23, 2022 at 11:24 PM, Gerd Hoffmann wrote:
On Mon, May 23, 2022 at 04:48:05AM -0700, Albecki, Mateusz wrote:
@Ni, Ray
I think EDK2 needs to provide a way for root port to operate without
On Mon, May 23, 2022 at 11:24 PM, Gerd Hoffmann wrote:
On Mon, May 23, 2022 at 04:48:05AM -0700, Albecki, Mateusz wrote:
@Ni, Ray
I think EDK2 needs to provide a way for root port to operate without
|
By
Albecki, Mateusz
·
#90016
·
|
|
Re: OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
Hi Rebecca,
That does indeed look like a bug for toolchains that prepend the underscore.
Our GSoC student already caught that bug and he's going to submit a patch as soon as possible to fix it.
Mind
Hi Rebecca,
That does indeed look like a bug for toolchains that prepend the underscore.
Our GSoC student already caught that bug and he's going to submit a patch as soon as possible to fix it.
Mind
|
By
Pedro Falcato
·
#90015
·
|
|
Re: including redfish libs results in multiple definitions of symbols
Correction:
if a .LIB is passed to the linker instead, the linker searches the .LIB for a particular
symbol (e.g. function, data). The specific .OBJ module that holds that particular symbol,
Correction:
if a .LIB is passed to the linker instead, the linker searches the .LIB for a particular
symbol (e.g. function, data). The specific .OBJ module that holds that particular symbol,
|
By
Kilian Kegel
·
#90014
·
|
|
Re: including redfish libs results in multiple definitions of symbols
Hi xp,
your build failure is
the result of a “link-all” mechanism
or
2. the result of a library construction flaw that is commonly used in EDK2.
or both
Let me explain the
Hi xp,
your build failure is
the result of a “link-all” mechanism
or
2. the result of a library construction flaw that is commonly used in EDK2.
or both
Let me explain the
|
By
Kilian Kegel
·
#90013
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Note: We should think about providing some basic libc functions in base EDK2 as some are required by the clang/GCC compilers (see https://gcc.gnu.org/onlinedocs/gcc/Standards.html, grep for memcpy or
Note: We should think about providing some basic libc functions in base EDK2 as some are required by the clang/GCC compilers (see https://gcc.gnu.org/onlinedocs/gcc/Standards.html, grep for memcpy or
|
By
Pedro Falcato
·
#90012
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Ah, thanks! I've just sent out another email this time about building with the XCODE5 toolchain and _AsmRelocateApMailBoxLoopStart not being defined.
--
Rebecca Cran
Ah, thanks! I've just sent out another email this time about building with the XCODE5 toolchain and _AsmRelocateApMailBoxLoopStart not being defined.
--
Rebecca Cran
|
By
Rebecca Cran <quic_rcran@...>
·
#90011
·
|
|
OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t XCODE5` (with Apple clang 12.0.5)) with the latest edk2 master (07c0c2eb0a5970db614ebce1060fc79d6904bdfd).
GenSec -s EFI_SECTION_VERSION -n
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t XCODE5` (with Apple clang 12.0.5)) with the latest edk2 master (07c0c2eb0a5970db614ebce1060fc79d6904bdfd).
GenSec -s EFI_SECTION_VERSION -n
|
By
Rebecca Cran <quic_rcran@...>
·
#90010
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Indeed. We don't support struct assignment in Tianocore code, exactly
for this reason.
Indeed. We don't support struct assignment in Tianocore code, exactly
for this reason.
|
By
Ard Biesheuvel
·
#90009
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
I think I found the smoking gun: https://github.com/tianocore/edk2/blob/916f90baa547b3ebef8fa87c530e2f0c8e35e1e3/OvmfPkg/VirtioGpuDxe/Gop.c#L512
A very clear issue I'm seeing (in tools_def) is that
I think I found the smoking gun: https://github.com/tianocore/edk2/blob/916f90baa547b3ebef8fa87c530e2f0c8e35e1e3/OvmfPkg/VirtioGpuDxe/Gop.c#L512
A very clear issue I'm seeing (in tools_def) is that
|
By
Pedro Falcato
·
#90008
·
|
|
including redfish libs results in multiple definitions of symbols
Hello
I'm working on a small UEFI shell app.
I was hoping to make use of the JsonLib found in the Redfish Package.
When I include the Redfish JsonLib and it's
Hello
I'm working on a small UEFI shell app.
I was hoping to make use of the JsonLib found in the Redfish Package.
When I include the Redfish JsonLib and it's
|
By
M.T.
·
#90007
·
|
|
Re: OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
Can you dump the object file to see where the memcpy() call is emitted?
Can you dump the object file to see where the memcpy() call is emitted?
|
By
Ard Biesheuvel
·
#90006
·
|
|
OvmfPkgX64 doesn't build with CLANG38 (clang 14.0.3) NOOPT - undefined reference to `memcpy'
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t CLANG38 -b NOOPT` (with clang version 14.0.2) with the latest edk2 master (07c0c2eb0a5970db614ebce1060fc79d6904bdfd):
make: Nothing to be done
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t CLANG38 -b NOOPT` (with clang version 14.0.2) with the latest edk2 master (07c0c2eb0a5970db614ebce1060fc79d6904bdfd):
make: Nothing to be done
|
By
Rebecca Cran <quic_rcran@...>
·
#90005
·
|
|
Re: [PATCH] OvmfPkg: TdxDxe: Fix AsmRelocateApMailBoxLoop
Merged https://github.com/tianocore/edk2/pull/2915
Merged https://github.com/tianocore/edk2/pull/2915
|
By
Yao, Jiewen
·
#90004
·
|