Displaying 3 results from an estimated 3 matches for "ltrans0".
Did you mean:
ltrans
2013 Jun 10
1
[LLVMdev] gcc-4.8.1 -flto, error for visibility of LLVMX86CompilationCallback2?
I tried to compile LLVM with gcc-4.8.1 -flto. I got the following error, when linking lli, llc, opt, or libLTO.so:
`LLVMX86CompilationCallback2' referenced in section `.text' of /tmp/cclv7BYB.ltrans0.ltrans.o: defined in discarded section `.text' of X86JITInfo.o (symbol from plugin)
collect2: error: ld returned 1 exit status
Removing the LLVM_LIBRARY_VISIBILITY attribute for LLVMX86CompilationCallback2 make the link pass for lli, llc, and opt, but not for libLTO.so.
Any ideas why this hap...
2014 Mar 15
1
Gcc-4.9.0 trunk revision 208516 cannot compile openssh package with -flto
...: type of 'umac_ctx' does not match original declaration
} umac_ctx;
^
./umac.c:1193:3: note: previously declared here
} umac_ctx;
^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140311/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/tmp/portage/net-misc/openssh-6.5_p1-r1/temp/ccMU2kiP.ltrans0.ltrans.o:
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when
making a shared object; recompile with -fPIC
/var/tmp/portage/net-misc/openssh-6.5_p1-r1/temp/ccMU2kiP.ltrans0.ltrans.o:
error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:150: recipe...
2013 Jun 12
2
[LLVMdev] [PATCH] gcc-4.8.1 -flto, error for visibility of LLVMX86CompilationCallback2?
...June 2013 08:45, Patrik Hägglund H <patrik.h.hagglund at ericsson.com> wrote:
> I tried to compile LLVM with gcc-4.8.1 -flto. I got the following error, when linking lli, llc, opt, or libLTO.so:
>
> `LLVMX86CompilationCallback2' referenced in section `.text' of /tmp/cclv7BYB.ltrans0.ltrans.o: defined in discarded section `.text' of X86JITInfo.o (symbol from plugin)
> collect2: error: ld returned 1 exit status
>
> Removing the LLVM_LIBRARY_VISIBILITY attribute for LLVMX86CompilationCallback2 make the link pass for lli, llc, and opt, but not for libLTO.so.
>
>...