Error Information:
_/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o: in function _init': (.init+0xb): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbolgmon_start__'
/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in function deregister_tm_clones': crtstuff.c:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against.tm_clone_table'
crtstuff.c:(.text+0xa): relocation truncated to fit: R_X86_64_PC32 against symbol `TMC_END' defined in .nvFatBinSegment section in ../../lib/libtransformer-shared.so
crtstuff.c:(.text+0x16): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol _ITM_deregisterTMCloneTable' /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in functionregister_tm_clones':
crtstuff.c:(.text+0x33): relocation truncated to fit: R_X86_64_PC32 against .tm_clone_table' crtstuff.c:(.text+0x3a): relocation truncated to fit: R_X86_64_PC32 against symbol__TMC_END' defined in .nvFatBinSegment section in ../../lib/libtransformer-shared.so
crtstuff.c:(.text+0x57): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol _ITM_registerTMCloneTable' /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in function__do_global_dtors_aux':
crtstuff.c:(.text+0x76): relocation truncated to fit: R_X86_64_PC32 against .bss' crtstuff.c:(.text+0x81): relocation truncated to fit: R_X86_64_GOTPCREL against symbolcxa_finalize@@GLIBC_2.2.5' defined in .text section in /lib/x86_64-linux-gnu/lib
c.so.6
crtstuff.c:(.text+0x8e): relocation truncated to fit: R_X86_64_PC32 against symbol `dso_handle' defined in .data.rel.local section in /usr/lib/gcc/x86_64-linux-gnu/9/cr
tbeginS.o
crtstuff.c:(.text+0x9e): additional relocation overflows omitted from the output
../../lib/libtransformer-shared.so: PC-relative offset overflow in PLT entry for `_ZN17fastertransformer33generic_mixed_gemm_kernelLauncherI6__halfN7cutlass15integer_subb
yteILi4ELb0EEENS2_4arch4Sm80ENS_20EpilogueOpBiasFtGeluENS2_4gemm9GemmShapeILi32ELi128ELi64EEENS9_ILi32ELi32ELi64EEELi3EEEvPKT_PKT0_SE_SE_PSC_iiiNS_17CutlassGemmConfigEPcm
P11CUstream_stPi'
collect2: error: ld returned 1 exit status
make[2]: [_deps/repo-ft-build/CMakeFiles/transformer-shared.dir/build.make:859: lib/libtransformer-shared.so] Error 1
make[2]: Leaving directory '/workspace/build/fastertransformer_backend/dbuild'
make[1]: [CMakeFiles/Makefile2:1760: _deps/repo-ft-build/CMakeFiles/transformer-shared.dir/all] Error 2
make[1]: Leaving directory '/workspace/build/fastertransformerbackend/dbuild'
make: *** [Makefile:136: all] Error 2
I followed the command below to compile the debug version and encountered the following error. How can I resolve it?
cmake -D CMAKE_EXPORT_COMPILE_COMMANDS=1 -D CMAKE_BUILD_TYPE=Debug -D ENABLE_FP8=OFF -D CMAKE_INSTALL_PREFIX=/opt/tritonserver -D TRITON_COMMON_REPO_TAG="r22.12" -D TRITON_CORE_REPO_TAG="r22.12" -D TRITON_BACKEND_REPO_TAG="r22.12" ..
Error Information: _/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o: in function
_init': (.init+0xb): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol
gmon_start__' /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in functionderegister_tm_clones': crtstuff.c:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against
.tm_clone_table' crtstuff.c:(.text+0xa): relocation truncated to fit: R_X86_64_PC32 against symbol `TMC_END' defined in .nvFatBinSegment section in ../../lib/libtransformer-shared.so crtstuff.c:(.text+0x16): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol_ITM_deregisterTMCloneTable' /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in function
register_tm_clones': crtstuff.c:(.text+0x33): relocation truncated to fit: R_X86_64_PC32 against.tm_clone_table' crtstuff.c:(.text+0x3a): relocation truncated to fit: R_X86_64_PC32 against symbol
__TMC_END' defined in .nvFatBinSegment section in ../../lib/libtransformer-shared.so crtstuff.c:(.text+0x57): relocation truncated to fit: R_X86_64_REX_GOTPCRELX against undefined symbol_ITM_registerTMCloneTable' /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o: in function
__do_global_dtors_aux': crtstuff.c:(.text+0x76): relocation truncated to fit: R_X86_64_PC32 against.bss' crtstuff.c:(.text+0x81): relocation truncated to fit: R_X86_64_GOTPCREL against symbol
cxa_finalize@@GLIBC_2.2.5' defined in .text section in /lib/x86_64-linux-gnu/lib c.so.6 crtstuff.c:(.text+0x8e): relocation truncated to fit: R_X86_64_PC32 against symbol `dso_handle' defined in .data.rel.local section in /usr/lib/gcc/x86_64-linux-gnu/9/cr tbeginS.o crtstuff.c:(.text+0x9e): additional relocation overflows omitted from the output ../../lib/libtransformer-shared.so: PC-relative offset overflow in PLT entry for `_ZN17fastertransformer33generic_mixed_gemm_kernelLauncherI6__halfN7cutlass15integer_subb yteILi4ELb0EEENS2_4arch4Sm80ENS_20EpilogueOpBiasFtGeluENS2_4gemm9GemmShapeILi32ELi128ELi64EEENS9_ILi32ELi32ELi64EEELi3EEEvPKT_PKT0_SE_SE_PSC_iiiNS_17CutlassGemmConfigEPcm P11CUstream_stPi' collect2: error: ld returned 1 exit status make[2]: [_deps/repo-ft-build/CMakeFiles/transformer-shared.dir/build.make:859: lib/libtransformer-shared.so] Error 1 make[2]: Leaving directory '/workspace/build/fastertransformer_backend/dbuild' make[1]: [CMakeFiles/Makefile2:1760: _deps/repo-ft-build/CMakeFiles/transformer-shared.dir/all] Error 2 make[1]: Leaving directory '/workspace/build/fastertransformerbackend/dbuild' make: *** [Makefile:136: all] Error 2