NewLib ArchLinux package won't compile
Created by: eisterman
Following https://doc.redox-os.org/book/getting_started/installing_the_toolchain.html i've tried to compile the toolchain for Archlinux. But the makepkg for newlib won't work.
This is the log for makepkg -si 2> log2.txt
. This is the third recompilation.
There is this problem even with a new clone of the remote reporsitory.
The important part is:
x86_64-unknown-redox-ranlib lib.a
make[5]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib/libc/syscalls'
Making all in .
make[5]: Entering directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib/libc'
rm -f libc.a
rm -f crt0.o
rm -rf tmp
ln sys/crt0.o crt0.o >/dev/null 2>/dev/null || cp sys/crt0.o crt0.o
mkdir tmp
cd tmp; \
for i in argz/lib.a stdlib/lib.a ctype/lib.a search/lib.a stdio/lib.a string/lib.a signal/lib.a time/lib.a locale/lib.a reent/lib.a errno/lib.a misc/lib.a unix/lib.a posix/lib.a syscalls/lib.a machine/lib.a sys/lib.a; do \
x86_64-unknown-redox-ar x ../$i; \
done; \
x86_64-unknown-redox-ar rc ../libc.a *.o
cp: cannot stat 'sys/crt0.o': No such file or directory
make[5]: *** [Makefile:1043: crt0.o] Error 1
make[5]: *** Waiting for unfinished jobs....
x86_64-unknown-redox-ar: ../sys/lib.a: No such file or directory
x86_64-unknown-redox-ranlib libc.a
rm -rf tmp
make[5]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib/libc'
make[4]: *** [Makefile:680: all-recursive] Error 1
make[4]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib/libc'
make[3]: *** [Makefile:642: all-recursive] Error 1
make[3]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib'
make[2]: *** [Makefile:453: all] Error 2
make[2]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build/x86_64-unknown-redox/newlib'
make[1]: *** [Makefile:8492: all-target-newlib] Error 2
make[1]: Leaving directory '/home/fpasqua/OperativeSystems/libc/packages/arch/newlib/src/newlib-build'
make: *** [Makefile:879: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...