Actions
Bug #18727
closedMake failed on x86_64-cygwin (LoadError)
Description
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
Updated by fd0 (Daisuke Fujimura) over 2 years ago
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
Updated by hsbt (Hiroshi SHIBATA) over 2 years ago
- Status changed from Open to Assigned
- Assignee set to peterzhu2118 (Peter Zhu)
Updated by peterzhu2118 (Peter Zhu) over 2 years ago
Thank you for the bug report. That patch looks good, could you open a Pull Request on GitHub and I can merge.
Updated by fd0 (Daisuke Fujimura) over 2 years ago
I open PR https://github.com/ruby/ruby/pull/5810
Updated by peterzhu2118 (Peter Zhu) over 2 years ago
- Status changed from Assigned to Closed
Actions
Like0
Like0Like0Like0Like0Like0