public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mirrorselect build failed
Date: Fri, 24 May 2024 10:39:38 +0100	[thread overview]
Message-ID: <5945024.MhkbZ0Pkbq@rogueboard> (raw)
In-Reply-To: <CAAEVSTE6=qQVpRtCJUEOJX3EFSdNhNjHMinGUfDyfr=CxrxG3g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

On Friday, 24 May 2024 09:57:36 BST Waldo Lemmer wrote:
> Hi Michael,
> 
> -march=x86-64 and -mtune=generic will not speed up your OS installation.
> These flags tell compilers to produce binaries that can run on any AMD64
> system and that aren't optimized for your specific system.
> 
> These flags have no effect on binary packages, since those have already
> been compiled.

You're right, those are the settings the binary packages have been built with 
- my mistake, sorry!

The CFLAGS on the client should/could be tuned to its own CPU with "-
march=native". The "... speeding up of the OS installation" I had mentioned 
referred to downloading the binaries, rather than having to build them 
locally.

Anyway, the CFLAGS Jude posted are incorrect:

CFLAGS="-O2 -pipe -native"

and his CPU_FLAGS_X86 are incomplete:

CPU_FLAGS_X86="mmx mmxext sse sse2"

Your links should hopefully help Jude to set the correct settings for this 
system, before he continues with the Gentoo Handbook.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-05-24  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23 21:45 [gentoo-user] mirrorselect build failed Jude DaShiell
2024-05-24  3:40 ` Waldo Lemmer
2024-05-24  8:39 ` Michael
2024-05-24  8:57   ` Waldo Lemmer
2024-05-24  9:39     ` Michael [this message]
2024-05-24 12:29       ` Jude DaShiell
2024-05-24 13:05         ` Michael
2024-05-24 21:08           ` Jude DaShiell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5945024.MhkbZ0Pkbq@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox