From f41638c8b119368516d5ff0fda2c76f1136d339d Mon Sep 17 00:00:00 2001 From: Juan ESCOBAR <juan.escobar@aero.obs-mip.fr> Date: Mon, 6 Feb 2023 19:12:18 +0100 Subject: [PATCH] Juan 06/02/2023:Rules.LXcray.mk, in DEBUG force WWARF Version 4 <-> -gdwarf-4 , or gdb/hpctoolkit will not work --- src/Rules.LXcray.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rules.LXcray.mk b/src/Rules.LXcray.mk index d21f8318d..861de4c13 100644 --- a/src/Rules.LXcray.mk +++ b/src/Rules.LXcray.mk @@ -14,7 +14,7 @@ CFV=$(shell crayftn --version | grep -E -m1 -o ' [[:digit:]\.]{2,}( |$$)' | sed #OBJDIR_PATH=/home/escj/azertyuiopqsdfghjklm/wxcvbn/azertyuiopqsdfghjklmwxcvbn # OPT_BASE = -hpic -emf -h acc_model=auto_async_none:no_fast_addr:no_deep_copy -halias=none -OPT_PERF0 = -O0 -g +OPT_PERF0 = -G0 -O0 OPT_PERF1 = -G2 -O1 -hflex_mp=intolerant -Ofp0 -hnofma -hnoomp -K trap=fp -hipa0 OPT_PERF2 = -G2 -O2 -hflex_mp=intolerant -Ofp0 -hnofma -hnoomp -hipa0 # @@ -55,7 +55,7 @@ ifeq "$(OPTLEVEL)" "DEBUG" OPT = $(OPT_BASE) $(OPT_PERF0) $(OPT_CHECK) OPT0 = $(OPT_BASE) $(OPT_PERF0) $(OPT_CHECK) OPT_NOCB = $(OPT_BASE) $(OPT_PERF0) -CFLAGS += -g +CFLAGS += -g -gdwarf-4 endif # ifeq "$(OPTLEVEL)" "OPENACC" -- GitLab