I debugged this a little bit and found that the difference manifests on
ruby3.0's load.c:require_internal, more specifically this part here:
1118 if (found) {
1119 if (!path || !(ftptr = load_lock(th->vm, RSTRING_PTR(path),
warn))) {
1120 result = 0;
1121 }
On ppc64el, the call to "load_lock" fails for some reason. On non-
ppc64el, the call succeeds and the function proceeds to successfully
load "bar".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959628
Title:
"require" behaves differently on ppc64el during certain conditions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby3.0/+bug/1959628/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs