Displaying 3 results from an estimated 3 matches for "mybundlebitcode".
2010 Mar 12
2
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
I'm trying to build a very large shared library (bundle) for PPC on Mac OS X 10.5. The build looks something like this, where mybundlebitcode.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, 40u...
2010 Mar 12
0
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
On Mar 11, 2010, at 5:47 PM, Robb Kistler wrote:
> I'm trying to build a very large shared library (bundle) for PPC on Mac OS X 10.5. The build looks something like this, where mybundlebitcode.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 somef...
2010 Mar 12
1
[LLVMdev] large modules, PPC on OS X, "ld: 32-bit pic-base out of range in"
On Mar 11, 2010, at 6:07 PM, Chris Lattner wrote:
> On Mar 11, 2010, at 5:47 PM, Robb Kistler wrote:
>
>> I'm trying to build a very large shared library (bundle) for PPC on
>> Mac OS X 10.5. The build looks something like this, where
>> mybundlebitcode.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-b...