Cross-compile python3.8 for aarch64

Hi, i cross-compile python3.8 from source code as below:

cd Python-3.8.10

./configure \
	CC=aarch64-linux-gnu-gcc \
	CXX=aarch64-linux-gnu-g++ \
	AR=aarch64-linux-gnu-ar \
	RANLIB=aarch64-linux-gnu-ranlib \
	--host=aarch64-linux-gnu \
    --build=x86_64-linux-gnu \
	--target=aarch64-linux-gnu \
	--disable-ipv6 \
	--enable-optimizations \
	--with-system-ffi \
	--prefix=/home/$USER/python-3.8.10 \
	ac_cv_file__dev_ptmx=no \
	ac_cv_file__dev_ptc=no

make -j8

Then some errors in ./Modules/posixmodule.c shows:

In function 'os_preadv_impl' : implicit declaration of function 'preadv2'
In function 'os_pwritev_impl' : implicit declaration of function 'pwritev2'
In function 'os_copy_file_range_impl': implicit declaration of function 'copy_file_range'

OS in the host is ubuntu20.04, and python3.8.10 is installed.

I get nothing with google. How can i solve this?
Thanks in advance

I solve this issue by connectting it with aarch64’s glibc.