mozilla::NullptrT on B2G ICS vs. everything else (incl. B2G JB and Android ICS)
While working on https://bugzilla.mozilla.org/show_bug.cgi?id=980317 , I discovered that support for mozilla::NullptrT and nullptr is worse on B2G ICS emulator than on other platforms, including B2G JB and Android ICS. See https://tbpl.mozilla.org/php/getParsedLog.php?id=35791355tree=Tryfull=1 for the errors. I would expect a) the compiler for B2G ICS to be at least as advanced as the compiler for Android ICS b) the compiler for B2G ICS not to be less advanced than the compiler for B2G JB This makes me wonder if B2G ICS emulator uses a nullptr-wise backwards compiler / compiler settings by accident. Can it be changed to use a compiler / compiler settings similar to B2G JB and Android ICS? This is https://bugzilla.mozilla.org/show_bug.cgi?id=980824 -- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/ ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: mozilla::NullptrT on B2G ICS vs. everything else (incl. B2G JB and Android ICS)
On 4/1/2014 8:42 AM, Henri Sivonen wrote: This makes me wonder if B2G ICS emulator uses a nullptr-wise backwards compiler / compiler settings by accident. Can it be changed to use a compiler / compiler settings similar to B2G JB and Android ICS? B2G ICS uses gcc 4.4, IIRC. All of the Android builds use 4.7, and it sounds like B2G JB uses 4.7 as well. gcc 4.4 is very lacking in several regards (no nullptr, and rvalue reference support is missing several issues), so I would very much love to see us using gcc 4.7 on b2g, but I've been told that partner builds won't like that. -- Joshua Cranmer Thunderbird and DXR developer Source code archæologist ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: mozilla::NullptrT on B2G ICS vs. everything else (incl. B2G JB and Android ICS)
On Tue, Apr 01, 2014 at 09:47:15AM -0500, Joshua Cranmer ? wrote: On 4/1/2014 8:42 AM, Henri Sivonen wrote: This makes me wonder if B2G ICS emulator uses a nullptr-wise backwards compiler / compiler settings by accident. Can it be changed to use a compiler / compiler settings similar to B2G JB and Android ICS? B2G ICS uses gcc 4.4, IIRC. All of the Android builds use 4.7, and it sounds like B2G JB uses 4.7 as well. gcc 4.4 is very lacking in several regards (no b2g jb using gcc 4.7 was what I guessed as well, but http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-hamachi/1396314004/b2g_mozilla-central_hamachi_dep-bm72-build1-build10.txt.gz seems to provide some evidence to the contrary. configure says it finds gcc 4.4, but b2g 'helpfully' runs make with -s so we can't know what actually happens... Trev nullptr, and rvalue reference support is missing several issues), so I would very much love to see us using gcc 4.7 on b2g, but I've been told that partner builds won't like that. -- Joshua Cranmer Thunderbird and DXR developer Source code archæologist ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform signature.asc Description: Digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: mozilla::NullptrT on B2G ICS vs. everything else (incl. B2G JB and Android ICS)
On 04/01/2014 09:44 AM, Trevor Saunders wrote: b2g jb using gcc 4.7 was what I guessed as well, but http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-hamachi/1396314004/b2g_mozilla-central_hamachi_dep-bm72-build1-build10.txt.gz seems to provide some evidence to the contrary. configure says it finds gcc 4.4, but b2g 'helpfully' runs make with -s so we can't know what actually happens... Judging by the tinderbox behavior I've observed with nullptr stuff in the past -- including patches that dumped the compiler version in tbpl logs and then aborted the build -- I think the compiler on tinderbox for at least some kinds of b2g stuff is some weird amalgam that doesn't map to the gcc version numbering the world uses, with some backported patches for various things, or something. Which seems crazy, but everything I hear says attempting to seriously complain and get us moved to a modern gcc there is useless, so I haven't bothered. Jeff ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: mozilla::NullptrT on B2G ICS vs. everything else (incl. B2G JB and Android ICS)
On 2014-04-01, 6:03 PM, Jeff Walden wrote: On 04/01/2014 09:44 AM, Trevor Saunders wrote: b2g jb using gcc 4.7 was what I guessed as well, but http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-hamachi/1396314004/b2g_mozilla-central_hamachi_dep-bm72-build1-build10.txt.gz seems to provide some evidence to the contrary. configure says it finds gcc 4.4, but b2g 'helpfully' runs make with -s so we can't know what actually happens... Judging by the tinderbox behavior I've observed with nullptr stuff in the past -- including patches that dumped the compiler version in tbpl logs and then aborted the build -- I think the compiler on tinderbox for at least some kinds of b2g stuff is some weird amalgam that doesn't map to the gcc version numbering the world uses, with some backported patches for various things, or something. Yeah, I have the same impression. Which seems crazy, but everything I hear says attempting to seriously complain and get us moved to a modern gcc there is useless, so I haven't bothered. Actually there is a chance for us to switch to a more modern (NDK) gcc in 1.5, but of course that will not affect the toolchain used for ICS as long as we need to support that. Cheers, Ehsan ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform