From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CEAF51396D0 for ; Tue, 5 Sep 2017 00:53:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5292D1FC08A; Tue, 5 Sep 2017 00:53:54 +0000 (UTC) Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3A531FC002 for ; Tue, 5 Sep 2017 00:53:53 +0000 (UTC) Received: by mail-yw0-x233.google.com with SMTP id x144so7283076ywg.2 for ; Mon, 04 Sep 2017 17:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YY8N2Ls0JjSx9X9Z9QTl09n2QmmuFtcIg7SHz81WywI=; b=qK74DMyd4h8E1zoGzFjCJdy7Vvh6Vca/z+7uaxjUoA+4zupzpq9hezAyFfRPTIkrsa Wo5RGRrMofaq3RWnn84bJ01IKBxE6oEycgiLA5thHbqsNODMXQtnBHut5FhulsltlEl5 FzzFehm8Lvc4WZfDHHNhMdHgWU1306rWhVbkEj4YbiMK259QLR1N5idb8Nxha8/6cCd8 tavilPTlySDBd5UX3dipEhYrQzX7wTrGaA6BqdGmhoSU8HkygJrnTFk0u+LzwzryuN3Q UUIP1mzy0CjqeLwJmByC1l5AWerTkfqajA4zsTbD2/SK5hz7FwX00Z4FibQLVob6rcGc Wa9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=YY8N2Ls0JjSx9X9Z9QTl09n2QmmuFtcIg7SHz81WywI=; b=b0oiP/znjEncnl/D72XaM7dx6oq+FER7QscilqvFG5jUWZbGLGGTXk8stCWJKC5H5m FICfFBKLyRqluODzkGdUzrzIddMTAPGL1A520o4yIJUOqKTyliJLADzK9CH5xnM66aUU zlumasKAZRuDgV8T5LxwLl3f0Y+42tynD7iwOFonbkmSxYB9fzmrj3JADwd/N2z/6X+F lQ1GdgT6Ez4JrTtwb+iBDy6EPVs5NjIbGY/na6pKWEhrHX1/e3Z6/F0IolxWJkgb7BBe yAWcaRmEoYPUuXICghaBsMV977sd1jIxdVt3kzTaCgiRDVJJOYIvbsYTF7eZ6c+sww9u BR3g== X-Gm-Message-State: AHPjjUiT78Bs+A4ZoL6HI0+3rANrKmSZTrhceLKdQA2uBCu5Ew9uU6z0 2zQiYCmFPk6uu2OKigNUwlKD51dgLELs X-Google-Smtp-Source: ADKCNb6WD4e68tIatIQ+ntXDG6CqnPlpAo9uyLhX+DKuGejuYsLWBijO1mgAW7D5dxhhGsVZFHU+68LJWJUV74SuA+k= X-Received: by 10.129.112.134 with SMTP id l128mr1713866ywc.220.1504572832671; Mon, 04 Sep 2017 17:53:52 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.129.211.10 with HTTP; Mon, 4 Sep 2017 17:53:52 -0700 (PDT) In-Reply-To: References: From: R0b0t1 Date: Mon, 4 Sep 2017 19:53:52 -0500 Message-ID: Subject: Re: [gentoo-user] Re: Lowest common denominator compile To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: e0205aa6-6033-427e-9cca-96c6f2b7e0e4 X-Archives-Hash: 680005c10bf549b349bbed07b045f7fc On Mon, Sep 4, 2017 at 3:16 PM, Grant 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.