The failure is due to a change in a single variable in LLVM. You can either wait for the patch to be merged (I'd be surprised if it hasn't been already, haven't checked since about 12 hours ago) or you could apply this patch:
Originally Posted by RavFX
Note: these features have been in radeonsi for a few days now, the only difference is that it was committed to the status/to-do page.
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index e8d2db2..65c02d8 100644
@@ -174,12 +174,14 @@ lp_set_target_options(void)
+#if HAVE_LLVM < 0x0304
* By default LLVM adds a signal handler to output a pretty stack trace.
* This signal handler is never removed, causing problems when unloading the
* shared object where the gallium driver resides.
llvm::DisablePrettyStackTrace = true;
// If we have a native target, initialize it to ensure it is linked in and
// usable by the JIT.