[gstreamer-bugs] [Bug 166696] New: Doesn't support 386 or Cyrix CPU

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Feb 8 09:42:57 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=166696
 GStreamer | gstreamer (core) | Ver: 0.8.8

           Summary: Doesn't support 386 or Cyrix CPU
           Product: GStreamer
           Version: 0.8.8
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: lool+gnome at via.ecp.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Version details: Debian's 0.8.8-1
Distribution/Version: Debian/sid

Hi,

Richard Mortimer reported in Debian bug <http://bugs.debian.org/289362> a SIGILL
in libgstreamer0.8, it seems this happened because of a "cpuid" instruction in
gst_cpuid_i386(), gst/gstcpu.c.

According to <http://people.freebsd.org/~kato/cpuident.html>, it seems one
should follow a longer PATH to get an idea of the available CPU:
- first check whether AC flag in EFLAGS is writable, if it isn't you're on a 386
and you shouldn't think of calling CPUID,
-then run the following assembly code to check for a Cyrix CPU:
        movl    $0x5555, %eax
        xorl    %edx, %edx
        movl    $2, %ecx
        clc
        divl    %ecx
        jnc     you_have_Cyrix_Or_Blue_Lightning
        jmp     you_have_i80486

Maybe it's best to look for a nice CPU identification library or steal code from
BSD/Linux/x86info/cpuid/whatever?

Regards,

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list