bugGnash - The GNU Flash player - Bugs: bug #18353, "Unknown CPU...

 
 

bug #18353: "Unknown CPU architecture" error building plugin/mozilla-sdk on Darwin PPC

Submitted by:  Michael Brian Bentley <crenelle>
Submitted on:  Wed 22 Nov 2006 05:34:07 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Markus Gothe <nihilus>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 23 Jan 2008 02:48:25 PM UTC, comment #4:

assumed fixed, no feedback for 6 months..

Sandro Santilli <strk>
Project Member
Thu 12 Jul 2007 01:43:17 PM UTC, comment #3:

Hi Michael

Would you try this again and let us know whether this is still a problem please so that we can either close the bug or pursue it further

Thanks

M

Martin Guy <martinwguy>
Thu 23 Nov 2006 12:09:53 AM UTC, comment #2:

I just checked in a path for this. Don't forget to run ./autogen.sh as it involved a configuration change. It turns out under Darwin there is no clue whether the system is 64 or 32 bit. Course I don't think there is a 32bit Darwin for the powerpc. Anyway, the GTK plugin now builds from cvs HEAD for me, give it a try.

Rob Savoye <rsavoye>
Project Administrator
Wed 22 Nov 2006 07:05:45 PM UTC, comment #1:

I'm not sure if the plugin will work on Darwin, as it expects a GTK enabked Firefox build. It turns out for Darwin, the _powerpc64_ ifdef in prcpucfg.h (which is just a copy from the Mozilla sources) isn't defined anymore. It's supposed to be _ppc64_, but Darwin 10.4 doesn't define this either. Replacing _powerpc64_ on line 64 with _ppc_ lets the plugin build. I'm still digging around for a 64 bit constant I can use to get the same 64 bit ppc cpu.

Rob Savoye <rsavoye>
Project Administrator
Wed 22 Nov 2006 05:34:07 PM UTC, original submission:

It appears that running the build process on Darwin (via Mac OS X) causes the following error. This is on an older powerpc laptop.

Making all in plugin
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -I../server/parser -I../libbase -I../backend -I./mozilla-sdk -I./mozilla-sdk/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DPLUGIN_TRACE -DXP_UNIX -DMOZ_X11 -DPREFIX=\""/usr/local"\" -DQT_THREAD_SUPPORT -I.. -I. -I../server -I../server/parser -I../libbase -I../backend -I./mozilla-sdk -I./mozilla-sdk/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -g -O2 -D_THREAD_SAFE -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT plugin.lo -MD -MP -MF ".deps/plugin.Tpo" -c -o plugin.lo plugin.cpp; \
then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f ".deps/plugin.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -I../server/parser -I../libbase -I../backend -I./mozilla-sdk -I./mozilla-sdk/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DPLUGIN_TRACE -DXP_UNIX -DMOZ_X11 -DPREFIX=\"/usr/local\" -DQT_THREAD_SUPPORT -I.. -I. -I../server -I../server/parser -I../libbase -I../backend -I./mozilla-sdk -I./mozilla-sdk/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -g -O2 -D_THREAD_SAFE -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.cpp -fno-common -DPIC -o .libs/plugin.o
In file included from ./mozilla-sdk/include/prtypes.h:38,
from ./mozilla-sdk/include/npapi.h:31,
from ./mozilla-sdk/npplat.h:30,
from ./mozilla-sdk/pluginbase.h:21,
from plugin.h:52,
from plugin.cpp:43:
./mozilla-sdk/include/prcpucfg.h:698:2: error: #error "Unknown CPU architecture"

Michael Brian Bentley <crenelle>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #11318:  results added by crenelle (248KiB - application/octet-stream - results from autogen, configure, and make on a ppc laptop running os x)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Jan 2008 02:48:25 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 23 Nov 2006 10:51:39 AM UTCnihilusStatusIn Progress=>Ready For Test
    Thu 23 Nov 2006 02:41:27 AM UTCnihilusAssigned toNone=>nihilus
    Thu 23 Nov 2006 02:41:02 AM UTCnihilusStatusReady For Test=>In Progress
      Assigned torsavoye=>None
    Thu 23 Nov 2006 12:09:53 AM UTCrsavoyeStatusNone=>Ready For Test
      Assigned toNone=>rsavoye
    Wed 22 Nov 2006 05:34:07 PM UTCcrenelleAttached File-=>Added results, #11318

    Back to the top


    Powered by Savane 3.1-cleanup1