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> 2025 | 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> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: how to build base with symbols for Arm? |
From: | Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Fri, 27 Sep 2024 21:43:15 +0200 |
Hey Pete,
for other architectures it is defined in the configure/os/CONFIG_SITE.${ARCH}.${ARCH}
e.g.
florian@palumapc1:os$ grep OPT_ CONFIG_SITE.linux-arm.linux-arm
florian@palumapc1:os$ grep OPT_
CONFIG_SITE.linux-x86_64.linux-x86_64
OPT_CFLAGS_YES += -g
OPT_CXXFLAGS_YES += -g
florian@palumapc1:os$ grep OPT_
CONFIG_SITE.linux-aarch64.linux-aarch64
OPT_CFLAGS_YES += -g
OPT_CXXFLAGS_YES += -g
Not sure why this is not defined for linux-arm by default, but if you add those two lines to configure/os/CONFIG_SITE.linux-arm.linux-arm it should build with debug symbols.
HTH,
Florian
Sorry for the trivial question, but how do I tell base to build natively on Arm with -g to have debug symbols? I can't see anything in the docs to tell me.Pete.
-- Ruhr-Universität Bochum AG der Experimentalphysik I Dr. Florian Feldbauer NB 2/131 / Fach 125 Universitätsstr. 150 D-44801 Bochum Office: NB 2/134 Phone: (+49)234 / 32-23563 Fax: (+49)234 / 32-14170 https://paluma.ruhr-uni-bochum.de