Forums - Build test_capi_v2_gain error

9 posts / 0 new
Last post
Build test_capi_v2_gain error
tymiao032
Join Date: 8 Feb 18
Posts: 1
Posted: Wed, 2019-03-06 05:07

OS: Windows 10

The so of Capi_v2_gain has been compiled successfully.

How to fix compiler error with undefined reference to 'pthread_once'.

Abrove is compiler error message

20:53:26 **** Rebuild of configuration LLVM_Debug for project test_capi_v2_gain ****

Info: Internal Builder is used for build
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\capi_v2_gain_test.o" "..\\..\\..\\src\\capi_v2_gain_test.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name capi_v2_gain_test.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\capi_v2_gain_test.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\capi_v2_gain_test.o" -x c "..\\..\\..\\src\\capi_v2_gain_test.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\test_utils.o" "..\\..\\..\\..\\..\\..\\test\\common\\test_util\\src\\test_utils.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name test_utils.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\test_utils.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\test_utils.o" -x c "..\\..\\..\\..\\..\\..\\test\\common\\test_util\\src\\test_utils.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\test_profile_sim.o" "..\\..\\..\\..\\..\\..\\test\\common\\test_profile\\src\\test_profile_sim.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name test_profile_sim.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\test_profile_sim.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\test_profile_sim.o" -x c "..\\..\\..\\..\\..\\..\\test\\common\\test_profile\\src\\test_profile_sim.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\test_profile.o" "..\\..\\..\\..\\..\\..\\test\\common\\test_profile\\src\\test_profile.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name test_profile.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\test_profile.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\test_profile.o" -x c "..\\..\\..\\..\\..\\..\\test\\common\\test_profile\\src\\test_profile.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\cae.o" "..\\..\\..\\..\\..\\..\\libs\\common\\atomic\\src\\cae.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name cae.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\cae.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\cae.o" -x c "..\\..\\..\\..\\..\\..\\libs\\common\\atomic\\src\\cae.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\test_main.o" "..\\..\\..\\..\\..\\..\\test\\common\\test_main\\src\\test_main.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name test_main.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\test_main.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\test_main.o" -x c "..\\..\\..\\..\\..\\..\\test\\common\\test_main\\src\\test_main.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\test_capi_v2.o" "..\\..\\..\\..\\..\\..\\test\\audio\\test_capi_v2_voice\\src\\test_capi_v2.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name test_capi_v2.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\test_capi_v2.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\test_capi_v2.o" -x c "..\\..\\..\\..\\..\\..\\test\\audio\\test_capi_v2_voice\\src\\test_capi_v2.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\capi_v2_utils_props.o" "..\\..\\..\\..\\..\\..\\libs\\audio\\capi_v2_utils_props\\src\\capi_v2_utils_props.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name capi_v2_utils_props.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\capi_v2_utils_props.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\capi_v2_utils_props.o" -x c "..\\..\\..\\..\\..\\..\\libs\\audio\\capi_v2_utils_props\\src\\capi_v2_utils_props.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\atomic.o" "..\\..\\..\\..\\..\\..\\libs\\common\\atomic\\src\\atomic.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name atomic.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\atomic.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\atomic.o" -x c "..\\..\\..\\..\\..\\..\\libs\\common\\atomic\\src\\atomic.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang -mv60 -D__FILENAME__=__FILE__ -D__qdsp6__ -D_DEBUG -DENABLE_COMMAND_LINE_PARAMS -D__V_DYNAMIC__ -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -IC:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -IC:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -O0 -g3 -Wall -c -fmessage-length=0 -v -o "src\\capi_v2_test.o" "..\\..\\..\\..\\..\\..\\test\\audio\\test_capi_v2_voice\\src\\capi_v2_test.c" 
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 8.3.02 (based on LLVM 7.0.0)
InstalledDir: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin
 "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin\\hexagon-clang.exe" -cc1 -triple hexagon -emit-obj -mrelax-all -disable-free -main-file-name capi_v2_test.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu hexagonv60 -target-feature -long-calls -target-cpu hexagonv60 -fno-signed-char -fshort-enums -Wreturn-type -D__HEXMSGABI_3_SUPPORTED__ -mllvm -machine-sink-outside-loop -mllvm -inline-threshold=100 -mllvm -enable-tcm-inline-heuristic=true -mllvm -disable-aa-sched=false -mllvm -callee-stack-inline-threshold=512 -mllvm -generate-arange-section -ffine-grained-bitfield-accesses -fmin-word-bitfield-accesses -fdebug-info-for-profiling -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=gdb -v -coverage-notes-file "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug\\src\\capi_v2_test.gcno" -resource-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\lib\\clang\\7.0.0" -D __FILENAME__=__FILE__ -D __qdsp6__ -D _DEBUG -D ENABLE_COMMAND_LINE_PARAMS -D __V_DYNAMIC__ -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio -I C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60 -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc -I C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc -internal-externc-isystem "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\tools\\HEXAGON_Tools\\8.3.02\\Tools\\bin/../target/hexagon/include" -O0 -Wall -fdebug-compilation-dir "C:\\Qualcomm\\Hexagon_SDK\\3.4.2\\examples\\audio\\capi_v2_gain\\eclipse\\test_capi_v2_gain\\LLVM_Debug" -ferror-limit 19 -fmessage-length 0 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o "src\\capi_v2_test.o" -x c "..\\..\\..\\..\\..\\..\\test\\audio\\test_capi_v2_voice\\src\\capi_v2_test.c" -faddrsig
