|
Rockbox mail archiveSubject: Re: libarm_supportRe: libarm_support
From: Thomas Martitz <kugel_at_rockbox.org>
Date: Sat, 28 Jan 2012 13:43:53 +0100 Magnus Holmgren <magnushol_at_gmail.com> schrieb: >Hi, > >I don't understand why, but this line in >lib/arm_support/arm_support.make breaks >Fuze V2 builds for me: > >LIBARMSUPPORT := $(BUILDDIR)/lib/libarm_support.a > >(Change-Id: I34526a015357e36ffd612bf2fabf78a0354066ca) > >I get this error when linking a rock: > >LD credits.rock >/cyg/d/Source/C/Rockbox/rockbox/build/lib/libarm_support.a(support-arm.o): >In >function `__div0_wrap_s': >(.text+0x4): undefined reference to `__div0' >/cyg/d/Source/C/Rockbox/rockbox/build/lib/libarm_support.a(support-arm.o): >In >function `__div0_wrap': >(.text+0xc): undefined reference to `__div0' >collect2: ld returned 1 exit status >/cyg/d/Source/C/Rockbox/rockbox/apps/plugins/plugins.make:117: recipe >for target >`/cyg/d/Source/C/Rockbox/rockbox/build/apps/plugins/credits.rock' >failed >make: *** >[/cyg/d/Source/C/Rockbox/rockbox/build/apps/plugins/credits.rock] Error >1 __div0 should be part of that library, unless I made an error? > >Removing the above line allows the build to continue. > That's because implementations from libgcc are used in this case. >I'm using gcc 4.6.2 on Cygwin, in case that makes a difference. > Is that your host gcc or arm gcc? We have a supported gcc (the one build by rockboxdev.sh). Compiler versions can make a difference. Best regards Received on 2012-01-28 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |