Hello, I have been trying to cross-compile GLIBC 2.33 library with the --enable-memory-tagging feature.
After doing some searching and trial-and-error, I can successfully configure, but having a hard time making/installing the actual library.
Here is the command that I'm using:
CC=/home/jay/gcc-10.3/bin/aarch64-none-linux-gnu-gcc CFLAGS="-march=armv8.5-a+memtag+rng -O2 -I/home/jay/gcc-10.3/aarch64-none-linux-gnu/libc/usr/include" ../configure --enable-memory-tagging --host=aarch64-unknown-linux-gnu --prefix=/home/jay/Downloads/glibc-2.33/build
Upon running the above command and "make -j4", this output comes out:
I find this extremely weird because I include the header file with the ARM GCC compiler (/home/jay/gcc-10.3/aarch64-none-linux-gnu/libc/usr/include), so I figured that was how to get this to work.
I wonder if anyone else has a suggestion on what I could try next to see whether I can compile this. Thank you