compatible with 10.3?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compatible with 10.3?

Benjamin Reed-3
I'm trying to update my darwin/distcc cross-compiler toolset (at
http://ranger.befunk.com/fink/darwin-cross if anyone's interested) to
work for 10.3 as well.  I've got my odcctools and gcc packages much
cleaned up over the versions that are up there right now, but I'm
getting build errors actually using it with 10.3, and I'd like to fix
it before releasing them into the wild.

Is there an odcctools release (or a modern patched-up cctools) that
works with 10.3?  Currently, I get errors like this on 10.3:

---(snip!)---
gcc-3.3 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
.libs/libfaad.0.0.0.dylib  .libs/bits.o .libs/cfft.o .libs/decoder.o
.libs/drc.o .libs/error.o .libs/filtbank.o .libs/ic_predict.o
.libs/is.o .libs/lt_predict.o .libs/mdct.o .libs/mp4.o .libs/ms.o
.libs/output.o .libs/pns.o .libs/pulse.o .libs/specrec.o
.libs/syntax.o .libs/tns.o .libs/hcr.o .libs/huffman.o .libs/rvlc.o
.libs/ssr.o .libs/ssr_fb.o .libs/ssr_ipqf.o .libs/common.o
.libs/sbr_dct.o .libs/sbr_e_nf.o .libs/sbr_fbt.o .libs/sbr_hfadj.o
.libs/sbr_hfgen.o .libs/sbr_huff.o .libs/sbr_qmf.o .libs/sbr_syntax.o
.libs/sbr_tf_grid.o .libs/sbr_dec.o   -install_name
/fink/lib/libfaad.0.dylib -Wl,-compatibility_version -Wl,1
-Wl,-current_version -Wl,1.0
ld: .libs/decoder.o r_type field of relocation entry 18 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (19) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 20 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (21) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 22 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (23) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 24 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (25) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 26 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (27) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 28 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (29) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 30 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (31) in
section (__TEXT,__text)
ld: .libs/decoder.o r_type field of relocation entry 32 in section
(__TEXT,__text) invalid
ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (33) in
section (__TEXT,__text)
ld: .libs/output.o r_type field of relocation entry 5 in section
(__TEXT,__text) invalid
ld: .libs/output.o stray relocation PPC_RELOC_PAIR entry (6) in
section (__TEXT,__text)
---(snip!)---
_______________________________________________
odcctools mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/odcctools
Reply | Threaded
Open this post in threaded view
|

Re: compatible with 10.3?

Shantonu Sen-2
You're using the stock 10.3 /usr/bin/ld to link object files that were  
created with odcctools. Don't do that ;-)

Shantonu

On Mar 29, 2006, at 8:32 AM, Benjamin Reed wrote:

> I'm trying to update my darwin/distcc cross-compiler toolset (at
> http://ranger.befunk.com/fink/darwin-cross if anyone's interested) to
> work for 10.3 as well.  I've got my odcctools and gcc packages much
> cleaned up over the versions that are up there right now, but I'm
> getting build errors actually using it with 10.3, and I'd like to fix
> it before releasing them into the wild.
>
> Is there an odcctools release (or a modern patched-up cctools) that
> works with 10.3?  Currently, I get errors like this on 10.3:
>
> ---(snip!)---
> gcc-3.3 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
> .libs/libfaad.0.0.0.dylib  .libs/bits.o .libs/cfft.o .libs/decoder.o
> .libs/drc.o .libs/error.o .libs/filtbank.o .libs/ic_predict.o
> .libs/is.o .libs/lt_predict.o .libs/mdct.o .libs/mp4.o .libs/ms.o
> .libs/output.o .libs/pns.o .libs/pulse.o .libs/specrec.o
> .libs/syntax.o .libs/tns.o .libs/hcr.o .libs/huffman.o .libs/rvlc.o
> .libs/ssr.o .libs/ssr_fb.o .libs/ssr_ipqf.o .libs/common.o
> .libs/sbr_dct.o .libs/sbr_e_nf.o .libs/sbr_fbt.o .libs/sbr_hfadj.o
> .libs/sbr_hfgen.o .libs/sbr_huff.o .libs/sbr_qmf.o .libs/sbr_syntax.o
> .libs/sbr_tf_grid.o .libs/sbr_dec.o   -install_name
> /fink/lib/libfaad.0.dylib -Wl,-compatibility_version -Wl,1
> -Wl,-current_version -Wl,1.0
> ld: .libs/decoder.o r_type field of relocation entry 18 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (19) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 20 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (21) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 22 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (23) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 24 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (25) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 26 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (27) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 28 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (29) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 30 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (31) in
> section (__TEXT,__text)
> ld: .libs/decoder.o r_type field of relocation entry 32 in section
> (__TEXT,__text) invalid
> ld: .libs/decoder.o stray relocation PPC_RELOC_PAIR entry (33) in
> section (__TEXT,__text)
> ld: .libs/output.o r_type field of relocation entry 5 in section
> (__TEXT,__text) invalid
> ld: .libs/output.o stray relocation PPC_RELOC_PAIR entry (6) in
> section (__TEXT,__text)
> ---(snip!)---
> _______________________________________________
> odcctools mailing list
> [hidden email]
> http://www.opendarwin.org/mailman/listinfo/odcctools

_______________________________________________
odcctools mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/odcctools
Reply | Threaded
Open this post in threaded view
|

Re: compatible with 10.3?

Benjamin Reed-3
On 3/29/06, Shantonu Sen <[hidden email]> wrote:
> You're using the stock 10.3 /usr/bin/ld to link object files that were
> created with odcctools. Don't do that ;-)

Exactly; I'm looking for a way to set up linux-based distcc hosts that
*work* with a stock ld.  They do on 10.4, they don't on 10.3.  Is
there any way to do so?  Or should I just mark my toolkit as
"10.4-only".  :)
_______________________________________________
odcctools mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/odcctools
Reply | Threaded
Open this post in threaded view
|

Re: compatible with 10.3?

Shantonu Sen-2
No, there's no way to do this. The 10.3 ld does not understand the new  
relocations.

If you want to drive this with gcc 3.3 (are you using 3.3 on the linux  
systems?), you can try building odcctools with --prefix=/usr, but I've  
never done this

Shantonu

On Mar 29, 2006, at 8:47 AM, Benjamin Reed wrote:

> On 3/29/06, Shantonu Sen <[hidden email]> wrote:
>> You're using the stock 10.3 /usr/bin/ld to link object files that  
>> were
>> created with odcctools. Don't do that ;-)
>
> Exactly; I'm looking for a way to set up linux-based distcc hosts that
> *work* with a stock ld.  They do on 10.4, they don't on 10.3.  Is
> there any way to do so?  Or should I just mark my toolkit as
> "10.4-only".  :)

_______________________________________________
odcctools mailing list
[hidden email]
http://www.opendarwin.org/mailman/listinfo/odcctools