clang -cc1 version 7.0.0 based upon LLVM 7.0.0 default target hexagon-unknown-elf
#include "..." search starts here:
#include <...> search starts here:
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/a1std
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/audio
 C:/Qualcomm/Hexagon_SDK/3.4.2/incs/stddef
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/audio/test_capi_v2/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_profile/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/test/common/test_main/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/common/atomic/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/libs/audio/capi_v2_utils_props/inc
 C:/Qualcomm/Hexagon_SDK/3.4.2/examples/audio/capi_v2_gain/inc
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/include
 C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\lib\clang\7.0.0\include
End of search list.
hexagon-clang++ "src\\test_utils.o" "src\\test_profile_sim.o" "src\\test_profile.o" "src\\test_main.o" "src\\test_capi_v2.o" "src\\capi_v2_utils_props.o" "src\\capi_v2_test.o" "src\\capi_v2_gain_test.o" "src\\cae.o" "src\\atomic.o" "..\\..\\capi_v2_gain\\LLVM_Static-Debug\\capi_v2_gain.lib" "..\\..\\..\\..\\..\\..\\libs\\common\\rtld\\ship\\hexagon_Debug_dynamic_toolv72_v60\\rtld.a" "..\\..\\..\\..\\..\\..\\libs\\common\\a1std\\ship\\hexagon_Debug_dynamic_toolv72_v60\\a1std.a" "..\\..\\..\\..\\..\\..\\libs\\audio\\voice_imc_utils\\ship\\hexagon_Debug_dynamic_toolv72_v60\\voice_imc_utils.a" -lgcc -lstdc++ -lm -mv60 -Wl,--start-group -Wl,--whole-archive C:/Qualcomm/Hexagon_SDK/3.4.2/tools/HEXAGON_Tools/8.3.02/Tools/target/hexagon/lib/v60/G0/libhexagon.a -Wl,--no-whole-archive -Wl,--end-group -Wl,--dynamic-linker= -Wl,-E -Wl,--force-dynamic -otest_capi_v2_gain 
Error: ..\..\..\..\..\..\libs\audio\voice_imc_utils\ship\hexagon_Debug_dynamic_toolv72_v60\voice_imc_utils.a(.text._ZNSs6assignERKSsjj+0x58): undefined reference to `std::_String_base::_Xran() const'
Error: ..\..\..\..\..\..\libs\audio\voice_imc_utils\ship\hexagon_Debug_dynamic_toolv72_v60\voice_imc_utils.a(.text._ZNSs5eraseEjj+0x4c): undefined reference to `std::_String_base::_Xran() const'
Error: ..\..\..\..\..\..\libs\audio\voice_imc_utils\ship\hexagon_Debug_dynamic_toolv72_v60\voice_imc_utils.a(.text._ZNSs5_GrowEjb+0x58): undefined reference to `std::_String_base::_Xlen() const'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x8): undefined reference to `pthread_once'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x20): undefined reference to `pthread_getspecific'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x48): undefined reference to `pthread_setspecific'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x88): undefined reference to `pthread_once'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xac): undefined reference to `pthread_getspecific'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xbc): undefined reference to `pthread_key_create'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xe8): undefined reference to `pthread_setspecific'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x28): undefined reference to `pthread_mutex_lock'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xf8): undefined reference to `pthread_mutex_unlock'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x180): undefined reference to `pthread_mutex_lock'
Error: C:\Qualcomm\Hexagon_SDK\3.4.2\tools\HEXAGON_Tools\8.3.02\Tools\bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x23c): undefined reference to `pthread_mutex_unlock'
Fatal: Linking had errors.
hexagon-clang++.exe: error: hexagon-link command failed with exit code 1 (use -v to see invocation)
 
20:53:44 Build Finished (took 17s.483ms)
 
Thanks.
  • Up0
  • Down0
vkmai
Join Date: 28 Jun 18
Location: Paris
Posts: 3
Posted: Thu, 2019-05-16 01:21

Hi,

I have the same problem. Thus, did you found the solution for this issue?

Thanks a lot

  • Up0
  • Down0
vkreddya9
Join Date: 22 May 19
Posts: 3
Posted: Wed, 2019-08-21 09:49

Hi,

If anyone knows the solution, Please share for the above errors.

Thanks

Vijay T

  • Up0
  • Down0
vkmai
Join Date: 28 Jun 18
Location: Paris
Posts: 3
Posted: Thu, 2019-08-22 00:08

 

You need to add the libstdc++.a in the Miscellaneous of the test module

/tools/HEXAGON_Tools/8.3.02/Tools/target/hexagon/lib/v60/G0/libstdc++.a

  • Up0
  • Down0
liutuo_1
Join Date: 23 Aug 19
Posts: 1
Posted: Fri, 2019-10-11 20:56

Did you resolve this problem? I encountered the same problem here.

  • Up0
  • Down0
naveen.ndr
Join Date: 27 Oct 19
Posts: 1
Posted: Thu, 2019-10-31 00:45

By including the library "/tools/HEXAGON_Tools/8.3.02/Tools/target/hexagon/lib/v60/G0/libstdc++.a" getting a error as multiple definitions

  • Up0
  • Down0
qing.jin
Join Date: 16 Jan 20
Posts: 1
Posted: Tue, 2020-01-21 18:01

Thanks a lot. To be more specific for future users:

You need to change the following command in your test script (e.g., test-conv3x3a16):

hexagon-clang++ -mhvx -mhvx-length=128B -mv60 -DLOG2VLEN=7 bin/conv3x3a16_run.o bin/conv3x3a16_filters.a -lhexagon -L$HALIDE_ROOT/lib -lsim_qurt -o bin/conv3x3a16.out

to

hexagon-clang++ -mhvx -mhvx-length=128B -mv60 -DLOG2VLEN=7 bin/conv3x3a16_run.o bin/conv3x3a16_filters.a /home/user/Qualcomm/Hexagon_SDK/3.5.1/tools/HEXAGON_Tools/8.3.07/Tools/target/hexagon/lib/v60/libstdc++.a -lhexagon -L$HALIDE_ROOT/lib -lsim_qurt -o bin/conv3x3a16.out

Maybe there can be better way to export some environment variables.

  • Up0
  • Down0
thr374
Join Date: 3 Jun 20
Posts: 3
Posted: Wed, 2020-06-03 16:26

what is a test script (where do we make the change can you be more specific please)

  • Up0
  • Down0
krishna.avadhanam
Join Date: 1 Jun 21
Posts: 1
Posted: Thu, 2021-06-03 11:11

Hi all

To solve kindly follow the steps below

Go to test_capi_v2_gain -> properties -> c/c++ build -> settings ->Hexagon C++ linker -> Misce -> add the file libstdc++.a 

 

libstdc++.a path is available on previews comments 

make sure it should be in last 

That at .....!

 

Thanks

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.