Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-hardened
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-hardened@g.o
From: Stan Sander <stsander@...>
Subject: Re: Invalid opcode
Date: Tue, 01 May 2012 08:02:59 -0600
On 04/30/2012 09:09 PM, Anthony G. Basile wrote:
> On 04/30/2012 12:10 PM, Stan Sander wrote:
>> trap invalid opcode
>
> Two possibilities: 1) the running program aims its instruction pointer
> at some garbage.  I doubt it in this case. 2) Uour binaries make use
> of op codes that your hardware is not able to handle, like I noticed
> your cpu doesn't support ssse3 or sse4.  So, for example, if some use
> flag triggers code to be compiled that needs those instructions sets,
> and you're cpu doesn't support them, you'll hit this error.
>
> What's missing is your global CFLAGS, CXXFLAGS, CHOST, USE and any
> other goodies that might affect how your binaries are getting built.
>
>

Anthony,

Thanks for the response.  I did some more searching and reading and came
to the conclusion the root cause is #2, and I've made a change in my
CFLAGS to use -march=native.  I'm in the process of an emerge -e just to
make sure nothing remains with the old flags.  I'll post back how it
goes, but it seemed to be a good change to try since it sets/unsets
various flags that could lead to the opcode errors. 

-- 
Stan & HD Tashi Grad 10/08  Edgewood, NM  SWR
PR - Cindy and Jenny - Sammamish, WA  NWR
http://www.cci.org


Attachment:
signature.asc (OpenPGP digital signature)
References:
Invalid opcode
-- Stan Sander
Re: Invalid opcode
-- Anthony G. Basile
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Invalid opcode
Next by thread:
Gentoo Hardened Meeting 2012-05-16 20:00UTC
Previous by date:
Re: Invalid opcode
Next by date:
Re: RFC: Removing -unicode from all hardened profiles


Updated Jun 28, 2012

Summary: Archive of the gentoo-hardened mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.