Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Wed Oct 22, 2014 8:02 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Seamonkey 2.0
Unread postPosted: Wed Oct 28, 2009 12:39 pm 
Offline

Joined: Wed Oct 28, 2009 12:35 pm
Posts: 15
Has anybody been able to find the right combination of configure options to get it to compile with MIPSpro Compilers: Version 7.4.4m


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Wed Oct 28, 2009 3:33 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7984
Location: Pleasanton, California
It will take more than configure options as Seamonkey 2.0 requires the same extensive porting work as Firefox 3.X. See:

viewtopic.php?f=15&t=16718674

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Fri Oct 30, 2009 2:09 pm 
Offline

Joined: Wed Oct 28, 2009 12:35 pm
Posts: 15
Ok

I've been banging away on getting seamonkey 2.0 to compile and aside from a few oddball
things I've hit a wall with a template problem.

Only two routines gfxPangoFonts.cpp and gfxFontconfigUtils.cpp use nsReturnRef
which come out of work done here
https://bugzilla.mozilla.org/show_bug.cgi?id=461087#c5

I think it is a problem with the compiler
MIPSpro Compilers: Version 7.4.4m
That could be solved with some work on the template.

Anybody out there have any ideas?


Code:
Building deps for ../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp
CC -o gfxPangoFonts.o -c  -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DMOZ_SUITE=1 -DOSTYPE=\"IRIX6\" -DOSARCH=IRIX  -I../../../../../mozilla/gfx/thebes/src -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/qcms -I../../../dist/include/locale -I../../../dist/include   -I../../../dist/include/thebes -I/usr/apps/seamonkey-2.0/comm-1.9.1/objsgi/mozilla/dist/include/nspr    -I/usr/apps/seamonkey-2.0/comm-1.9.1/objsgi/mozilla/dist/sdk/include    -KPIC   -LANG:exceptions=OFF -c99 -Zf,_245 -woff 3262,3201,1198,3303 -LANG:std -woff 3262 -G 4 -n32  -DNDEBUG -DTRIMMED -mips4 -O3 -I/usr/apps/seamonkey-2.0/comm-1.9.1/objsgi/mozilla/dist/include/cairo -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng12 -I/usr/freeware/include -I/usr/local/include/gtk-unix-print-2.0   -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include     -DMOZILLA_VERSION=\"1.9.1.4\" -DMOZILLA_VERSION_U=1.9.1.4 -DIRIX=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SY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S=1 -DMOZ_STORAGE=1 -DMOZ_HELP_VIEWER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DMOZ_TREE_CAIRO=1 -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DMOZ_MORK=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT ../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp
cc-1552 CC: WARNING File = ../../../dist/include/thebes/gfxFontUtils.h, Line = 467
  The variable "timerInterval" is set but never used.

          PRUint32 timerInterval;
                   ^

cc-1322 CC: ERROR File = ../../../dist/include/xpcom/nsAutoRef.h, Line = 376
  More than one user-defined conversion from "nsReturnRef<PangoFont>" to
          "nsReturningRef<PangoFont>" applies.

            Function symbol function "nsReturnRef<PangoFont>::operator
                      nsReturningRef<PangoFont>()" is ambiguous by inheritance.
            Function symbol function
                      "nsReturningRef<PangoFont>::nsReturningRef(nsReturnRef<Pa
                      ngoFont> &)" is ambiguous by inheritance.
          return nsReturningRef<T>(*this);
                                   ^
          detected during instantiation of "nsReturnRef<PangoFont>::operator
                    nsReturningRef<PangoFont>()" at line 651 of
                    "../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp"

cc-1322 CC: ERROR File = ../../../dist/include/xpcom/nsAutoRef.h, Line = 376
  More than one user-defined conversion from "nsReturnRef<FcFontSet>" to
          "nsReturningRef<FcFontSet>" applies.

            Function symbol function "nsReturnRef<FcFontSet>::operator
                      nsReturningRef<FcFontSet>()" is ambiguous by inheritance.
            Function symbol function
                      "nsReturningRef<FcFontSet>::nsReturningRef(nsReturnRef<Fc
                      FontSet> &)" is ambiguous by inheritance.
          return nsReturningRef<T>(*this);
                                   ^
          detected during instantiation of "nsReturnRef<FcFontSet>::operator
                    nsReturningRef<FcFontSet>()" at line 973 of
                    "../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp"

