From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9E93D1381F3 for ; Fri, 16 Aug 2013 18:19:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A682E0F0E; Fri, 16 Aug 2013 18:19:18 +0000 (UTC) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 608D0E0ED2 for ; Fri, 16 Aug 2013 18:19:17 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id n12so223563oag.39 for ; Fri, 16 Aug 2013 11:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=puzVVW4rqDK5Mp3HjDhRlwPhRcE49WGHFBpCzbmXN7c=; b=SMKblg5wYYx1Hj4sN3tNcv29dFHwrk8UHCtILNCouv2wKAAayfWxPOdGjDkQhePqPS awA5SIpJbS8IiYKSbOb5ZGs744gmUAJXBJNt8QlZmlFeKFg0uOMbRndT8M8EBsas6J+Q ahU6yEXqY8KpIVDVoiVLc9DOY/p2nnnE9cm0AUdE0ozXhUr3i/yHjfjmZItkXNrpNZvB 155tLgj9gZm0cflyFPwDNdela+QbQ45SiWmDXcCKEcW/rizQyEeFDJETWhyxMNsB6z5P AmRwLVOHoFuP8A9qE0P8BWOqzH7MimN/HfrjkY0VTWhcATgjcTuZ6eWuoyhIxSHggO/z uFWg== X-Received: by 10.182.176.67 with SMTP id cg3mr1295263obc.65.1376677156475; Fri, 16 Aug 2013 11:19:16 -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.60.52.79 with HTTP; Fri, 16 Aug 2013 11:18:35 -0700 (PDT) In-Reply-To: References: From: Francisco Ares Date: Fri, 16 Aug 2013 15:18:35 -0300 Message-ID: Subject: Re: [gentoo-user] Re: emerge -e errors right after install To: gentoo-user Content-Type: multipart/alternative; boundary=e89a8ff1cecee1d7dd04e414a026 X-Archives-Salt: 0862d590-b350-463d-a952-13b6e7900cf2 X-Archives-Hash: 8824f3177b4fd22c4026d000fdaf6229 --e89a8ff1cecee1d7dd04e414a026 Content-Type: text/plain; charset=UTF-8 2013/8/16 Francisco Ares > > 2013/8/16 Michael Palimaka > >> On 16/08/2013 23:22, Francisco Ares wrote: >> >>> 26892 Illegal instruction | $AWK -f "$ac_tmp/subs.awk" > >>> 31167 Illegal instruction | $AWK -f "$tmp/subs.awk" > $tmp/out >>> >> > [...] >> >> I have built binary packages for "sed" and "gawk", created in a machine >>> with the same characteristics and configuration, and emerged those to >>> the new machine. Even so, the errors keep coming. >>> >> >> It could be an issue with faulty memory, or problem with glibc. >> >> Often though, illegal instruction is the result of a mismatch between the >> host, and the target for which the binary was compiled. >> This could be checked by comparing /proc/cpuinfo with your CFLAGs. >> >> >> > Thanks, gonna check that. > > Francisco > 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. Thank you! Francisco --e89a8ff1cecee1d7dd04e414a026 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= 2013/8/16 Francisco Ares <frares@gmail.com>

2013/8/16 Michael Palimaka <kensington@gentoo.o= rg>
On 16/08/2013 23:22, Francisco Ares wrote:
=C2=A0 =C2=A0 =C2=A0 26892 Illegal instruction =C2=A0 =C2=A0 | $AWK -f &quo= t;$ac_tmp/subs.awk" >
=C2=A0 =C2=A0 =C2=A0 31167 Illegal instruction =C2=A0 =C2=A0 | $AWK -f &quo= t;$tmp/subs.awk" > $tmp/out
> [...]

I have built binary packages for "sed" and "gawk", crea= ted in a machine
with the same characteristics and configuration, and emerged those to
the new machine. =C2=A0Even so, the errors keep coming.

It could be an issue with faulty memory, or problem with glibc.

Often though, illegal instruction is the result of a mismatch between the h= ost, and the target for which the binary was compiled.
This could be checked by comparing /proc/cpuinfo with your CFLAGs.



Thanks,= gonna check that.

<= /span>
Francisco


You were right.= =C2=A0 I have overlooked the type of the new machine's CPU (it is a &qu= ot;Pentium(R) Dual-Core=C2=A0 CPU" and the other one, already working,= is a "Intel(R) Core(TM)2 Duo CPU"). So, a "march=3Dnocona&q= uot; instead of a "march=3Dcore2" seems to have solved the proble= m.

Thank you!
Francisco
--e89a8ff1cecee1d7dd04e414a026--