When attempting to build a number of apps (listed in the URL above), GCC 4.4 fails due to strict-aliasing errors. A patch against GLib SVN trunk was created by Jakub Jelinek and committed upstream with revision 7875. I am attaching a backport of the patch against sys-devel/glib-2.18.4.
Created attachment 187133 [details, diff] Backport of upstream SVN rev 7875
The first upstream glib release containing this fix is 2.19.8.
so you're saying strict-aliasing warnings are now errors in gcc-4.4 ?
From what I can tell, -fstrict-aliasing is enabled by default in GCC 4.4.
please don't touch the priority fields, gcc 4.4 support isn't top priority for us for now unless somebody from the team dedicates to this.
strict-aliasing has always been enabled at -O2, it's just that every release the gcc devs make more and more optimizations that assume strict-aliasing rules aren't violated. in 4.4, a strict-aliasing warning is a good sign that something's broken. (added to gcc-porting overlay)
2.20.1 is now in tree but I also added 2.18.4-r2. Thanks for reporting and providing a patch.