According to the problem described in the gentoo forum, the installation of the avr-toolchain should limit the version of "gcc" to "<9.0.0". Reproducible: Always Steps to Reproduce: 1. emerge arduino 2. emerge avr-gcc according to the installation 3. include a library in an arduino project 4. check/compile the project Actual Results: Libraries are not found. Expected Results: Libraries should be found. Look at https://forums.gentoo.org/viewtopic-t-1119742-start-0.html
Execute crossdev with the following prarameters works: > crossdev -s4 --stable --gcc "<9.0.0" --portage --verbose --target avr
Please write a full bug report in a new ticket. We need all information in the ticket. https://wiki.gentoo.org/wiki/Bugzilla_HOWTO We can help you in the forum or on IRC.