I have 2 hosts, a fast bare metal and a slow VM. As this package takes ages to complete, I am thinking, if it is possible to build gcc(emerge -B) on the fast one and use it as a binary package on the slower. But they have different profiles.
Fast: [9] default/linux/amd64/23.0/no-multilib (stable) *
Slow: [13] default/linux/amd64/23.0/no-multilib/hardened/selinux (stable) *
CFLAGS are same on both:
COMMON_FLAGS="-O2 -pipe -march=x86-64 -mtune=intel"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
ABI_X86="64"
The only difference i see is the hardened use flag on gcc. So would using a binary on the slower host, made with USE="hardened" emerge -B gcc, work correctly, or is there something that prevents such a build?


