public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* GCC49 DEBUG AARCH64 and ARM builds use -O0
@ 2021-04-12 15:10 Rebecca Cran
  2021-04-13 10:32 ` [edk2-devel] " Laszlo Ersek
  0 siblings, 1 reply; 5+ messages in thread
From: Rebecca Cran @ 2021-04-12 15:10 UTC (permalink / raw)
  To: devel@edk2.groups.io Calendar, Leif Lindholm, Ard Biesheuvel

I noticed the GCC49 (and GCC48) AARCH64 and ARM DEBUG builds use -O0, 
unlike IA32 and X64 platforms which build with -Os.

e.g. from 
https://github.com/tianocore/edk2/blob/master/BaseTools/Conf/tools_def.template 
:

DEBUG_GCC49_AARCH64_CC_FLAGS     = DEF(GCC49_AARCH64_CC_FLAGS) -O0

Is that deliberate, or should it be like X64 where DEBUG builds are 
optimized and NOOPT is used when unoptimized binaries are needed?

-- 
Rebecca Cran

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-14  1:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12 15:10 GCC49 DEBUG AARCH64 and ARM builds use -O0 Rebecca Cran
2021-04-13 10:32 ` [edk2-devel] " Laszlo Ersek
2021-04-13 12:12   ` Rebecca Cran
2021-04-13 16:36     ` Ard Biesheuvel
2021-04-14  1:09       ` 回复: " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox