Open refutationalist opened 6 months ago
It looks like to compile errors. Here's a fuller output:
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=" "CCASFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=`if test -f ./../expect/expect; then echo ./../expect/expect; else echo expect; fi`" "RUNTEST=`if test -f ../../../newlib-1.16.0/newlib/../dejagnu/runtest; then echo ../../../newlib-1.16.0/newlib/../dejagnu/runtest; else echo runtest; fi`" "RUNTESTFLAGS=" "exec_prefix=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64" "infodir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/share/info" "libdir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/lib" "prefix=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64" "tooldir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf" "top_toollibdir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/lib" "AR=ar" "AS=x86_64-xen-elf-as" "CC=gcc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../tools/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86 -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include/ipv4 -I/home/sam/Code/saur/xen/src/xen/stubdom/include -I/home/sam/Code/saur/xen/src/xen/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-pie -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -D_I386MACH_ALLOW_HW_INTERRUPTS -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/newlib/libc/include -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/libgloss/x86_64" "LD=ld" "LIBCFLAGS=" "NM=x86_64-xen-elf-nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-recursive
make[1]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=" "CCASFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64" "infodir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/share/info" "libdir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/lib" "prefix=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64" "tooldir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf" "top_toollibdir=/home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/lib" "AR=ar" "AS=x86_64-xen-elf-as" "CC=gcc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../tools/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86 -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include/ipv4 -I/home/sam/Code/saur/xen/src/xen/stubdom/include -I/home/sam/Code/saur/xen/src/xen/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-pie -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -D_I386MACH_ALLOW_HW_INTERRUPTS -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/newlib/libc/include -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/libgloss/x86_64" "LD=ld" "LIBCFLAGS=" "NM=x86_64-xen-elf-nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
Making all in libc
make[2]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc'
Making all in argz
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz'
Making all in stdlib
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib'
Makefile:1385: warning: overriding recipe for target 'lib_a-mbtowc_r.o'
Makefile:807: warning: ignoring old recipe for target 'lib_a-mbtowc_r.o'
gcc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../tools/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86 -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include/ipv4 -I/home/sam/Code/saur/xen/src/xen/stubdom/include -I/home/sam/Code/saur/xen/src/xen/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-pie -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -D_I386MACH_ALLOW_HW_INTERRUPTS -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/newlib/libc/include -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/libgloss/x86_64 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib-1.16.0/newlib/libc/stdlib -O2 -DMISSING_SYSCALL_NAMES -fno-builtin -c -o lib_a-wcstoull.o `test -f 'wcstoull.c' || echo '../../../../../newlib-1.16.0/newlib/libc/stdlib/'`wcstoull.c
../../../../../newlib-1.16.0/newlib/libc/stdlib/wcstoull.c: In function ‘wcstoull’:
../../../../../newlib-1.16.0/newlib/libc/stdlib/wcstoull.c:136:16: error: implicit declaration of function ‘_wcstoull_r’; did you mean ‘wcstoull’? [-Wimplicit-function-declaration]
136 | return _wcstoull_r (_REENT, s, ptr, base);
| ^~~~~~~~~~~
| wcstoull
make[3]: *** [Makefile:1035: lib_a-wcstoull.o] Error 1
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib'
Making all in ctype
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/ctype'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/ctype'
Making all in search
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search'
Making all in stdio
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio'
Making all in string
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/string'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/string'
Making all in signal
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/signal'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/signal'
Making all in time
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/time'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/time'
Making all in locale
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale'
Making all in sys
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/sys'
Making all in .
make[4]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/sys'
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/sys'
Making all in reent
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/reent'
gcc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../tools/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86 -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/sam/Code/saur/xen/src/xen/stubdom/../extras/mini-os/include/posix -isystem /home/sam/Code/saur/xen/src/xen/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/lwip-x86_64/src/include/ipv4 -I/home/sam/Code/saur/xen/src/xen/stubdom/include -I/home/sam/Code/saur/xen/src/xen/stubdom/../xen/include -mno-red-zone -O1 -fno-omit-frame-pointer -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-pie -fno-stack-protector -fno-exceptions -fno-asynchronous-unwind-tables -D_I386MACH_ALLOW_HW_INTERRUPTS -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/newlib/libc/include -B/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/home/sam/Code/saur/xen/src/xen/stubdom/newlib-1.16.0/libgloss/x86_64 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib-1.16.0/newlib/libc/reent -O2 -DMISSING_SYSCALL_NAMES -fno-builtin -c -o lib_a-signalr.o `test -f 'signalr.c' || echo '../../../../../newlib-1.16.0/newlib/libc/reent/'`signalr.c
In file included from ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:7:
../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c: In function ‘_kill_r’:
../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:14: error: implicit declaration of function ‘kill’; did you mean ‘_kill’? [-Wimplicit-function-declaration]
61 | if ((ret = _kill (pid, sig)) == -1 && errno != 0)
| ^~~~~
make[3]: *** [Makefile:483: lib_a-signalr.o] Error 1
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/reent'
Making all in errno
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/errno'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/errno'
Making all in misc
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc'
Making all in machine
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine'
Making all in x86_64
make[4]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine/x86_64'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine/x86_64'
Making all in .
make[4]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine'
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/machine'
Making all in .
make[3]: Entering directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc'
rm -f libc.a
rm -rf tmp
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 machine/lib.a ; do \
ar x ../$i; \
done; \
ar rc ../libc.a *.o
ar: ../stdlib/lib.a: No such file or directory
ar: ../reent/lib.a: No such file or directory
ranlib libc.a
rm -rf tmp
make[3]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc'
make[2]: *** [Makefile:582: all-recursive] Error 1
make[2]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc'
make[1]: *** [Makefile:574: all-recursive] Error 1
make[1]: Leaving directory '/home/sam/Code/saur/xen/src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib'
make: *** [Makefile:402: all] Error 2
If build_stubdom=true is passed to makepkg, this occurrs
in directory .../src/xen/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/reent
Clearly in newlib, might be a part of minios.