From: "mame (Yusuke Endoh)" Date: 2022-04-07T16:12:22+00:00 Subject: [ruby-core:108197] [Ruby master Bug#18684] Support for out of source build Issue #18684 has been updated by mame (Yusuke Endoh). Please precisely write what you did. The following process works well for me. ``` $ tar xf ruby-3.1.1.tar.gz $ mkdir ruby-build $ cd ruby-build $ ../ruby-3.1.1/configure --prefix=$PWD/local $ make ``` I guess you first did "in-place" build and then did "out-of-place" build by using the source directory that has not only source files but also object files. This is not supported. ---------------------------------------- Bug #18684: Support for out of source build https://bugs.ruby-lang.org/issues/18684#change-97180 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- Trying out of source build, it fails: ~~~ ... snip ... compiling ../ruby-3.1.1/vm_sync.c compiling ../ruby-3.1.1/vm_trace.c compiling ../ruby-3.1.1/yjit.c assembling ../ruby-3.1.1/coroutine/amd64/Context.S Assembler messages: Fatal error: can't create coroutine/amd64/Context.o: No such file or directory make: *** [Makefile:438: coroutine/amd64/Context.o] Error 1 ~~~ I wonder if there is any chance to make this work? -- https://bugs.ruby-lang.org/ Unsubscribe: