I tried making a cross-compiler for my old pentium-mmx using crossdev. Since I found out that the glibc-2.3.5 ebuild won't build in i586 I added the following line to /etc/portage/package.mask: >=sys-libs/glibc-2.3.5 Yet crossdev attempted to include that very ebuild. grep 2.3.5 /var/log/portage/cross-i586-pc-linux-gnu-glibc.log [ebuild N ] cross-i586-pc-linux-gnu/glibc-2.3.5 And the errors it had were identical to those I saw in http://bugs.gentoo.org/show_bug.cgi?id=90236 and the corresponding forum thread. I imagine I can "fix" this by adding the package to /usr/portage/profiles/package.mask but that's a cludge Reproducible: Always Steps to Reproduce: 1. 2. 3.
In fact, it ignores values in /usr/portage/profiles/package.mask as well. When I added the previously mentioned line into that file crossdev still wanted to use glibc-2.3.5
I see what happened. crossdev defaults to utilizing whatever the newest version is that portage knows about regardless of if it has been masked or not. I think it would be more useful, though, to default to building based on the currently used versions instead. Guess this has become a feature request.
use `crossdev --libc <version you want to use>`