https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93602
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED Ever confirmed|1 |0 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Similar to PR 17284, and others. The root cause is always having libiconv installed and the build getting confused whether to use the functions from libiconv or the system libc. You probably have a second iconv.h header somewhere, I would guess either /usr/local/include or ${INSTALL_FOLDER_PATH}/include