diff --git a/build.rs b/build.rs index 514df7ea09b1d95f4a2b963926294dbbc2962046..14dee886970856676fd361ff1ce2da0a7780246f 100644 --- a/build.rs +++ b/build.rs @@ -339,7 +339,10 @@ fn build_tarantool(jsc: Option<&jobserver::Client>, build_root: &Path) { rustc::link_lib_dynamic("resolv"); } else { // not supported on macos - rustc::link_arg("-export-dynamic"); + // We use -rdynamic instead of -export-dynamic + // because on fedora this likely triggers this bug + // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47390 + rustc::link_arg("-rdynamic"); rustc::link_lib_dynamic("stdc++"); } }