On Sun, May 14, 2017 at 04:33:09PM +0200, Marc Espie wrote: > On Sun, May 14, 2017 at 03:08:59PM +0200, Sebastien Marie wrote: > > Hi, > > > > An update to textproc/ripgrep 0.5.2. > > > > See https://github.com/BurntSushi/ripgrep/releases/tag/0.5.2 for > > changelog. > > > > While here, adds gcc4 MODULES in order to use egcc as linker. It should > > let ripgrep to build with cc=clang configuration. The problem was still > > the same as cargo: clang doesn't know about libgcc. > > One big question is: do you actually need libgcc, or is libcompiler_rt > enough ? For instance, we figured out that emacs21 is happy with it.
The use of libgcc is for unwinding. libcompiler_rt seems to have some unwinding symbols (but not all), so it could be valuable to test it. An alternative way (for rustc at least), would be to provide a standalone libunwind.a. Currently it is only available via libc++abi.a (and it isn't compatible with libestdc++). > libgcc is all nice and dandy, but gcc4 won't help with new arches that are > clang only. ripgrep is a Rust program: it requires a Rust compiler, which is only available for amd64 and i386 currently. -- Sebastien Marie
