On Tue, 27 Jul 2010 09:00:21 -0400 Derick Centeno <[email protected]> wrote:
> On Mon, 26 Jul 2010 20:34:48 +0100 > Pat Wall <[email protected]> wrote: > > > Hi All > > > > I was wondering if anyone has tried building Firefox 4.0 beta or > > from the latest source tree? > > > > For me the build fails with an architecture support error for ycbcr > > which has been added to Firefox from Chromium code: > > > > "/home/pjwall/src/mozilla-central/gfx/ycbcr/chromium_types.h:76:2: > > error: #error Please add support for your architecture in > > chromium_types.h" > > Hi Derick! > > > > Hi Pat: > > The fastest and least time consuming option you may have is to comment > out the offending code. It turns out that a bug has already been filed in relation to the error. https://bugzilla.mozilla.org/show_bug.cgi?id=576764#c1 chromium_types.h defines "_ppc_" as lowercase when in fact it should be uppercase "_PPC_" or "_powerpc_" I changed the #define in the file to read "_PPC_" and it buit successfully as described by the submitter - Happy Days :-) > > The other possibility is to rewrite chromium_types.h so that it > references PPC recognized commands which also means that you may have > to become (or be) very familiar with PPC assembler and/or the PPC > command architecture controlling various aspects of the PPC cpu. The > problem with that is that you could make the new file so specific to > the PPC you own that the code may not function on other PPC systems > differently designed. I'm afraid PPC assembler is way beyond my reach :-) Thankfully it appears to be small bug as such with a simple fix. Thanks again Pat _______________________________________________ yellowdog-general mailing list - [email protected] Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general HINT: to Google archives, try '<keywords> site:us.fixstars.com'
