https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107201
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- As a work around, one can use an adjusted device-specs file with the avrlibc_devicelib removed. The spec looks like this: *avrlibc_devicelib: %{!nodevicelib:-lavr128da32}