Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 9104 by craig.schlenter: compilation issues with gcc 4.4.0 on  
linux
http://code.google.com/p/chromium/issues/detail?id=9104

I'm using the gcc and glibc from fedora 'rawhide' on fedora 9 to see if it
catches interesting issues that older compilers don't see.

This is intended to be a "tracker bug" with pointers to the actual issues
since they may be in alternate issue trackers eg. skia, webkit etc. etc.

Current issues:

1. Missing includes:
http://codereview.chromium.org/46092/show

2. There is a truckload of strict aliasing issues of various flavours that
show up when doing an opt build. I've only filed one bug so far:

http://code.google.com/p/skia/issues/detail?id=18

There are more strict aliasing issues in:

WebKit/WebCore/platform/text/StringImpl.h:199: warning: dereferencing
pointer 'data' does break strict-aliasing rules

WebKit/WebCore/platform/text/StringImpl.h:200: warning: dereferencing
pointer '<anonymous>' does break strict-aliasing rules

WebKit/WebCore/platform/graphics/skia/ImageBufferSkia.cpp:217: warning:
dereferencing type-punned pointer will break strict-aliasing rules

and so on.

I'll post a full list after logging the issues in the relevant bugtrackers
which is likely to be a slow process.

Some interesting URLs for reading about strict aliasing:

http://www.cellperformance.com/mike_acton/2006/06/understanding_strict_aliasing.html

http://patrakov.blogspot.com/2009/03/dont-use-old-dtoac.html

http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Optimize-Options.html#index-fstrict_002daliasing-721

Compiling chrome in opt mode with -fno-strict-aliasing for the affected
parts of the code does result in a working Hammer/chrome which is  
encouraging.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to