public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francisco Ares <frares@gmail.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Re: emerge -e errors right after install
Date: Sat, 17 Aug 2013 13:09:39 -0300	[thread overview]
Message-ID: <CAHH9eM5XkvQBwyb1PLda8x6v9nPAtcGZ_Pd170SL8FZ6se6ktA@mail.gmail.com> (raw)
In-Reply-To: <20130816223802.GB30183@waltdnes.org>

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

2013/8/16 Walter Dnes <waltdnes@waltdnes.org>

> On Fri, Aug 16, 2013 at 03:18:35PM -0300, Francisco Ares wrote
>
> > You were right.  I have overlooked the type of the new machine's CPU (it
> is
> > a "Pentium(R) Dual-Core  CPU" and the other one, already working, is a
> > "Intel(R) Core(TM)2 Duo CPU"). So, a "march=nocona" instead of a
> > "march=core2" seems to have solved the problem.
>
>   I have the following in make.conf
>
> CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables
> -fno-asynchronous-unwind-tables"
> CXXFLAGS="${CFLAGS}"
>
> ...where "-march=native" will always work correctly for a local build.
> The only possible worry is if you're cross-compiling and or distributing
> a binary to multiple machines.  It also saves me the headache of
> figuring out the CFLAGS setting whenever I get a new machine.  You still
> have to set up the correct processor in the kernel, however.
>
> --
> Walter Dnes <waltdnes@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
>
>
Yes, that is the problem. I got the oldest CPU on witch the same binaries
will run. The newest uses an Intel I3, but the oldest ones run on a "Dual
Core" (not "Core-2", as my first assumption).

Thanks for the other parameters though, I have never tried them. Gonna take
a look.

Francisco

[-- Attachment #2: Type: text/html, Size: 2061 bytes --]

  parent reply	other threads:[~2013-08-17 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16 13:22 [gentoo-user] emerge -e errors right after install Francisco Ares
2013-08-16 13:59 ` [gentoo-user] " Michael Palimaka
2013-08-16 14:58   ` Francisco Ares
2013-08-16 18:18     ` Francisco Ares
2013-08-16 22:38       ` Walter Dnes
2013-08-17 13:51         ` Michael Palimaka
2013-08-17 16:15           ` Francisco Ares
2013-08-17 16:09         ` Francisco Ares [this message]
2013-08-17  7:52 ` [gentoo-user] " Stroller
2013-08-17 16:13   ` Francisco Ares

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=CAHH9eM5XkvQBwyb1PLda8x6v9nPAtcGZ_Pd170SL8FZ6se6ktA@mail.gmail.com \
    --to=frares@gmail.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