From 6d1409b61fc1ad8b8ec3e17dfe266187a4756a49 Mon Sep 17 00:00:00 2001 From: Siu Chi Chan Date: Tue, 27 Sep 2022 02:16:06 +0000 Subject: [PATCH] SWDEV-355588 - [hipcc] remove --enable-new-dtags (#2955) Don't pass the --enable-new-dtags flag to clang, just the LLVM's default Change-Id: I2bd06181c490e1c0fec3241a404b546de3ebe970 [ROCm/hip commit: 5e7b7e11a51400f7d336fd8d538902d858dd2af1] --- projects/hip/bin/hipcc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/bin/hipcc.pl b/projects/hip/bin/hipcc.pl index e6aae1627e..06097fa0cd 100755 --- a/projects/hip/bin/hipcc.pl +++ b/projects/hip/bin/hipcc.pl @@ -707,7 +707,7 @@ if ($HIP_PLATFORM eq "amd") { if ($linkType eq 0) { $toolArgs = " -L$HIP_LIB_PATH -lamdhip64 -L$ROCM_PATH/lib -lhsa-runtime64 -ldl -lnuma " . ${toolArgs}; } else { - $toolArgs = ${toolArgs} . " -Wl,--enable-new-dtags -Wl,-rpath=$HIP_LIB_PATH:$ROCM_PATH/lib -lamdhip64 "; + $toolArgs = ${toolArgs} . " -Wl,-rpath=$HIP_LIB_PATH:$ROCM_PATH/lib -lamdhip64 "; } # To support __fp16 and _Float16, explicitly link with compiler-rt $HIP_CLANG_BUILTIN_LIB="$HIP_CLANG_PATH/../lib/clang/$HIP_CLANG_VERSION/lib/$HIP_CLANG_TARGET/libclang_rt.builtins.a";