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

>
> 2013/8/16 Michael Palimaka <kensing...@gentoo.org>
>
>> 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

Reply via email to