cc-1322 CC: ERROR File = ../../../dist/include/xpcom/nsAutoRef.h, Line = 376
  More than one user-defined conversion from "nsReturnRef<FcPattern>" to
          "nsReturningRef<FcPattern>" applies.

            Function symbol function "nsReturnRef<FcPattern>::operator
                      nsReturningRef<FcPattern>()" is ambiguous by inheritance.
            Function symbol function
                      "nsReturningRef<FcPattern>::nsReturningRef(nsReturnRef<Fc
                      Pattern> &)" is ambiguous by inheritance.
          return nsReturningRef<T>(*this);
                                   ^
          detected during instantiation of "nsReturnRef<FcPattern>::operator
                    nsReturningRef<FcPattern>()" at line 2037 of
                    "../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp"

3 errors detected in the compilation of "../../../../../mozilla/gfx/thebes/src/gfxPangoFonts.cpp".


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Fri Oct 30, 2009 2:21 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 2:31 am
Posts: 7984
Location: Pleasanton, California
Please refer to the post I linked. Seamonkey 2.0 shares the same code base with Firefox 3.5.4, so porting work done there is directly applicable to anything you'll encounter in Seamonkey 2.0. You need to touch base with dexter1 - once Firefox 3.X is ported Seamonkey will come along with the ride.

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Mon Nov 02, 2009 8:27 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
Nekonoko is correct, Seamonkey uses the same codebase as Firefox 3.5.x. This codebase requires a lot of C++ patches, as well as up to date glib/gtk+ and pango libraries. Curently i am in the process of fixing all of this for Firefox 3.0.x. which eventually will evolve into an 3.5.x build. Feel free to start your Seamonkey build and have a look at my patchset, listed in the thread Neko referred to.

_________________
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP: :O2000: :Onyx2:
European nekoware mirror, updated twice a day: http://www.mechanics.citg.tudelft.nl/~everdij/nekoware
ftp://mech001.citg.tudelft.nl rsync mech001.citg.tudelft.nl::nekoware


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Mon Nov 02, 2009 3:37 pm 
Offline

Joined: Wed Oct 28, 2009 12:35 pm
Posts: 15
Hi Nekonoko

I have been using the thread you referred to for clues to solve the odd ball problems I mentioned.
Now I'm stuck at the nsAutoRef issue. nsAutoRef isn't in the 3.0.x tree.

Templates have been a problem for the MIPSpro Compilers. I was hoping someone
had seen the More than one user-defined conversion ... ambiguous by inheritance
message before and knew of a quick fix before I spent a bunch of time understanding
and trying to fix a template that is used so sparingly in the code base..

Rich


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Sun Nov 22, 2009 6:27 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
I can reproduce this exact compile error with only a few lines of code:
Code:
#include <memory>

class A { };

class B : public A { };

void Do(std::auto_ptr<A> pA) { }

int main()
 {
 std::auto_ptr<B> pB (new B);
 Do(pB);
 }

which gives:
Code:
mech030 /usr/people/everdij/bin> CC -c one.cpp
cc-1322 CC: ERROR File = one.cpp, Line = 12
  More than one user-defined conversion from "std::auto_ptr<B>" to
          "std::auto_ptr<A>" applies.

            Function symbol function template
                      "std::auto_ptr<B>::operator std::auto_ptr<_Tp1>()" is
                      ambiguous by inheritance.
            Function symbol function template
                      "std::auto_ptr<A>::auto_ptr(std::auto_ptr<_Tp1> &)" is
                      ambiguous by inheritance.
   Do(pB);
      ^

1 error detected in the compilation of "one.cpp".


I've read somewhere that this has to do with the default Constructor and Copy Constructor. I'll try to look into it.

_________________
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP: :O2000: :Onyx2:
European nekoware mirror, updated twice a day: http://www.mechanics.citg.tudelft.nl/~everdij/nekoware
ftp://mech001.citg.tudelft.nl rsync mech001.citg.tudelft.nl::nekoware


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Wed Nov 25, 2009 11:42 am 
Offline

Joined: Wed Oct 28, 2009 12:35 pm
Posts: 15
Well I've gotten to the linking stage with the only hangup being the
ambiguous inheritance problem.
punted on the svg problem by using --disable-svg

reading stuff like this which gives one headaches.
http://publib.boulder.ibm.com/infocente ... plr140.htm
http://publib.boulder.ibm.com/infocente ... tm#cplr138


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Tue Dec 01, 2009 9:10 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
We now have a bug# in bugzilla:

https://bugzilla.mozilla.org/show_bug.cgi?id=532091

Let's see how this goes.

_________________
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP: :O2000: :Onyx2:
European nekoware mirror, updated twice a day: http://www.mechanics.citg.tudelft.nl/~everdij/nekoware
ftp://mech001.citg.tudelft.nl rsync mech001.citg.tudelft.nl::nekoware


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Fri Dec 11, 2009 10:38 am 
Offline
User avatar

