[前][次][番号順一覧][スレッド一覧]

ruby-changes:72574

From: Nobuyoshi <ko1@a...>
Date: Sun, 17 Jul 2022 09:02:08 +0900 (JST)
Subject: [ruby-changes:72574] 50cfecd015 (master): Show ABI incompatible binary path

https://git.ruby-lang.org/ruby.git/commit/?id=50cfecd015

From 50cfecd0155236a3120c5f78b779b058867cb46d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 17 Jul 2022 08:59:20 +0900
Subject: Show ABI incompatible binary path

---
 dln.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dln.c b/dln.c
index a31cbf936f..b9cfe7dc94 100644
--- a/dln.c
+++ b/dln.c
@@ -456,7 +456,7 @@ dln_load(const char *file) https://github.com/ruby/ruby/blob/trunk/dln.c#L456
     unsigned long long (*abi_version_fct)(void) = (unsigned long long(*)(void))dln_sym(handle, "ruby_abi_version");
     unsigned long long binary_abi_version = (*abi_version_fct)();
     if (binary_abi_version != ruby_abi_version() && abi_check_enabled_p()) {
-        dln_loaderror("ABI version of binary is incompatible with this Ruby. Try rebuilding this binary.");
+        dln_loaderror("incompatible ABI version of binary - %s", file);
     }
 #endif
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]