Displaying 2 results from an estimated 2 matches for "_gfortrani_gfc_itoa".
2008 Nov 01
2
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...g 32-bit
Ubuntu, it works fine. I recently installed them on AMD64-Ubuntu 8.04,
llvm-gfortran gave me following errors
$ llvm-gfortran -Wall hello.f95 -o hellof
/home/jli127/LLVM/llvm-gcc/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/../../../../lib64/libgfortran.a(error.o):
In function `_gfortrani_gfc_itoa':
(.text+0x76): undefined reference to `__umoddi3'
/home/jli127/LLVM/llvm-gcc/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/../../../../lib64/libgfortran.a(error.o):
In function `_gfortrani_gfc_itoa':
(.text+0x8a): undefined reference to `__udivdi3'
/home/jli127/LLVM/llvm-gc...
2008 Nov 03
0
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...lo.f95 -o hellof
this works here on x86-64 ubuntu 8.10. I took a look in my libgfortran.a
and it doesn't reference any of the symbols you mention.
> /home/jli127/LLVM/llvm-gcc/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/../../../../lib64/libgfortran.a(error.o):
> In function `_gfortrani_gfc_itoa':
> (.text+0x76): undefined reference to `__umoddi3'
This is a library function for doing 64 bit unsigned rem.
On a 64 bit machine you shouldn't need to call a library
function for this! Are you sure you didn't mix up 64 bit
and 32 bit somewhere?
> (2) Can I get LLVM bitcod...