I use Gentoo on a desktop PC (intel i5) and a laptop (intel core2duo) with few different configurations.
It works great on the desktop, and laptop too, but compilation times are 4 or 5x longer on laptop, (now upgrading GCC? it takes about 4h30 vs less than an hour on the desktop).
I've tried to install crossdev on the desktop but I think there are much things I didn't understand : when trying to create the target I have errors when emerging binutils :
Code: Select all
anard@gentoo-imack ~ $ sudo crossdev -t x86-hp-linux-gnu
Mot de passe :
-
* crossdev version: 20201122
* Host Portage ARCH: amd64
* Host Portage System: x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu)
* Target Portage ARCH: *
* Target System: x86-hp-linux-gnu
* Stage: 4 (C/C++ compiler)
* USE=multilib: no
* Target ABIs: default
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* CROSSDEV_OVERLAY: /var/db/repos/localrepo-crossdev
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: /
* Portage flags:
* leaving sys-devel/binutils in /var/db/repos/localrepo-crossdev
* leaving sys-devel/gcc in /var/db/repos/localrepo-crossdev
* leaving sys-kernel/linux-headers in /var/db/repos/localrepo-crossdev
* leaving sys-libs/glibc in /var/db/repos/localrepo-crossdev
* leaving sys-devel/gdb in /var/db/repos/localrepo-crossdev
* leaving metadata/layout.conf alone in /var/db/repos/localrepo-crossdev
!!! WARNING - Cannot auto-configure CHOST x86-hp-linux-gnu;
!!! You should edit /usr/x86-hp-linux-gnu/etc/portage/make.conf /usr/x86-hp-linux-gnu/etc/portage/profile/make.defaults /usr/x86-hp-linux-gnu/etc/portage/profile/use.force
!!! by hand to complete your configuration.
!!! No ARCH is known for this target.
* Log: /var/log/portage/cross-x86-hp-linux-gnu-binutils.log
* Emerging cross-binutils ...
* error: binutils failed :(
*
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-x86-hp-linux-gnu-info.log
* /var/log/portage/cross-x86-hp-linux-gnu-binutils.log.xz
* /var/tmp/portage/cross-x86-hp-linux-gnu/binutils*/temp/binutils-config.logs.tar.xz
My wish is simply to update my working laptop system with the performance of the desktop. How could I chroot in the laptop from desktop via ssh to update my system ?
Thanks for help





