Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: coutts on February 05, 2013, 07:11:07 PM

Title: [RESOLVED] recent int64 support breaks Yagarto toolchain (Mac)
Post by: coutts on February 05, 2013, 07:11:07 PM
I think I'm probably going to need to find a new toolchain, but maybe someone has some input.

After commit ab5a4c0 (https://bitbucket.org/hudson/magic-lantern/commits/ab5a4c0b8f1d047a1c36681a559304ad1ca8f955) ML now uses uint64_t, which Yagarto has some issue with. Now compiling produces these errors:

Quote
/Users/coutts/yagarto/yagarto-4.7.1/bin/../lib/gcc/arm-none-eabi/4.7.1/libgcc.a(unwind-arm.o): In function `get_eit_entry':
/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.1/libgcc/unwind-arm-common.inc:221: undefined reference to `__exidx_start'
/Users/mfischer/Projects/yagarto/gcc-build/arm-none-eabi/libgcc/../../../gcc-4.7.1/libgcc/unwind-arm-common.inc:221: undefined reference to `__exidx_end'

Anyone have some input? I'd like to continue using this toolchain because it's easy / fast to setup, but if required I will begin using a new one if someone has a better option.

Title: Re: recent int64 support breaks Yagarto toolchain (Mac)
Post by: nanomad on February 05, 2013, 07:26:38 PM
Check if there's an updated version (4.7.3 ?)

Or just use the lazy-developer setup: http://nanomad.magiclantern.fm/Development%20Box/
Title: Re: recent int64 support breaks Yagarto toolchain (Mac)
Post by: scrax on February 05, 2013, 09:17:29 PM
Quote from: coutts on February 05, 2013, 07:11:07 PM
I think I'm probably going to need to find a new toolchain, but maybe someone has some input.

After commit ab5a4c0 (https://bitbucket.org/hudson/magic-lantern/commits/ab5a4c0b8f1d047a1c36681a559304ad1ca8f955) ML now uses uint64_t, which Yagarto has some issue with. Now compiling produces these errors:

Anyone have some input? I'd like to continue using this toolchain because it's easy / fast to setup, but if required I will begin using a new one if someone has a better option.

coutts, I wasn't able to build 5DC with the summon-arm on mac and figured out this that worked: https://github.com/jsnyder/arm-eabi-toolchain

I'm using it right now so should work also for you, used homebrew instead of macport to install dependencies.
Title: Re: recent int64 support breaks Yagarto toolchain (Mac)
Post by: coutts on February 05, 2013, 09:40:36 PM
g3gg0 fixed it! Everybody thank him :)

commit:
https://bitbucket.org/hudson/magic-lantern/commits/661fb19a49046a624bbfe553e92d0b1d3073b7e5