回复: [edk2-discuss] 回复: Non-reproducible binaries generated by GenFw


gaoliming
 

Ross:
This solution is for the reproduced binary images. If your platform has this request, you can update the platform DSC [BuildOptions] to include the option RELEASE_*_*_GENFW_FLAGS=-z.

Thanks
Liming

-----邮件原件-----
发件人: Ross Burton <ross@...>
发送时间: 2021年3月16日 1:40
收件人: Laszlo Ersek <lersek@...>
抄送: discuss@edk2.groups.io; gaoliming <gaoliming@...>;
bob.c.feng@...; yuwei.chen@...
主题: Re: [edk2-discuss] 回复: Non-reproducible binaries generated by
GenFw

On Fri, 12 Mar 2021 at 18:37, Laszlo Ersek <lersek@...> wrote:
I'm failing at making this actually stick in the makefiles though...
Can you provide your platform DSC file?

What is your exact "build" command line? (I'm looking for the "-a",
"-b", "-t" options.)
Essentially, OvmfPkg/build.sh -a X86 -b RELEASE -t GCC5. It appears I
should be editing OvmfPkg/OvmfX86.dsc instead of ShellPkg.dsc.

Is it agreed that this should be fixed? Is putting
RELEASE_*_*_GENFW_FLAGS=-z all over the repository the right solution,
or is there a better solution that can be done once centrally?

Ross