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 9A0C71396D0 for ; Mon, 4 Sep 2017 20:16:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DCAB1FC071; Mon, 4 Sep 2017 20:16:38 +0000 (UTC) Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 D2D9D1FC048 for ; Mon, 4 Sep 2017 20:16:37 +0000 (UTC) Received: by mail-qt0-x22d.google.com with SMTP id b52so998605qtb.3 for ; Mon, 04 Sep 2017 13:16:37 -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=0TGJrLZdFk1Y4kj4+xs3dBsCkjEpzLOof/2344gCB/E=; b=neP9EnIfHY035nSMUSKTFgYhSReIJq7CuJkd5p0xOFXYxQrAnTT5INVlf76NULHYnS fXd3qaCH0rTFgYLQfp47VW04gJQNWnZIarigyQj3c3OnlmUQFyV82mWo2JKBDQ240JRN xmV/IzURmI8lYoakeTE3/twlvx6pmk69v2GrWLpoYKJQfW1Z5L26HRInJNYcy/q0zKCY oXaMOsmvCrCvsbGGfHZmsN2byuRRCAXlF0xBWLINAcM75RvokxXsNJYQas/EjoDxUIWz PyoIHvOTIVujmLM5T4XADIm76saasvj/ODVeImtFpdq5+b5DowRYIQYsNju4iXbgp/bw kQOw== 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=0TGJrLZdFk1Y4kj4+xs3dBsCkjEpzLOof/2344gCB/E=; b=H6bhm6qD0ZgLzsuvAF9AA8C2h48mmjBVtNGvhl9ca8Jt+hSChXYe8zbHOlHkxUPUcS 4c5Xycqq9kx6++KmsHBe9B75u7EaKkIJsyIRliVgsZJa3TbEcB9oub19QeYhRqbnh0TI sdpEpo1FCqEgGi80HACjgkQUeovpJ7vDzgRZyAUkNvU+brU2h4wQ/ecz/qpGygxLgpCW p+hyNwyskXvX8EzrNsc3jibS2gBKOxsVUSQPtLPNTDfRAiQp0qMaLTVUCbIA7ADnYETX jCiPHdjmr7/CvWqdDqTW8e4sRka0pYbiJWrdnqYSBKl+Tf25LDCdGnnYVbLvDu3YA0rD V6xg== X-Gm-Message-State: AHPjjUjaoX1ia9lzvn7skP9N5Oqijo7pAX6Ja1EHmPqMRpfnNuXvVHDA YZUGtNLCAL06tY2ridxImLep1g2yi1KA X-Google-Smtp-Source: ADKCNb523udyALFZ8AZJn0+KjIkhTC0gs2rA0a/VjCJFiWzNLTYuIhiqlQqPuwUu5a5JWJlgazT89J7v0JNmqhYTlyY= X-Received: by 10.237.39.67 with SMTP id n61mr2396958qtd.160.1504556196955; Mon, 04 Sep 2017 13:16:36 -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.140.20.98 with HTTP; Mon, 4 Sep 2017 13:16:36 -0700 (PDT) In-Reply-To: References: From: Grant Date: Mon, 4 Sep 2017 13:16:36 -0700 Message-ID: Subject: [gentoo-user] Re: Lowest common denominator compile To: Gentoo mailing list Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: b22e327b-8f38-4554-bbd9-06bf14eed60d X-Archives-Hash: edd56f8c9894a3cef5a1f655209a64c0 > 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. - Grant