Magnus Holmgren <magnus...@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 



Reply via email to