SSE check incorrect + strndup fix

Steven M. Schultz sms at 2BSD.COM
Sat Jun 15 19:43:18 CEST 2002


Hello,

> From: Christophe Massiot <massiot at via.ecp.fr>
> >	The SSE check in ./configure is not correct.  It is _not_ safe
> >	to assume that if a  SSE instruction compiles that the OS supports
> 
> That's exactly what we're doing. The test in configure just tests if 

	I seem to have stumbled across a bug.

> we can _compile_ SSE (resp. MMX, Altivec, etc.) operands. Whether the 
> OS (and machine) supports SSE can only be determined at runtime (and 

	Ah, ok - that is what I hoped was being done.

	I remember earlier versions of 'vlc' would print out a message
	similar to "some optimizations will be ignored".  The current 
	cvs version, alas, goes into an endless loop of SIGILL + catch signal.

> depends on the OS version and machine), and it is done in 
> src/misc/cpu.c.
	
	I will take a look at that module and see if I can find the endless
	loop.  

	Thanks!

	Steven Schultz
	sms at 2bsd.com

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list