Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: lenny on December 13, 2009, 09:48:11 PM

Title: rockboxdev.sh - mac 10.6
Post by: lenny on December 13, 2009, 09:48:11 PM
I'm trying to build an arm toolchain on snow leopard. After several minutes the process fails with this error:
Code: [Select]
arm-elf-ar  rc ./libgcc.a libgcc/./_udivsi3.o libgcc/./_divsi3.o libgcc/./_umodsi3.o libgcc ..........
make[2]: *** [libgcc.a] Abort trap
make[2]: *** Deleting file `libgcc.a'
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
Any ideas?

Edit: here is the complete log file (http://www-scf.usc.edu/~koepsell/temp_files/rockboxdev_log_2009.12.13.txt).
Title: Re: rockboxdev.sh - mac 10.6
Post by: morcheeba on December 20, 2009, 02:54:00 PM
same here with the Dec 20 build.
Also tried revision 22849 (from the release date of version 3.4) and it had the same problem.
Title: Re: rockboxdev.sh - mac 10.6
Post by: Paula on September 24, 2010, 03:42:50 PM
I have the same problem.
Is there a solution in the meantime?
Title: Re: rockboxdev.sh - mac 10.6
Post by: Chronon on September 25, 2010, 12:59:59 AM
You can always try the VM method.
Title: Re: rockboxdev.sh - mac 10.6
Post by: nls on September 25, 2010, 04:29:16 AM
The new eabi toolchain is recommended for building ar targets now, please try with that instead
Title: Re: rockboxdev.sh - mac 10.6
Post by: bluebrother on September 26, 2010, 06:32:05 AM
I have the same problem.
Is there a solution in the meantime?

I've given that another try and managed to successfully build the eabi toolchain on 10.6. Since I have MacPorts installed it would be great to see if there are any side effects caused by that. Please try the patch at FS#11643 (http://www.rockbox.org/tracker/task/11643) -- if it works fine for you I'll commit it.
Title: Re: rockboxdev.sh - mac 10.6
Post by: Paula on September 29, 2010, 04:03:06 PM
When I try to patch the script with the command
patch -p1 < rockboxdev-osx106-1.diff

I get the following message:

patching file rockboxdev.sh
Reversed (or previously applied) patch detected!  Assume -R? [n]

Shall I confirm with "y" or is this a problem?
Title: Re: rockboxdev.sh - mac 10.6
Post by: saratoga on September 29, 2010, 04:17:32 PM
When I try to patch the script with the command
patch -p1 < rockboxdev-osx106-1.diff

I get the following message:

patching file rockboxdev.sh
Reversed (or previously applied) patch detected!  Assume -R? [n]

Shall I confirm with "y" or is this a problem?

You don't need to apply that patch, its already in SVN (which is why patch is telling you its already applied).