[gstreamer-bugs] [Bug 615698] New: "warning: cast increases required alignment of target type" with gcc 4.2.1 on arm

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 13 17:51:21 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615698
  GStreamer | gstreamer (core) | git

           Summary: "warning: cast increases required alignment of target
                    type" with gcc 4.2.1 on arm
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=158664)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=158664)
warnings.log

When compiling GStreamer git in scratchbox, the following warnings appear
pretty much for all GObject instance/class structure casts:

warning: cast increases required alignment of target type

$ gcc --version
sbox-arm-none-linux-gnueabi-gcc (GCC) 4.2.1

$ uname -a
Linux debian 2.6.30-1-686 #1 SMP Sat Aug 15 19:11:58 UTC 2009 arm GNU/Linux

Log attached. Some strategic __atribute__((aligned)) here and here help a
little, but it seems to affect pretty much all inherited structures afaict.

-- 
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