You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issueuname while attempting to cross-compile a compiler for Linux in the Cygwin environment (cygwin 3.5.1-1.x86_64) using the crosstool-NG tool (ct-ng -v: GNU Make 4.4.1, Built for x86_64-pc-cygwin). Although the build process has been initiated successfully, it terminated with an error at an unspecified step of the build process.
During the cross-compilation process of the compiler, it is noted that the generated log file (build.log) does not provide specific information about the error that caused the compilation failure. Despite reviewing the complete log file, no error or warning messages were found that could indicate the cause of the problem.
Furthermore, the crosstool-NG configuration was verified to ensure that it is correctly set up to compile a cross-compiler for Linux on the Cygwin environment. No obvious issues were identified in the configuration.
To provide further context in diagnosing the issue, i'll attach the relevant portion of the shell output where the error occurs, unfortunately, due to the large size of the build log file, it cannot be attached directly. However, the last segment of the build log file, where the error is expected to be found, can be provided for further analysis.
Error portion: ... [INFO ] Finishing installation (may take a few seconds)... [452:56] / [ERROR] [ERROR] >> [ERROR] >> Build failed in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: main[scripts/crosstool-NG.sh@747] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> https://crosstool-ng.github.io/docs/known-issues/ [ERROR] >> [ERROR] >> If you feel this is a bug in crosstool-NG, report it at: [ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/ [ERROR] >> [ERROR] >> Make sure your report includes all the information pertinent to this issue. [ERROR] >> Read the bug reporting guidelines here: [ERROR] >> http://crosstool-ng.github.io/support/ [ERROR] [ERROR] (elapsed: 452:46.31) make: *** [/usr/local/bin/ct-ng:261: build] Error 1
Your infos does not say anything. Please use ct-ng version instead of -v (that just gets the make version). These snippes don't include the acctual error. Please upload build.log and .config for reproducability.
scripts/crosstool-NG.sh@747 is where we try to make the toolchain readonly (if CT_PREFIX_DIR_RO is set). I suspect in the cygwin/windows environment chmod -R a-w isn't working. Looks like if it failed there the toolchain itself should be installed correctly.
I've encountered an issueuname while attempting to cross-compile a compiler for Linux in the Cygwin environment (cygwin 3.5.1-1.x86_64) using the crosstool-NG tool (ct-ng -v: GNU Make 4.4.1, Built for x86_64-pc-cygwin). Although the build process has been initiated successfully, it terminated with an error at an unspecified step of the build process.
During the cross-compilation process of the compiler, it is noted that the generated log file (build.log) does not provide specific information about the error that caused the compilation failure. Despite reviewing the complete log file, no error or warning messages were found that could indicate the cause of the problem.
Furthermore, the crosstool-NG configuration was verified to ensure that it is correctly set up to compile a cross-compiler for Linux on the Cygwin environment. No obvious issues were identified in the configuration.
To provide further context in diagnosing the issue, i'll attach the relevant portion of the shell output where the error occurs, unfortunately, due to the large size of the build log file, it cannot be attached directly. However, the last segment of the build log file, where the error is expected to be found, can be provided for further analysis.
Error portion:
... [INFO ] Finishing installation (may take a few seconds)... [452:56] / [ERROR] [ERROR] >> [ERROR] >> Build failed in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: main[scripts/crosstool-NG.sh@747] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> https://crosstool-ng.github.io/docs/known-issues/ [ERROR] >> [ERROR] >> If you feel this is a bug in crosstool-NG, report it at: [ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/ [ERROR] >> [ERROR] >> Make sure your report includes all the information pertinent to this issue. [ERROR] >> Read the bug reporting guidelines here: [ERROR] >> http://crosstool-ng.github.io/support/ [ERROR] [ERROR] (elapsed: 452:46.31) make: *** [/usr/local/bin/ct-ng:261: build] Error 1
build.log portion:
[ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/linux/drivers/net/LICENSE.SRC' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/linux/drivers/net/LICENSE.SRC' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/linux/drivers/net/wireless/marvell/libertas/LICENSE' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/linux/drivers/net/wireless/marvell/libertas/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/linux/drivers/net/wireless/marvell/libertas/LICENSE' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/linux/drivers/net/wireless/marvell/libertas/LICENSE' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/linux/tools/usb/usbip/COPYING' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/linux/tools/usb/usbip/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/linux/tools/usb/usbip/COPYING' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/linux/tools/usb/usbip/COPYING' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpc/COPYING.LESSER' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpc/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpc/COPYING.LESSER' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpc/COPYING.LESSER' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpfr/COPYING' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpfr/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpfr/COPYING' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpfr/COPYING' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpfr/COPYING.LESSER' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpfr/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/mpfr/COPYING.LESSER' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/mpfr/COPYING.LESSER' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/ncurses/COPYING' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/ncurses/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/ncurses/COPYING' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/ncurses/COPYING' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zlib/contrib/dotzlib/LICENSE_1_0.txt' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zlib/contrib/dotzlib/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zlib/contrib/dotzlib/LICENSE_1_0.txt' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zlib/contrib/dotzlib/LICENSE_1_0.txt' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zlib/LICENSE' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zlib/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zlib/LICENSE' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zlib/LICENSE' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/build/LICENSE' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/build/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/build/LICENSE' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/build/LICENSE' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/COPYING' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/COPYING' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/COPYING' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/LICENSE' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/' [ALL ] '/usr/compile/.build/x86_64-unknown-linux-gnu/src/zstd/LICENSE' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/zstd/LICENSE' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/local/share/crosstool-ng/COPYING' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/' [ALL ] '/usr/local/share/crosstool-ng/COPYING' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/COPYING' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/local/share/crosstool-ng/LICENSE' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/' [ALL ] '/usr/local/share/crosstool-ng/LICENSE' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/LICENSE' [DEBUG] ==> Return status 0 [DEBUG] ==> Executing: 'cp' '-av' '/usr/local/share/crosstool-ng/licenses.d' '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/' [ALL ] '/usr/local/share/crosstool-ng/licenses.d' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/legalcode_files' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/legalcode_files' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/legalcode_files/deeds.css' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/legalcode_files/deeds.css' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/legalcode_files/logo_code.gif' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/legalcode_files/logo_code.gif' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files/deed.gif' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files/deed.gif' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files/deed_002.gif' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files/deed_002.gif' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files/deeds.css' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files/deeds.css' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files/logo_deed.gif' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files/logo_deed.gif' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed_files/popup.gif' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed_files/popup.gif' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/deed.en' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/deed.en' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/by-sa/legalcode' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/by-sa/legalcode' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/gpl.txt' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/gpl.txt' [ALL ] '/usr/local/share/crosstool-ng/licenses.d/lgpl.txt' -> '/usr/compile/x-tools/x86_64-unknown-linux-gnu/share/licenses/crosstool-ng/licenses.d/lgpl.txt' [DEBUG] ==> Return status 0 [INFO ] Finalizing the toolchain's directory: done in 100.98s (at 452:56) [INFO ] Build completed at 20240312.064958 [INFO ] (elapsed: 452:32.72) [INFO ] Finishing installation (may take a few seconds)...
The text was updated successfully, but these errors were encountered: