[Buildroot] [PATCH 1/1] package/upmpdcli: Fix build with uclibc on SH4

Jörg Krause jkrause at posteo.de
Thu Oct 2 12:25:21 UTC 2014


Dear Thomas,

On 10/01/2014 11:18 PM, Thomas Petazzoni wrote:
> Dear Jörg Krause,
>
> On Wed,  1 Oct 2014 23:00:56 +0200, Jörg Krause wrote:
>> Add missing header file <cstdio> to the uclibc patch to fix build with target SH4.
>>
>> Fixes:
>>    http://autobuild.buildroot.net/results/e5be8fe46a30f0b417fe5fc19a27c480d885791e/
>>    http://autobuild.buildroot.net/results/a3453afddff4fc03681f7fbdff3ccab9706eb189/
>>
>> Signed-off-by: Jörg Krause <jkrause at posteo.de>
> Do you know why the issue is SH4 specific? Is it because our SH4
> toolchains are very old compared to the other Buildroot toolchains (due
> to the SH4 support being broken in the internal toolchain backend) ?

I don't know. The SH4 toolchain is not so old, it's gcc 4.7.3. I guess 
it has something to do with the ability or strictness of the compiler to 
dissolve header dependencies. But I'm not a toolchain expert...

We will use the tool "include-what-you-use" from google to fix missing 
header issues for upmpdcli.

Best regards
Jörg



More information about the buildroot mailing list