jittor icon indicating copy to clipboard operation
jittor copied to clipboard

编译错误

Open yandan1234 opened this issue 3 years ago • 2 comments

unrecognized relocation (0x2a) in section `.text'

cat /etc/os-release NAME="Tencent tlinux" VERSION="2.2 (Final)" ID="tlinux" ID_LIKE="rhel fedora centos" VERSION_ID="2.2" PRETTY_NAME="Tencent tlinux 2.2 (Final)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:tlinux:linux:2" HOME_URL="http://tlinux.oa.com/" BUG_REPORT_URL="http://tapd.oa.com/tlinux/bugtrace/bugreports/my_view/"

下载文件939b29514b2e5cc591053aab614efd569772585d-g++-cpu-centos.o

yandan1234 avatar Jul 12 '21 11:07 yandan1234

谢谢您的反馈,您可以提供一下jittor的完整运行日志,以及gcc的版本,和libc的版本吗?

Jittor avatar Jul 15 '21 12:07 Jittor

您试试更新gcc版本到6以上呢? 参考:https://stackoverflow.com/questions/52737698/unable-to-compile-unrecognized-relocation-0x2a-in-section-text

Jittor avatar Jul 15 '21 12:07 Jittor