Displaying 3 results from an estimated 3 matches for "40ul".
Did you mean:
0ul
2010 Mar 12
2
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...ode.o is the large object
llc -relocation-model=pic -o=mybundle.s mybundlebitcode.o
gcc -arch ppc -c -x assembler -o mybundle.o mybundle.s
g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
I get the following error:
ld: 32-bit pic-base out of range in somefunction(Array<unsigned char, 40ul> const&)from mybundle.o
Normally I'd try to build with the -mlongcall option, but it doesn't appear that llc has support for this. Is there some way to get llc to generate "long calls"?
Thanks!
2010 Mar 12
0
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...; llc -relocation-model=pic -o=mybundle.s mybundlebitcode.o
> gcc -arch ppc -c -x assembler -o mybundle.o mybundle.s
> g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
>
> I get the following error:
> ld: 32-bit pic-base out of range in somefunction(Array<unsigned char, 40ul> const&)from mybundle.o
>
> Normally I'd try to build with the -mlongcall option, but it doesn't appear that llc has support for this. Is there some way to get llc to generate "long calls"?
I thought that -mlongcall was a linker option? Have you tried passing it...
2010 Mar 12
1
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
...o=mybundle.s mybundlebitcode.o
>> gcc -arch ppc -c -x assembler -o mybundle.o mybundle.s
>> g++ -o mybundle.bundle -bundle mybundle.o -lotherlibrary
>>
>> I get the following error:
>> ld: 32-bit pic-base out of range in somefunction(Array<unsigned
>> char, 40ul> const&)from mybundle.o
>>
>> Normally I'd try to build with the -mlongcall option, but it
>> doesn't appear that llc has support for this. Is there some way to
>> get llc to generate "long calls"?
>
> I thought that -mlongcall was a linke...