[ardour-dev] Building ardour for a VIA Samuel 2
Forest Bond
forest at alittletooquiet.net
Tue May 9 13:26:13 PDT 2006
On Mon, May 08, 2006 at 10:50:38PM +0100, Steve Fosdick wrote:
> If I try to build ardour2 on a system which uses the VIA Samuel 2,
> scons detects this as a varient of i686 but then warns that it does
> not support SSE instructions.
>
> Even if I hack the SConstruct file and comment out the line that sets
> the flag BUILD_SSE_OPTIMIZATIONS it still generates an executable that
> crashes with an 'illegal instruction' signal.
Steve,
This is actually a gcc bug. It assumes that all i686 processors support
the optional CMOV instruction. See here (just a description of the
problem):
http://www.astertest.com/forum/viewtopic.php?p=124&sid=de9d9b2bf857e08b21b37326a80bee61
You need to compile with -march i586 to force gcc to do the right thing
there. But that is, most likely, the source of your "illegal
instruction" problem.
<plug>
Incidentally, I work for a mini-ITX company, and that is probably the
only reason I know this, since I don't own a board with a Samuel 2:
http://www.logicsupply.com
</plug>
-Forest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20060509/8d633e6f/attachment-0002.pgp>
More information about the Ardour-Dev
mailing list