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

Rockbox mail archive

Subject: Re: ARM toolchain

Re: ARM toolchain

From: Amaury Pouly via rockbox-dev <>
Date: Thu, 5 May 2016 11:07:48 +0100

> The removal of #ifdef CLZ_HWI and #ifdef CTZ_HWI code is not needed for
> successful building. That changes floor_log2() and exact_log2() from code
> based on one of the __builtin_clz functions to alternative code. I'm left
> wondering what is the reason for that change.
> My old compiler, a new one with this patch, and a new one without the
> #ifdef code removal all produce the exact same ipodvideo rockbox.bin.
> The reason of the change is because the newer GCC compile in C11 mode by
default (instead of C89), which has slightly stricter rules on function
redefinition. This patches only makes sure the code compiles in C11, but
otherwise the compiler is exactly the same. You can find more information
about this patch here:
Received on 2016-05-05

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