Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: libarm_support

Re: libarm_support

From: Magnus Holmgren <magnushol_at_gmail.com>
Date: Sun, 29 Jan 2012 12:11:38 +0100

On 2012-01-28 13:43, Thomas Martitz wrote:

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

Checking the map files for an older, working build, gave a clue. In that build,
__div0 is provided by gcc-support, which is (still) part of libplugin. Moving
$(LIBARMSUPPORT) to before $(PLUGINLIB) in in a couple of plugin makefiles fixes
the problem.

-- 
   Magnus
Received on 2012-01-29

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa