My apologiesĀ if this is already fixed on top-of-tree, but in ncurses 6.3 there are some direct calls to ld and pkg-config which could break cross compilation.
Since ncurses uses autoconf this isn't exactly a complete patch because configure is generated, but we replaced the unprefixed calls in the Gentoo ebuild process with:
sed -i -e 's/ld --verbose/${LD} --verbose/g' configure
sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/g' misc/gen-pkgconfig.in
Thanks,
Allen