Displaying 5 results from an estimated 5 matches for "pdfs56".
Did you mean:
pdfs
2011 Jun 29
2
[LLVMdev] clang -emit-llvm uses system ld
...nt clang behavior seems strange. When I run
clang with the -emit-llvm option, it still uses /usr/bin/ld as the linker
which fails to compile llvm bitcode on linux (though it works on mac).
Here's a simple example:
$ cat > test.c
int main(void) { return 0; }
$ clang -emit-llvm test.c
/tmp/cc-pDfs56.o: file not recognized: File format not recognized
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
$ clang -emit-llvm test.c -c
$
It seems to me that clang should call llvm-ld when it generates llvm code
and ld otherwise, but maybe there's something that I have...
2011 Jun 29
0
[LLVMdev] clang -emit-llvm uses system ld
...trange. When I run clang with the -emit-llvm option, it still uses /usr/bin/ld as the linker which fails to compile llvm bitcode on linux (though it works on mac). Here's a simple example:
>
> $ cat > test.c
> int main(void) { return 0; }
> $ clang -emit-llvm test.c
> /tmp/cc-pDfs56.o: file not recognized: File format not recognized
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> $ clang -emit-llvm test.c -c
> $
>
> It seems to me that clang should call llvm-ld when it generates llvm code and ld otherwise, but maybe there'...
2011 Jun 30
2
[LLVMdev] clang -emit-llvm uses system ld
...-emit-llvm option, it still uses /usr/bin/ld as the linker
> which fails to compile llvm bitcode on linux (though it works on mac).
> Here's a simple example:
> >
> > $ cat > test.c
> > int main(void) { return 0; }
> > $ clang -emit-llvm test.c
> > /tmp/cc-pDfs56.o: file not recognized: File format not recognized
> > clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> > $ clang -emit-llvm test.c -c
> > $
> >
> > It seems to me that clang should call llvm-ld when it generates llvm code
> and...
2011 Jun 30
0
[LLVMdev] clang -emit-llvm uses system ld
.../usr/bin/ld as the linker
> which fails to compile llvm bitcode on linux (though it works on mac).
> Here's a simple example:
> >
> > $ cat > test.c
> > int main(void) { return 0; }
> > $ clang -emit-llvm test.c
> > /tmp/cc-pDfs56.o: file not recognized: File format not recognized
> > clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> > $ clang -emit-llvm test.c -c
> > $
> >
> > It seems to me that clang should call llvm-ld when it...
2011 Jun 30
1
[LLVMdev] clang -emit-llvm uses system ld
...which fails to compile llvm bitcode on linux (though it works on
> mac).
> > Here's a simple example:
> > >
> > > $ cat > test.c
> > > int main(void) { return 0; }
> > > $ clang -emit-llvm test.c
> > > /tmp/cc-pDfs56.o: file not recognized: File format not recognized
> > > clang: error: linker command failed with exit code 1 (use -v to
> see
> > invocation)
> > > $ clang -emit-llvm test.c -c
> > > $
> > >
> > > It seems to me tha...