Re: [Musicpd-dev-team] [PATCH] some libflac's cpu_info makes a SIGILL, so ignore it

2008-11-01 Thread Alam Arias
On Fri, 31 Oct 2008 17:12:30 +0100 Max Kellermann [EMAIL PROTECTED] wrote: I won't merge this patch, because I think this must be fixed in libflac. Yea, after a nap and downloading FLAC source code, it does setup to handle SIGILL and set the EIP ahead of SSE instruction. Now here the thing,

Re: [Musicpd-dev-team] [PATCH] some libflac's cpu_info makes a SIGILL, so ignore it

2008-10-31 Thread Max Kellermann
On 2008/10/31 16:55, Alam Arias [EMAIL PROTECTED] wrote: I noticed on my Debian Lenny/Sid system that libflac8 1.2.1-1.2 package's libFLAC.so.8 raises SIGILL in FLAC__cpu_info() so this patch setups to ignore SIGILL when we do flac(_ogg)_init and restore the old signal handler after the init