1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Larger build products in base-7.0.5 |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Peterson, Kevin M." <kmpeters at anl.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 30 Apr 2021 15:52:19 +0000 |
Hi Kevin,
On Apr 30, 2021, at 9:46 AM, Kevin Peterson via Tech-talk <tech-talk at aps.anl.gov> wrote:
I believe the change occurred when that I moved GCC's
-g option that includes debugging symbols in optimized builds from a CONFIG_SITE file where it didn’t work, to those where it does. In your case:
The 7.0.5 binaries are also substantially larger than the 7.0.4.1 binaries: 11M vs 1.8M, respectively. Agreed, but at runtime the differences should be much smaller or zero since the debug symbols don’t get loaded into memory.
You can double-check by comparing a gcc or g++ command in the two builds, in 7.0.4.1 you probably won’t see the -g option whereas in 7.0.5 I think you will. Please let us know if that’s not true.
--
Complexity comes for free, simplicity you have to work for. |