search for: llvm_2_9

Displaying 9 results from an estimated 9 matches for "llvm_2_9".

2011 Sep 12
3
[LLVMdev] llvm-gfortran problems
...all! Just as a note... I had to use llvm-ld during the link step because gfortran could not link bitcode. Here's an example of the error shown when using gfortran instead of llvm-ld: $ ${GCC_4_5_0}/bin/gfortran hw.f -c -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o $ ${GCC_4_5_0}/bin/gfortran -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a hw.o -o hw hw.o: file not recognized: File format not recognized collect2: ld returned 1 exit status $ file hw.o hw.o: data Instead, using llvm-ld: $ ${LLVM_2_9}/b...
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
...he link step because > gfortran > > could not link bitcode. Here's an example of the error shown when using > > gfortran instead of llvm-ld: > > $ ${GCC_4_5_0}/bin/gfortran hw.f -c > > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S > > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o > > $ ${GCC_4_5_0}/bin/gfortran > > > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a > > hw.o -o hw > > hw.o: file not recognized: File format not recognized > > collect2: ld returned 1 exit status > >...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
...I had to use llvm-ld during the link step because gfortran > could not link bitcode. Here's an example of the error shown when using > gfortran instead of llvm-ld: > $ ${GCC_4_5_0}/bin/gfortran hw.f -c > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o > $ ${GCC_4_5_0}/bin/gfortran > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a > hw.o -o hw > hw.o: file not recognized: File format not recognized > collect2: ld returned 1 exit status > $ file hw.o > hw.o: data > I...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
...> gfortran >> > could not link bitcode. Here's an example of the error shown when using >> > gfortran instead of llvm-ld: >> > $ ${GCC_4_5_0}/bin/gfortran hw.f -c >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S >> > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o >> > $ ${GCC_4_5_0}/bin/gfortran >> > >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a >> > hw.o -o hw >> > hw.o: file not recognized: File format not recognized >> > collect2: ld ret...
2011 Sep 12
2
[LLVMdev] llvm-gfortran problems
...gt; could not link bitcode. Here's an example of the error shown when > using > >> > gfortran instead of llvm-ld: > >> > $ ${GCC_4_5_0}/bin/gfortran hw.f -c > >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S > >> > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o > >> > $ ${GCC_4_5_0}/bin/gfortran > >> > > >> > > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a > >> > hw.o -o hw > >> > hw.o: file not recognized: File format not recognized...
2011 Sep 12
0
[LLVMdev] llvm-gfortran problems
...39;s an example of the error shown when >> >> > using >> >> > gfortran instead of llvm-ld: >> >> > $ ${GCC_4_5_0}/bin/gfortran hw.f -c >> >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm -S >> >> > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o >> >> > $ ${GCC_4_5_0}/bin/gfortran >> >> > >> >> > >> >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a >> >> > hw.o -o hw >> >> > hw.o: file not r...
2011 Sep 12
1
[LLVMdev] llvm-gfortran problems
...hown when > >> >> > using > >> >> > gfortran instead of llvm-ld: > >> >> > $ ${GCC_4_5_0}/bin/gfortran hw.f -c > >> >> > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so -o hw.o -flto -emit-llvm > -S > >> >> > $ ${LLVM_2_9}/bin/opt -mem2reg hw.o -o hw.o > >> >> > $ ${GCC_4_5_0}/bin/gfortran > >> >> > > >> >> > > >> >> > > -fplugin=${DRAGONEGG_PLUGIN}/dragonegg.so ${GCC_4_5_0}/lib64/libgfortran.a > >> >> > hw.o -o hw > >...
2011 Aug 31
0
[LLVMdev] llvm-gfortran problems
Hello > I am not very familiar with Fortran programs. I saw a few programs that had > a "MAIN" subroutine defined, some others that did not. Am I missing > something while compiling the code? Is there a different way to compile > bitcode (from Fortran programs) to a native binary? For Fortran MAIN is indeed something similar to C main, but not exactly the same. You have to
2011 Aug 31
4
[LLVMdev] llvm-gfortran problems
Hello, I have been trying to compile a few small programs [ http://www.esm.psu.edu/~ajm138/fortranexamples.html] using llvm-gfortran. Since I run my own pass on the generated bitcode, I have had to split the compilation process into using llvm-gfortran, opt and then llvm-ld (for linking, as I do with C/C++ programs). For now, I'll drop the `opt' statement. Here's what I see while