ash mis-compiles with clang

Yunlian Jiang yunlian at google.com
Wed Jul 26 20:40:10 UTC 2017


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.

   Can we fix this to make it build with clang? I can provide a patch to
remove
the attribute  __noreturn__ from evaltreenr if the compiler is clang.

   Does that sounds a reasonable fix?

    Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20170726/8eeba58a/attachment.html>


More information about the busybox mailing list