Bug 1190360 - GCC 5.0/armv7hl: "cast increases required alignment of target type" errors
Summary: GCC 5.0/armv7hl: "cast increases required alignment of target type" errors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: rawhide
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-07 14:56 UTC by Stefan Becker
Modified: 2015-02-08 09:50 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-08 09:50:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stefan Becker 2015-02-07 14:56:21 UTC
Description of problem:

pidgin-sipe fails to compile on rawhide with GCC 5.0 on armv7hl due to the following 2 errors reported in gstreamer headers:

/usr/include/glib-2.0/gobject/gtype.h:1937:6: error: cast increases required alignment of target type [-Werror=cast-align]
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
      ^
/usr/include/glib-2.0/gobject/gtype.h:1937:6: error: cast increases required alignment of target type [-Werror=cast-align]
     ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
      ^

Version-Release number of selected component (if applicable):
gcc-5.0.0-0.8.fc22.armv7hl
gstreamer-devel-0.10.36-11.fc22.armv7hl
glib2-devel-2.43.3-1.fc22.armv7hl

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Stefan Becker 2015-02-07 14:57:36 UTC
Added koji URL for failed task.

FYI: related to gstreamer bug #1190358

Comment 2 Stefan Becker 2015-02-08 09:50:24 UTC
This seems to be an old known problem not a new one for GCC 5.0. Unfortunately the workaround in the code stopped working for GCC 5.0 :-/

Closing as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.