Displaying 4 results from an estimated 4 matches for "_gfortran_set_std".
2008 Nov 07
3
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...It's different to the system original libgfortran.a:
-rw-r--r-- 1 root root 1854562 2008-10-25 01:40
/usr/lib/gcc/x86_64-linux-gnu/4.3/libgfortran.a
If replace it by system 'libgfortran.a', the error became:
hello.o: In function `MAIN__':
(.text+0x1e): undefined reference to `_gfortran_set_std'
collect2: ld returned 1 exit status
Thanks,
Jun
--
View this message in context: http://www.nabble.com/llvm-gfortran-gives-errors-on-AMD64-Ubuntu-tp20280697p20373363.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2008 Nov 01
2
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...found in module.
$ llc hellof.bc -o hellof.s
$ gcc hellof.s -o hellof.native
ERROR:
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
/tmp/cc4i3wD7.o: In function `MAIN__':
(.text+0x1f): undefined reference to `_gfortran_set_std'
/tmp/cc4i3wD7.o: In function `MAIN__':
(.text+0x4b): undefined reference to `_gfortran_st_write'
/tmp/cc4i3wD7.o: In function `MAIN__':
(.text+0x63): undefined reference to `_gfortran_transfer_character'
/tmp/cc4i3wD7.o: In function `MAIN__':
(.text+0x6b): undefined referen...
2008 Nov 07
0
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
...he same as what I use.
Try with 2.4 (about to be released). I'm not sure I ever tried
to build the 2.3 version of llvm-gfortran on x86-64.
> If replace it by system 'libgfortran.a', the error became:
> hello.o: In function `MAIN__':
> (.text+0x1e): undefined reference to `_gfortran_set_std'
> collect2: ld returned 1 exit status
Probably your system gcc version is different to 4.2. Like gcc 4.2,
llvm-gcc generates a call to gfortran_set_std in MAIN__. This function
is defined in the gcc 4.2 version of libgfortran, but apparently not in
other gcc versions. [I think ubuntu 8....
2008 Nov 03
0
[LLVMdev] llvm-gfortran gives errors on AMD64-Ubuntu
Hi,
> I have installed llvm and llvm-gfortran on Pentium4 machine using 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
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.
>