EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Should Linux C++ builds have debug symbols by default in R3.14.12.3?
From: <[email protected]>
To: <[email protected]>
Date: Wed, 14 Aug 2013 10:40:09 +0000
Hi all,

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?

Thanks,
Tom Cobb



-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: Should Linux C++ builds have debug symbols by default in R3.14.12.3? Andrew Johnson

Navigate by Date:
Prev: Re: Accessing Raspberry Pi GPIO through EPICS Peter Milne
Next: Re: AW: [asyn] link already open! Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Accessing Raspberry Pi GPIO through EPICS Peter Linardakis
Next: Re: Should Linux C++ builds have debug symbols by default in R3.14.12.3? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·