Hello,
I'm new to txr and was attempting a cross-compile to armv6l,
however configure is failing with the following error:
> Errors from compilation:
>
> CC conftest.c -> conftest.o
> In file included from /usr/arm-linux-gnueabihf/usr/include/features.h:392,
> from /usr/arm-linux-gnueabihf/usr/include/bits/libc-header-start.h:33,
> from /usr/arm-linux-gnueabihf/usr/include/limits.h:26,
> from /usr/lib/gcc/arm-linux-gnueabihf/12.2/include-fixed/limits.h:203,
> from /usr/lib/gcc/arm-linux-gnueabihf/12.2/include-fixed/syslimits.h:7,
> from /usr/lib/gcc/arm-linux-gnueabihf/12.2/include-fixed/limits.h:34,
> from conftest.c:1:
> /usr/arm-linux-gnueabihf/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
> 26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
> | ^~~~~
> make: failing command:
> arm-linux-gnueabihf-gcc -O2 -fno-stack-protector -iquote . -std=c99 -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE -Wall -Wextra -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes -Werror=old-style-definition -g -D_TIME_BITS=64 -fno-PIE -O2 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard -I/usr/arm-linux-gnueabihf/usr/include -ffile-prefix-map=/builddir/txr-290=. -c -o conftest.o conftest.c
> make: *** [Makefile:210: conftest.o] Error 1
Is this test expected to pass on armv6l? Or is ARM not a supported
architecture? I couldn't find a comment about supported architectures on
the website. I'm asking because I am interested in taking on maintenance
off the txr package for Void Linux, which supports armv5l, armv6l and
aarch64. However, I don't personally have any experience with ARM
architectures yet.
Cheers,
Leon