On Mon, Sep 4, 2017 at 3:16 PM, Grant <emailgr...@gmail.com> wrote:
>> I have a network of very nearly identical Dell XPS 13 laptops that I
>> manage with a script.  The master pushes the contents of its
>> filesystem to the others so I only have to manage one system.  It's
>> worked really well over several years.  I just got a new Dell XPS 13
>> to serve as the master and there have been some changes that were
>> difficult to integrate with the network (high-res screen, /dev/sda
>> replaced with /dev/nvme0n0) but those problems are fixed thanks to you
>> guys.
>>
>> Now I'm running into "trap invalid opcode" errors on the older
>> systems.  Can I disable some of the newer CPU instruction sets on the
>> master laptop when compiling to hopefully generate binaries that will
>> work on the older systems?  If so, could anyone point me in the right
>> direction?  I don't want to use distcc please.
>>
>> CHOST="x86_64-pc-linux-gnu"
>> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
>
>
> Switching to -mtune=native seems to work.  Time for an emerge -e world.
>

This still might fail after a sufficient amount of time, you may want
to run cpuid2cpuflags on all of the laptops. I'm not sure if there is
a way around this. You may be able to refer to the Intel ARK to look
up processor and family capabilities directly.

R0b0t1.

Reply via email to