Bug 1190360

Summary: GCC 5.0/armv7hl: "cast increases required alignment of target type" errors
Product: [Fedora] Fedora Reporter: Stefan Becker <chemobejk>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: armv7hl   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=8857870
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-08 09:50:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.