dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: libarm_support

Re: libarm_support

From: Thomas Martitz <>
Date: Sat, 28 Jan 2012 13:43:53 +0100

Magnus Holmgren <> schrieb:

>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
>function `__div0_wrap_s':
>(.text+0x4): undefined reference to `__div0'
>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
>make: ***
>[/cyg/d/Source/C/Rockbox/rockbox/build/apps/plugins/credits.rock] Error

__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 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