https://wiki.gentoo.org/wiki/Arduino#Pr ... _toolchain
I've tried to build the toolchain with the following
Code: Select all
crossdev -s4 --stable --portage --verbose --target avrCode: Select all
USE="-nls -openmp -pch -sanitize -vtv" crossdev -t avr -s4 --without-headersCode: Select all
USE="-openmp -hardened -sanitize -vtv" crossdev -s4 --stable --portage --verbose --target avrCode: Select all
USE="-openmp -hardened -sanitize -vtv" crossdev -s4 --stable --portage --verbose --target avrThe error in the log file is always the same
Code: Select all
/bin/bash /var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/gcc-8.2.0/libgcc/../mkinstalldirs /var/tmp/portage/cross-avr/gcc-8.2.0-r4/image//usr/lib/gcc/avr/8.2.0/include
/usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 unwind.h /var/tmp/portage/cross-avr/gcc-8.2.0-r4/image//usr/lib/gcc/avr/8.2.0/include
/bin/bash /var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/gcc-8.2.0/libgcc/../mkinstalldirs /var/tmp/portage/cross-avr/gcc-8.2.0-r4/image//usr/lib/gcc/avr/8.2.0/include
/usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/gcc-8.2.0/libgcc/gcov.h /var/tmp/portage/cross-avr/gcc-8.2.0-r4/image//usr/lib/gcc/avr/8.2.0/include
make[4]: Leaving directory '/var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/build/avr/avrxmega3/short-calls/libgcc'
make[3]: Leaving directory '/var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/build/avr/libgcc'
make[2]: Leaving directory '/var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/build/avr/libgcc'
make[1]: Leaving directory '/var/tmp/portage/cross-avr/gcc-8.2.0-r4/work/build'
mv: cannot stat '/var/tmp/portage/cross-avr/gcc-8.2.0-r4/image//usr/lib/libcc1*': No such file or directory
* ERROR: cross-avr/gcc-8.2.0-r4::crossdev failed (install phase):
* (no error message)My gcc-config is as follows
Code: Select all
gentoo /home/fred # gcc-config -l
[1] avr-4.9.3 *
[2] x86_64-pc-linux-gnu-8.2.0 *
gentoo /home/fred #
Code: Select all
Calculating dependencies... done!
[ebuild R ] sys-devel/crossdev-20181020::gentoo 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Code: Select all
WARNING: One or more repositories have been ignored due to duplicate
profiles/repo_name entries:
/, crossdev, /usr/local/portage overrides
/usr/local/portage-crossdev
All profiles/repo_name entries must be unique in order to avoid having
duplicates ignored. Set PORTAGE_REPO_DUPLICATE_WARN="0" in
/etc/portage/make.conf if you would like to disable this warning.