Joined: Mon Oct 27, 2003 6:22 pm
Posts: 537
Location: Jakobstad, Finland
It might be a good idea if we all voted on the bug too, raise the presence a little.


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Fri Dec 11, 2009 11:56 am 
Offline
User avatar

Joined: Mon Apr 14, 2003 4:34 am
Posts: 5221
good idea, just voted :D

_________________
r-a-c.de


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Sun Dec 13, 2009 1:35 am 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9695
foetz wrote:
good idea, just voted :D

great idea, me too. And I don't register for anything !!

Let's start a campaign ?

edit: the other thing I was careful to not do was click on the link above to go there. If they are smart enough to look at referrer headers then they could well decide we're a single kook with a stick up our collective patootie. So let them hunt all over the world to see where the bug votes are coming from.


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Sun Dec 13, 2009 6:35 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
Since i submitted the bug two weeks ago, i actually have found a workaround by specifying ' -Zf,_330 -ptused ' instead of ' -Zf,_245 ' This selects an experimental CFrontEnd which relaxes some compilation rules. Nevertheless, i want to address this bug since -Zf,_330 brings new problems with its use, not only it's restriction of being available in 7.4.4 only.

Anyway, vote, and let's see if there are some people awake at the other end of mozilla's bugzilla.

_________________
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP: :O2000: :Onyx2:
European nekoware mirror, updated twice a day: http://www.mechanics.citg.tudelft.nl/~everdij/nekoware
ftp://mech001.citg.tudelft.nl rsync mech001.citg.tudelft.nl::nekoware


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Tue Dec 15, 2009 12:30 pm 
Offline

Joined: Wed Oct 28, 2009 12:35 pm
Posts: 15
It Compiles! Does not run yet :(

rwxr-xr-x 1 rich aero 3896 Dec 15 13:38 seamonkey
-rwxr-xr-x 1 rich aero 68672224 Dec 15 13:38 seamonkey-bin
drwxrwxr-x 2 rich aero 104 Dec 15 13:20 searchplugins
lrwxrwxr-x 1 rich aero 65 Dec 15 12:44 shlibsign -> /usr/apps/seamonkey-2.0.0/comm-1.9.1/objsgi/mozilla/nss/shlibsign
lrwxrwxr-x 1 rich aero 31 Dec 15 09:36 xpidl -> ../../xpcom/typelib/xpidl/xpidl
lrwxrwxr-x 1 rich aero 38 Dec 15 09:36 xpt_dump -> ../../xpcom/typelib/xpt/tools/xpt_dump
lrwxrwxr-x 1 rich aero 38 Dec 15 09:36 xpt_link -> ../../xpcom/typelib/xpt/tools/xpt_link
Watt:bin [43] ./seamonkey
Gtk-Message: Failed to load module "gnomebreakpad": 43828154:./seamonkey-bin: rld: Fatal Error: Cannot Successfully map soname 'libgnomebreakpad.so' under any of the filenames /usr/local/lib/libgnomebreakpad.so:/usr/local/pango-1.20.5/pango/.libs/libgnomebreakpad.so:/usr/local/pango-1.24.5/pango/.libs/libgnomebreakpad.so:/usr/lib32/libgnomebreakpad.so:./libgnomebreakpad.so:./plugins/libgnomebreakpad.so:/usr/local/Trolltech/Qt-4.2.2/lib/libgnomebreakpad.so:/usr/lib32/internal/libgnomebreakpad.so:/lib32/libgnomebreakpad.so:/opt/lib32/libgnomebreakpad.so:
Gtk-Message: Failed to load module "canberra-gtk-module": 43828154:./seamonkey-bin: rld: Fatal Error: Cannot Successfully map soname 'libcanberra-gtk-module.so' under any of the filenames /usr/local/lib/libcanberra-gtk-module.so:/usr/local/pango-1.20.5/pango/.libs/libcanberra-gtk-module.so:/usr/local/pango-1.24.5/pango/.libs/libcanberra-gtk-module.so:/usr/lib32/libcanberra-gtk-module.so:./libcanberra-gtk-module.so:./plugins/libcanberra-gtk-module.so:/usr/local/Trolltech/Qt-4.2.2/lib/libcanberra-gtk-module.so:/usr/lib32/internal/libcanberra-gtk-module.so:/lib32/libcanberra-gtk-module.so:/opt/lib32/libcanberra-gtk-module.so:
moz_run_program[13]: 43828154 Bus error(coredump)
Watt:bin [44]
Watt:bin [44]


Top
 Profile  
 
 Post subject: Re: Seamonkey 2.0
Unread postPosted: Tue Dec 15, 2009 12:53 pm 
Offline
User avatar

Joined: Mon Apr 14, 2003 4:34 am
Posts: 5221
it might if it could find 'libgnomebreakpad.so'

_________________
r-a-c.de


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group