[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.
2009/11/2 Hironori Bono (坊野 博典) hb...@chromium.org: 1. Creating a file ~/.gyp/inclulde.gypi'. 2. Adding a following lines to the file. { 'variables': { 'no_strict_aliasing': 1 } } If you're only building chrome, not the unit_tests target, you can instead define gcc_version to 44. This is picked up in v8.gyp to enable the appropriate flags, but leaves strict aliasing on for the rest of chrome. { 'variables': { 'gcc_version': 44, } } I figure this is a better option as regressions will be caught as they are introduced. Joel --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.
Hi all, 2009/11/2 Hironori Bono (坊野 博典) hb...@chromium.org 1. Creating a file ~/.gyp/inclulde.gypi'. 2. Adding a following lines to the file. { 'variables': { 'no_strict_aliasing': 1 } } IIRC specifying 'gcc_version': '44' does the same thing as above. This might be better than specifying 'no_strict_aliasing' directly. 3. Run gclient runhooks --force to re-build scons or make files. 4. Run hammer or make to re-build Chromium. Thanks, Yuta --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: [FYI] Build errors while building Chromium with gcc 4.4.
2009/11/2 Yuta Kitamura yu...@chromium.org: IIRC specifying 'gcc_version': '44' does the same thing as above. This might be better than specifying 'no_strict_aliasing' directly. Ah, you bet me to it. You're right; gcc_version is used to only enable -fno-strict-aliasing when building v8. Joel --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---