2016-01-02 14:25 GMT-06:00 <waltd...@waltdnes.org>: > On Sat, Jan 02, 2016 at 12:55:56PM -0600, Jc García wrote > >> Then why the recently introuced multilib method of bulding 32bit >> libraries for packages that need it on 64 bit works? I don't think the >> devs would have bothered to introudce the variable ABI_X86 and a >> mulitib eclass just to compile a 32bit Hello World. >> >> I'm not trying to make a flame here, but don't blame the compiler, >> when in this case is more likely you the user are doing something >> wrong. >> My guess is you are blaming the effects of CPU_FLAGS_X86 on CFLAGS. > > The fact that I use "no-multilib" profiles on my 64-bit machines > probably doesn't help. The example I was using involved a manual build > of Pale Moon from source. I manually specified in the build script... > > ac_add_options --enable-optimize="-O2 -march=bonnell -mfpmath=sse -pipe \ > -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables \ > -mmmx -msse -msse2 -mssse3 -mmovbe -mfxsr" > > ...which are the options I use on my netbook client for outsourcing the > build process. So the host's CPU_FLAGS_X86 setting should not be a > problem. > A bit unrelated to the thread, but not really as a solution, here's my experience: I use Gentoo on a netbook too, but I'm not using distcc, it won't help much anyway, my approach is to make a 32 bit container(using systemd-nspawn for the sake of booting it fot testing, but chroot can get it done) and make sure to have the same world and /etc/portage/ in both, with the only difference that the container has FEATURES="buildpkg", and the netbook has FEATURES="getbinpkg", I use git to keep the changes in sync, and source make.local.conf (ignored by git) on each the container). I serve the binpkg host from my desktop to my LAN with nginx but I'm considering git from the booted container. I also mount $PORTDIR via NFS to have the same tree( bandwidth is expensive for me, and I also don't want to have tons of portage tree's around as I use the same method for another amd64 pc with an older processor, that has only 2 threads)
PD: The next step is to make the upgrades be handled by ansible but I haven't sat down to make it happen.