[gstreamer-bugs] [Bug 615996] New: gst-plugins-good doesn't detect HAVE_CPU_I386 or HAVE_CPU_X86_64 properly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 16 14:18:06 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615996
  GStreamer | gst-plugins-good | 0.10.21

           Summary: gst-plugins-good doesn't detect HAVE_CPU_I386 or
                    HAVE_CPU_X86_64 properly
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.21
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: brian.cameron at oracle.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=158923)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=158923)
patch fixing identification of when to set HAVE_CPU_I386 or HAVE_CPU_X86_64

On Solaris you can build either 32-bit or 64-bit code on an amd64 bit
processor. 
On such a machine "uname -a" returns:

SunOS dhcp-uchi03-250-85 5.11 snv_137 i86pc i386 i86pc

So, it doesn't indicate that it is 64-bit.

A better way to test on Solaris x86 if building in 32 or 64 bit mode is to
check the "__i386" or "__amd64" defines when compiling a test program.

The attached patch does this and fixes the problem for Solaris.  Can this go
upstream?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list