[Buildroot] [PATCH v3 1/1] package/mtd: add patch to fix host build error with gcc 5.1

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 11 10:17:50 UTC 2015


Dear Jörg Krause,

On Tue, 26 May 2015 12:38:09 +0200, Jörg Krause wrote:
> host-mtd build fails with gcc 5.1:
>   error: redefinition of ‘hashtable_iterator_key’
>   error: redefinition of ‘hashtable_iterator_value’
> 
> Indeed, both functions are defined twice - once in the header and once in the
> source file. This is permitted in C11 (and maybe in C99).
> 
> Add a patch sent to upstream:
> https://patchwork.ozlabs.org/patch/467254/
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> ---
> Changes v2 -> v3:
>   - Add Sob and URL to patch description (Baruch Siach)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list