From: "mame (Yusuke Endoh)" Date: 2022-01-21T08:12:32+00:00 Subject: [ruby-core:107223] [Ruby master Bug#18504] configure prints a warning when cross-compiling Issue #18504 has been reported by mame (Yusuke Endoh). ---------------------------------------- Bug #18504: configure prints a warning when cross-compiling https://bugs.ruby-lang.org/issues/18504 * Author: mame (Yusuke Endoh) * Status: Assigned * Priority: Normal * Assignee: shyouhei (Shyouhei Urabe) * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- ``` $ sudo apt-get install gcc-aarch64-linux-gnu $ ./configure --host=aarch64-linux-gnu downloading config.guess ... done downloading config.sub ... done checking build system type... x86_64-pc-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking for aarch64-linux-gnu-aarch64-linux-gnu-ld... no checking for aarch64-linux-gnu-ld... aarch64-linux-gnu-ld configure: WARNING: using cross tools not prefixed with host triplet ``` It attempts to find `aarch64-linux-gnu-aarch64-linux-gnu-ld`, which fails. Then it finds `aarch64-linux-gnu-ld`, but also it prints "WARNING: using cross tools not prefixed with host triplet". I guess this was triggered by commit:2c96e04868477eaa1420945d57bf5b3adb521e84. @shyouhei Could you take a look? -- https://bugs.ruby-lang.org/ Unsubscribe: