In scripts/kconfig/lxdialog/check-lxdialog.sh I see lines like echo "main() {}" | $cc -lncursesw -xc - -o /dev/null 2> /dev/nulland I will not be surprised if gcc removed its output atsome point (on failure?).