fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Fluidsynth segfault on gentoo amd64


From: Jeremiah Benham
Subject: Re: [fluid-dev] Fluidsynth segfault on gentoo amd64
Date: Sat, 9 Jul 2005 19:09:50 -0500
User-agent: Mutt/1.5.6+20040907i

Thanks alot Josh. That fixed my problem. I have not pushed it very hard
yet but is seems to be working.

Thanks,
Jeremiah



On Tue, Jul 05, 2005 at 10:58:18PM -0700, Josh Green wrote:
> I ended up only enabling the alignment macro if SSE is being used,
> otherwise no alignment is done.  The macro is still broken though, so
> don't try SSE :)  This is committed to CVS, I've attached a patch as
> well against 1.0.6 if you want to do things that way.  Apply it by
> changing to the toplevel FluidSynth directory and doing:
> patch -p1 </path/to/fluidsynth_amd64.patch.
> 
>       Regards,
>       Josh
> 

> --- fluidsynth-1.0.6/src/fluidsynth_priv.h      2005-06-11 16:40:01.000000000 
> -0500
> +++ fluidsynth-1.0.6-new/src/fluidsynth_priv.h  2005-07-06 00:38:10.000000000 
> -0500
> @@ -285,7 +285,12 @@
>   * As soon as proper alignment is supported by the compiler, this
>   * can be removed.
>   */
> +#ifdef ENABLE_SSE
> +/* FIXME - This is broken on AMD 64 - only used if SSE enabled */
>  #define FLUID_ALIGN16BYTE(ptr)(((int)(ptr)+15) & (~0xFL))
> +#else
> +#define FLUID_ALIGN16BYTE(ptr) ptr
> +#endif
> 
>  #if WITH_FTS
>  #define FLUID_PRINTF                 post







reply via email to

[Prev in Thread] Current Thread [Next in Thread]