[gstreamer-bugs] [Bug 552657] New: Compile GStreamer Core with Intel C Compiler for MID devices.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 17 08:58:56 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=552657

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: Compile GStreamer Core with Intel C Compiler for MID
                    devices.
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: n770galaxy at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I've tried to compile GStreamer core with ICC for MID device [1] and several
warnings on code had been reported.

In order to have an enviorenment to reproduce the issue it's required to follow
the next steps (tested on Ubuntu Hardy) :

1) Download ICC from [1]
2) Unpack, execute install.sh and answer option 6, chroot install when prompted
3) sudo chroot <installed chroot>
4) apt-get build-dep libgstreamer0.10-0 
5) install cvs and other tools
6) cvs checkout
7) ./autgen.sh --prefix=/usr CC=icc
8) add [2] at end of generated config.h to bypass the errors at gst/parser and
some others in general like extra ';'. I don't where to put this chunk of
exceptions.
9) make

I'm going to provide several patches fixing the issue that will require to be
reviewed and commited by someone else :).

[1] http://www.intel.com/software/products/mid/
[2]

#if __INTEL_COMPILER
/* Disable ICC's remark #424: extra ";" ignored */
#pragma warning ( disable : 424 )

/* Disable ICC's remark #1572: floating-point equality and inequality 
 * comparisons are unreliable */
#pragma warning ( disable : 1572 )

/* The following warning are disabled in order to compile the parser code
 * mainlly */

/* Disable ICC's remark #1418: external function definition with no prior 
 * declaration.
 * This is legal ANSI C code so we disable the remark */
#pragma warning ( disable : 1418 )

/* Disable ICC's remark #1419: external declaration in primary source file
 * This is legal ANSI C code so we disable the remark */
#pragma warning ( disable : 1419 )

/* Disable ICC's remark #810: conversion from "flex_int32_t={int}" to 
 * "YY_CHAR={unsigned char}" may lose significant bits */
#pragma warning ( disable : 810 )

/* Disable ICC's remark #869: parameter "yyscanner" was never referenced */
#pragma warning ( disable : 869 )

/* Disable ICC's remark #981: operands are evaluated in unspecified order */
#pragma warning ( disable : 981 )

/* Disable ICC's remark #193: zero used for undefined preprocessing identifier
*/
#pragma warning ( disable : 193 )

#endif


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=552657.




More information about the Gstreamer-bugs mailing list