[Buildroot] [autobuild.buildroot.net] Build results for 2016-01-14

Mason slash.tmp at free.fr
Sun Jan 17 09:05:42 UTC 2016


On 16/01/2016 22:52, Bernd Kuhls wrote:

> Am Sat, 16 Jan 2016 22:16:47 +0100 schrieb Arnout Vandecappelle:
> 
>> On 16-01-16 11:34, Bernd Kuhls wrote:
>>
>>> the reason for this build error is a arc-only gcc bug which was fixed in 
>>> gcc-4.9: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049
>>>
>>> The toolchain used by the autobuilders is gcc-4.8 which explains the 
>>> build error. Afaics Kconfig does not allow something like this:
>>>
>>> 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 if BR2_arc
>>>
>>> Could you please give me some advise on how to fix the problem?
>>
>>  Apply logic. FOO if BAR is the same as FOO || !BAR.
> 
> Hi Arnout,
> 
> this would mean that the package is blocked on BR2_arc, regardless of the 
> toolchain used there, and all other archs need gcc-4.9+, right?
> If yes, then this is not what I want to achieve. The package works with 
> all buildroot-supported gcc versions on all archs _except_ that it is 
> broken on arc with gcc-4.8 or older, gcc bug 59049 is arc-only.

Arnout is suggesting:

depends on !BR2_arc || BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

This equivalence is called "material implication".
https://en.wikipedia.org/wiki/Material_implication_%28rule_of_inference%29

Reading more closely, are you saying the build is broken
on ARC if gcc version >= 4.8 ? Or is gcc version <= 4.8 ?

Regards.




More information about the buildroot mailing list