immediate segmentation fault with LLVM/Clang 9
Denys Vlasenko
vda.linux at googlemail.com
Fri Oct 25 08:57:36 UTC 2019
On Fri, Oct 25, 2019 at 10:00 AM Romain Naour <romain.naour at smile.fr> wrote:
> Le 25/10/2019 à 09:54, David Demelier a écrit :
> > I don't know where is the appropriate place to ask. I've upgraded my toolchain
> > to LLVM 9 on my Clang based Linux distribution and everything built and ran fine
> > except... busybox.
>
> There is an initial patch for this issue:
> http://lists.busybox.net/pipermail/busybox/2019-June/087306.html
There should be a way to convince LLVM to not optimize out the store
to a "constant".
Then everything will work just fine, AND optimization
(avoiding redundant loads of a known-unchanging pointer value)
will still be making the code faster and smaller.
More information about the busybox
mailing list