Hi Supragya, On 03/29/2017 04:46 PM, Supragya Raj wrote: > P.S. Jakub, no error found on any compilation by default versions of > types.h other than arm32, the typedef was required only there I guess.
I wonder how you achieved that. For instance: make distclean; make -j 6 PROFILE=mips32/malta-le will fail to build in exactly the same way as arm32/integratorcp had been failing prior to this patch: /usr/local/cross/mips32/bin/mipsel-linux-gnu-gcc -DBOOT -DRELEASE=0.6.0 "-DCOPYRIGHT=Copyright (c) 2001-2016 HelenOS project" "-DNAME=Elastic Horse" -D__32_BITS__ -D__LE__ -Igeneric/include -I../abi/include -O3 -imacros ../config.h -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32LE -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -std=gnu99 -Werror-implicit-function-declaration -Wwrite-strings -pipe -Werror -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mabi=32 -march=4kc -c generic/src/printf_core.c -o generic/src/printf_core.o <snip> generic/src/printf_core.c: In function 'printf_core': generic/src/printf_core.c:609:16: error: 'ptrdiff_t' undeclared (first use in this function) if (sizeof(ptrdiff_t) == sizeof(uint32_t)) ^~~~~~~~~ generic/src/printf_core.c:609:16: note: each undeclared identifier is reported only once for each function it appears in make check will also catch this. In general, as there is no generic definition of ptrdiff_t in boot, all platforms building boot/generic/src/printf_core.c will fail to build unless you provide ptrdiff_t. Specifically, we are talking about these architectures: sparc64, ppc32, arm32, riscv64, mips32, ia64 > Also, riscv64 was not tested as shown by error above. Can u please > verify these two things on your end.. :-) riscv64 will have the same issue. Jakub _______________________________________________ HelenOS-devel mailing list HelenOS-devel@lists.modry.cz http://lists.modry.cz/listinfo/helenos-devel