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 8D47C138334 for ; Wed, 22 Aug 2018 13:08:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46DB4E08FC; Wed, 22 Aug 2018 13:08:20 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) (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 E00EFE08F2 for ; Wed, 22 Aug 2018 13:08:19 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id u24-v6so943344pfn.13 for ; Wed, 22 Aug 2018 06:08:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7JJ91Co284IXu6eTBj3+yyAzMjCjw6JnqQjk9cJSwUw=; b=XZL2aiZJw5A2f0OMXJhqWZVDuov/5N5qo3xQmycwDC91z6iU+3mcEvl3y4tWRKCASs VbK4txVh0w1bhRqG2tQPkdABN2xlDvDw9s5XP7En7fXCPrCZXrJ1vV9Q5KLxC791fL+Q BcHjzWxp2MJEcmipGjwlvSWgTYC0jmHaZom3UqZf9cuwM99g/meLqNx3VhxOYIWPrPHk IRSI+PkgEdVOb8XoPNN67GrOOJZ7h6RtHZyvmE/D0sY4lEDqIzHq+jotBk0EGybRpQ5C H5OFpZpK9Kg4pO8PQiM6RD8x4Hwz04fcsyHHtp/sBjfMivd/YFuQeTQg09uWn8n7oMrc D2Pw== X-Gm-Message-State: APzg51AH4IbTLizAlS3bDil9bMw6LVc97rhp0Yp31GZkSx1/fVoMg5b1 mOaIlFr2KVHzmkExfYZrYqJepMLeQAS13WDo87Bc20KV X-Google-Smtp-Source: ANB0VdYxjeAvQg4jKVEy4lUM7N4gyaCSe/dB27lYz/RCycY9Lj90IG7k1Y3lRh+Ifjngo/7I2+/M4iMM9IseWRQLu2Q= X-Received: by 2002:a62:6711:: with SMTP id b17-v6mr7360118pfc.243.1534943298354; Wed, 22 Aug 2018 06:08:18 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 References: <5cc35530-3d96-1a0f-b484-73ea3d58bed5@gentoo.org> In-Reply-To: <5cc35530-3d96-1a0f-b484-73ea3d58bed5@gentoo.org> From: Rich Freeman Date: Wed, 22 Aug 2018 09:08:06 -0400 Message-ID: Subject: Re: [gentoo-dev] Gentoo i486 support To: gentoo-dev Cc: Gentoo x86 AT , release@gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: fe279230-e9b1-41b3-b239-fb7b24f930e5 X-Archives-Hash: 4c4ba214b4546efba22aa9bc7c985e2d On Wed, Aug 22, 2018 at 8:26 AM Ben Kohler wrote: > > 1) Adjust x86 profile defaults to drop the problematic -march=i686. > This would be more in line with amd64 profiles (et al), which set no > -march value so it can run on any hardware for this arch. > My knee-jerk reaction was that this is a bad idea, but after a bit of thought there are some arguments in favor of this: First, the argument against: i386 is VERY old. Most distros moved their defaults to i686 because it had significant improvements, and i686 was still mainstream but i386 was ancient. In contrast with amd64 the entire architecture is fairly new and the baseline doesn't suffer from many of the issues i386 suffers compared to i686. This is a really short synopsis - if you go to any distro list archive you can find long passionate arguments from ~10 years ago that elaborated on this. In that sense, going back to i386 is turning back the clock. HOWEVER, I think there is an argument for i386 that wasn't so valid back then. x86 in general is starting to look a bit like i386. What are the main use cases for it in this day and age? I don't use x86, so I'm not the best person to answer that. However, I'd broadly split it into two categories (mostly by tautology): 1. Museum hardware. People have systems that are running simply BECAUSE they are old, not because they are cost-effective/etc. I'm not sure I'd even lump used hardware into this category any longer, as I'm sure there are plenty of i686+ used PCs at rock-bottom prices already out there, and maintaining pre-Y2K hardware is going to be fairly painful. For this use case i386 as the baseline makes a LOT of sense. 2. Non-museum hardware. People have x86 hardware because it is the most cost-effective solution for a task, and not merely because it is old. IMO for this use case i686 makes a lot more sense as a baseline. However, I'm honestly not sure in this day and age what these use cases even are, unless it is something you can buy for $10 at a flea market. Even if you're talking about a container running one application that only needs 500kB of RAM, is there really that much benefit to not building it for amd64? The other argument for i386 would be that in Gentoo nobody is stuck with the defaults. So, a default that works more widely as an entry point makes a lot of sense, since anybody can set CFLAGs and do an emerge -e world to get the benefits. Then again, if we're talking about older but not ancient hardware that is still quite a bit of build time. IMO the best thing here would be for people to actually RUN x86 to chime in. I've been amd64-only on Gentoo since not long after I started using Gentoo (and that was back when mplayer barely could be made to work on amd64). Once upon a time I could have bought the pointer size argument around RAM use, but if that were really a big concern I think more people would be running x32. Is there a large population that actually runs x86 on modern hardware, or is ancient hardware a significant use case? -- Rich