Issue #16134 has been reported by fd0 (Daisuke Fujimura).

----------------------------------------
Bug #16134: Compilation error on x86_64-cygwin
https://bugs.ruby-lang.org/issues/16134

* Author: fd0 (Daisuke Fujimura)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-09-02T20:42:31Z master 1994adf938) [x86_64-cygwin]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Compilation error on x86_64-cygwin.
```
make[2]: Entering directory '/tmp/ruby-git/ruby/ext/-test-/arith_seq/extract'
linking shared-object -test-/arith_seq/extract.so
extract.o: In function `Init_extract':
/tmp/ruby-git/ruby/ext/-test-/arith_seq/extract/extract.c:26:(.text+0xfc): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `rb_define_singleton_method'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:267: ../../../../.ext/x86_64-cygwin/-test-/arith_seq/extract.so] Error 1
make[2]: Leaving directory '/tmp/ruby-git/ruby/ext/-test-/arith_seq/extract'
make[1]: *** [exts.mk:97: ext/-test-/arith_seq/extract/all] Error 2
make[1]: Leaving directory '/tmp/ruby-git/ruby'
make: *** [uncommon.mk:293: build-ext] Error 2
rm cygruby270.rc
```


---Files--------------------------------
cygwin.patch (1.73 KB)


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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>