This appears to be CPU Related.
I did the Upgrade yesterday to a Athlon XP 2400+.
I just Swap the Mother Board out, Same OS SuSE 7.3.
/* posix_memalign support */
#define HAVE_POSIX_MEMALIGN 1
And Everything works fine, Where it did not with the Old Athlon Slot-A
Thunderbird.
So I am guessing that there is some problem with the Older Athlon's.
Thanks
Thomas
On Wed, 14 Jan 2004, Ray Cole wrote:
> I had this issue with the CVS version as well. I had to make a change to
> utils/cpu_accel.c to use memalign rather than posix_memalign in bufalloc(). It now
> looks like this:
>
> void *bufalloc( size_t size )
> {
> static size_t simd_alignment = 16;
> static int bufalloc_init = 0;
> void *buf;
>
> // printf("Enter bufalloc\n");
> if( !bufalloc_init )
> {
> #ifdef HAVE_X86CPU
> if( (cpu_accel() & (ACCEL_X86_SSE|ACCEL_X86_3DNOW)) != 0 )
> {
> simd_alignment = 64;
> bufalloc_init = 1;
> }
> #endif
> }
>
> buf = memalign(simd_alignment, size );
> if (buf == NULL)
> mjpeg_error_exit1("malloc failed");
>
> // if( posix_memalign( &buf, simd_alignment, size ) !=0 )
> // mjpeg_error_exit1("malloc failed");
>
> // printf("Align %lx %lx\n", buf, simd_alignment);
> return buf;
> }
>
> I would assume this is caused by some glibc bug. I'm using Red Hat 8.0. I don't
> think I've ever upgraded my glib version. I appear to have versions 1.2.10-8 and
> 2.3.2-4.80.
>
> -- Ray
>
>
> On Tue, 13 Jan 2004 23:23:34 -0600 (CST)
> "T.E." <[EMAIL PROTECTED]> wrote:
>
> >
> > **ERROR: [mpeg2enc] could not allocate 133056 bytes aligned on a 64 byte
> > boundary
> >
> > Thanks
> >
> > Thomas
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > _______________________________________________
> > Mjpeg-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/mjpeg-users
>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users