一个用gcc和ifort编译都没问题的程序,但是flang就有大量类似的错误,大佬们能指点一下吗?
ld.lld: error: /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o:(.text+0x72): relocation R_X86_64_PC32 out of range: 5085659193 is not in [-2147483648, 2147483647]
>>> referenced by crtstuff.c
ld.lld: error: /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o:(.text+0x84): relocation R_X86_64_PC32 out of range: 5085659175 is not in [-2147483648, 2147483647]
>>> referenced by crtstuff.c
ld.lld: error: /tmp/mycode-e8801c.o:(function nstpar_: .text+0x116d9): relocation R_X86_64_REX_GOTPCRELX out of range: 3152352387 is not in [-2147483648, 2147483647]; references heqaux_
>>> referenced by mycode.f:1865
>>> defined in /tmp/mycode-e8801c.o
ld.lld: error: /tmp/mycode-e8801c.o:(function nstpar_: .text+0x117b4): relocation R_X86_64_REX_GOTPCRELX out of range: 3152352232 is not in [-2147483648, 2147483647]; references chnad_
>>> referenced by mycode.f:1865
>>> defined in /tmp/mycode-e8801c.o
--
FROM 36.161.112.*