From: "fd0 (Daisuke Fujimura)" <noreply@...>
Date: 2022-04-14T06:08:06+00:00
Subject: [ruby-dev:51177] [Ruby master Bug#18727] Make failed on x86_64-cygwin (LoadError)

Issue #18727 has been updated by fd0 (Daisuke Fujimura).


```diff
diff --git a/include/ruby/internal/abi.h b/include/ruby/internal/abi.h
index 98a63927c5..ed779f3558 100644
--- a/include/ruby/internal/abi.h
+++ b/include/ruby/internal/abi.h
@@ -26,7 +26,7 @@
 
 /* Windows does not support weak symbols so ruby_abi_version will not exist
  * in the shared library. */
-#if defined(HAVE_FUNC_WEAK) && !defined(_WIN32) && !defined(__MINGW32__)
+#if defined(HAVE_FUNC_WEAK) && !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
 # define RUBY_DLN_CHECK_ABI
 #endif
 

```

----------------------------------------
Bug #18727: Make failed on x86_64-cygwin (LoadError)
https://bugs.ruby-lang.org/issues/18727#change-97246

* Author: fd0 (Daisuke Fujimura)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.2.0dev (2022-04-14T01:16:45Z master 3728f83b2d) [x86_64-cygwin]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
Make failed on x86_64-cygwin (LoadError)

```
$ git clone https://github.com/ruby/ruby.git
$ cd ruby
$ autoreconf -fiv && ./configure && make V=1
(snip)
Generating RDoc documentation
/tmp/ruby/.ext/common/pathname.rb:13:in `require': No such process - ruby_abi_version (LoadError)
        from /tmp/ruby/.ext/common/pathname.rb:13:in `<top (required)>'
        from /tmp/ruby/lib/rdoc/rdoc.rb:6:in `require'
        from /tmp/ruby/lib/rdoc/rdoc.rb:6:in `<top (required)>'
        from ./libexec/rdoc:16:in `require'
        from ./libexec/rdoc:16:in `<main>'
make: *** [uncommon.mk:574: rdoc] Error 1
```




-- 
https://bugs.ruby-lang.org/