ash mis-compiles with clang

Yunlian Jiang yunlian at google.com
Thu Jul 27 23:30:09 UTC 2017


The TOT clang has this behavior. I will file a bug for that.

Thanks

On Thu, Jul 27, 2017 at 4:14 PM, Denys Vlasenko
<vda.linux at googlemail.com> wrote:
> On Thu, Jul 27, 2017 at 6:21 PM, Yunlian Jiang <yunlian at google.com> wrote:
>> Yes, this patch works.
>>
>> Thanks
>>
>> On Thu, Jul 27, 2017 at 6:32 AM, Denys Vlasenko
>> <vda.linux at googlemail.com> wrote:
>>> On Wed, Jul 26, 2017 at 10:40 PM, Yunlian Jiang <yunlian at google.com> wrote:
>>>> Hi,
>>>>    When I try to build busybox with clang, I got some errors on ash at
>>>> runtime.
>>>>    https://bugs.chromium.org/p/chromium/issues/detail?id=659834
>>>>
>>>>    It seems that root cause is clang adds the attribute __noreturn__ to
>>>> the function evaltree.
>
> Which version of clang is displaying this behavior?
>
> I do recommend opening a bug against clang as well -
> it seems to be a bug in it.


More information about the busybox mailing list