Project

General

Profile

Actions

Bug #18727

closed

Make failed on x86_64-cygwin (LoadError)

Bug #18727: Make failed on x86_64-cygwin (LoadError)

Added by fd0 (Daisuke Fujimura) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.2.0dev (2022-04-14T01:16:45Z master 3728f83b2d) [x86_64-cygwin]
[ruby-dev:51176]

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 3 years ago Actions #1 [ruby-dev:51177]

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 3 years ago Actions #2 [ruby-dev:51178]

  • Status changed from Open to Assigned
  • Assignee set to peterzhu2118 (Peter Zhu)

Updated by peterzhu2118 (Peter Zhu) over 3 years ago Actions #3 [ruby-dev:51179]

Thank you for the bug report. That patch looks good, could you open a Pull Request on GitHub and I can merge.

Updated by peterzhu2118 (Peter Zhu) over 3 years ago Actions #5

  • Status changed from Assigned to Closed
Actions

Also available in: PDF Atom