Experimental Physics and Industrial Control System
Hi Tom,
On 08/14/2013 05:40 AM, [email protected] wrote:
We're starting to move IOCs from R3.14.11 to R3.14.12.3 and I've
noticed that C++ builds with host arch linux-x86_64 no longer have
debugging symbols by default, but C builds do. In R3.14.11 we used to
have debugging symbols on C and C++ builds even when NOT using the
linux-x86_64-debug architecture.
The change seems to be that in
R3.14.11/base/configure/os/CONFIG_SITE.Common.linux-x86_64 we have:
OP_SYS_CFLAGS += -g
But in R3.14.12.3/base/configure/os/CONFIG_SITE.Common.linux-x86_64
we have:
OPT_CFLAGS_YES += -g
My guess is that the change was probably made for a good reason, so
we should add the following line to
configure/os/CONFIG_SITE.Common.linux-x86_64:
OPT_CXXFLAGS_YES += -g
Is that the correct way to fix this?
Yes, Janet committed the fix below to the 3.14 branch just a few weeks ago:
=== modified file 'configure/os/CONFIG_SITE.Common.linux-x86'
--- configure/os/CONFIG_SITE.Common.linux-x86 2011-12-07 19:56:04 +0000
+++ configure/os/CONFIG_SITE.Common.linux-x86 2013-07-25 15:49:26 +0000
@@ -38,3 +38,4 @@ COMMANDLINE_LIBRARY = READLINE
# This does cost disk space, but not memory as debug symbols are not
# loaded into RAM when the binary is loaded.
OPT_CFLAGS_YES += -g
+OPT_CXXFLAGS_YES += -g
=== modified file 'configure/os/CONFIG_SITE.Common.linux-x86_64'
--- configure/os/CONFIG_SITE.Common.linux-x86_64 2011-12-07
19:56:04 +0000
+++ configure/os/CONFIG_SITE.Common.linux-x86_64 2013-07-25
15:49:26 +0000
@@ -38,3 +38,4 @@ COMMANDLINE_LIBRARY = READLINE
# This does cost disk space, but not memory as debug symbols are not
# loaded into RAM when the binary is loaded.
OPT_CFLAGS_YES += -g
+OPT_CXXFLAGS_YES += -g
- Andrew
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock
- References:
- Should Linux C++ builds have debug symbols by default in R3.14.12.3? tom.cobb
- Navigate by Date:
- Prev:
Re: AW: [asyn] link already open! Dirk Zimoch
- Next:
[MailServer Resend] Resending quarantined email -- use caution when opening.Re: AW: [asyn] link already open! cismailadmins
- 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
- Navigate by Thread:
- Prev:
Should Linux C++ builds have debug symbols by default in R3.14.12.3? tom.cobb
- Next:
[MailServer Resend] Resending quarantined email -- use caution when opening.Re: AW: [asyn] link already open! cismailadmins
- 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