GCC Compilation error on Devuan Ascii (Debian Stretch)
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
When attempting to compile redox with the standard instructions, I have encountered an error during the build of gcc. Ending lines of console output are shown here:
Environment info
- Operating system:
-
uname -a
: Linux devuan1 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux -
rustc -V
: rustc 1.33.0-nightly (d99a320cb 2018-12-18) -
git rev-parse HEAD
: e420efe5
Steps to reproduce
- Prepare toolchain according to the book, with rustup for nightly builds and all required packages
- Run
make all
. - Observe console output.
Behavior
- Expected behavior: The expected behavior consists of the package being built without errors.
- Actual behavior: The package was not built without errors. During the build of the gcc commponent, an error was output, shown here with leading lines:
Checking multilib configuration for libgcc...
mkdir -p -- x86_64-unknown-redox/libgcc
Configuring in x86_64-unknown-redox/libgcc
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-unknown-redox
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for x86_64-unknown-redox-ar... x86_64-unknown-redox-ar
checking for x86_64-unknown-redox-lipo... x86_64-unknown-redox-lipo
checking for x86_64-unknown-redox-nm... /path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-build/./gcc/nm
checking for x86_64-unknown-redox-ranlib... x86_64-unknown-redox-ranlib
checking for x86_64-unknown-redox-strip... x86_64-unknown-redox-strip
checking whether ln -s works... yes
checking for x86_64-unknown-redox-gcc... /path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-build/./gcc/xgcc -B/path/to/build/root/Redox1/redox/prefix/x86_64-unknown-redox/gcc-freestanding-build/./gcc/ -B/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install/x86_64-unknown-redox/bin/ -B/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install/x86_64-unknown-redox/lib/ -isystem /path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install/x86_64-unknown-redox/include -isystem /path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install/x86_64-unknown-redox/sys-include
checking for suffix of object files... configure: error: in `/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-build/x86_64-unknown-redox/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Makefile:13550: recipe for target 'configure-target-libgcc' failed
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory '/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-build'
mk/prefix.mk:56: recipe for target '/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install' failed
make: *** [/path/to/build/root/redox/prefix/x86_64-unknown-redox/gcc-freestanding-install] Error 2
- Proposed solution: Unfortunately, I do not have a proposed solution in mind, as I am too unfamiliar with this exact portion of the build process.
Below is a screenshot of my terminal emulator showing the error.
Optional references
Related to: I am not aware of anything that this is directly related to, although that may be due to my underdeveloped skill in bug tracker browsing. I do apologize if I have missed a connected issue.
A relevant log file:config.log