Building your own firefox

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
diegel
Posts: 260
Joined: Tue Nov 17, 2009 3:08 am
Location: Hamburg, Germany

Building your own firefox

Unread postby diegel » Fri Mar 16, 2012 3:52 am

I like to encourage you to play with the mozilla source and build your own firefox, thunderbird or seamonkey. With the new packages in beta I provide a new patch, which combines the changes from the previous three patches and fix some more problems. I also updated the release notes. It should be easy for you to build your own version optimized for your platform. You can also add the -mp flag for multi processor support.

To get the source:

Code: Select all

export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
export MOZ_CO_PROJECT=all
cvs co -r MOZILLA_1_8_BRANCH mozilla/client.mk
cd mozilla
gmake -f client.mk checkout


I attached the current patch and release notes.

I had some conflicts with the headers of neko_openldap. Just rename ore remove them. You need the shared libraries of a current firefox in your LD_LIBRARYN32_PATH otherwise signlib will core dump.
Attachments
neko_firefox.txt
(3.82 KiB) Downloaded 30 times
mozilla.patch
(21.1 KiB) Downloaded 32 times
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:

User avatar
cris_adder
Posts: 174
Joined: Wed Jan 13, 2010 1:10 am
Location: Australia

Re: Building your own firefox

Unread postby cris_adder » Fri Mar 16, 2012 5:46 am

Thank you for this... will give this a try..!

hamei
Posts: 9878
Joined: Tue Feb 24, 2004 5:10 pm

Re: Building your own firefox

Unread postby hamei » Fri Mar 16, 2012 8:52 pm

diegel wrote:I like to encourage you to play with the mozilla source and build your own firefox, thunderbird or seamonkey.

This is great, and thank you much .... since you started this, I have a proposition for you :D

Actually, Fireflop 2.0.0.22 does most everything we need. The problems with it are that it crashes sometimes and it's slow and has huge memory leaks. After watching all the projects trying to get FF 3 and higher running on Irix, I have to wonder why we bother with that ? Why not do a New Phoenix ? Take the Friedflop that works and start fixing it and stripping useless code out ? For instance, when I re-installed neko's 2.0.0.20, the damned thing sat there for a good twenty minutes "checking add-ons" and a bunch of other garbage. That is useless code that has to get loaded every single time you run furflop. Useful one time, absolutely useless and a weak link in the code for the other 200,000 times you run the program. In a word, STUPID. (And retarded, shortsighted, idiotic, brain-dead, foolish, the actions of a legion of chimpanzees with Down's Syndrome, etc etc etc)

What do you think of setting this up as a fix-fireflop project ? If the people who are now struggling with FF 3+ put their efforts into improving what we know works, maybe we'd be better off ?

edit: In the meanwhile, I got a little problem, Houston ....

Code: Select all

urchin 6% cd mozilla
urchin 7% gmake -f client.mk checkout
client.mk:367: *** MOZ_CO_PROJECT contains an unrecognized project..  Stop.
urchin 8% bash
bash-4.2$ gmake -f client.mk checkout
client.mk:367: *** MOZ_CO_PROJECT contains an unrecognized project..  Stop.
bash-4.2$

diegel
Posts: 260
Joined: Tue Nov 17, 2009 3:08 am
Location: Hamburg, Germany

Re: Building your own firefox

Unread postby diegel » Sat Mar 17, 2012 2:52 am

Actually I plan to look at newer firefox versions later. I think it is a good idea to start with the working version and understand the concept behind the code. I have great respect for the mozilla code which has grown for nearly 20 years now. In my opinion there is absolutely nothing stupid with it.

As I wrote before, I found an optimizing problem in the javascript code. All previous Irix firefox 2 versions build with at least -O2 has this bug. This was a reason why firefox crashes. I don't expect it doesn't crash anymore, but I experienced it crash much less than before.
Last edited by diegel on Sat Mar 17, 2012 3:40 am, edited 1 time in total.
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:

diegel
Posts: 260
Joined: Tue Nov 17, 2009 3:08 am
Location: Hamburg, Germany

Re: Building your own firefox

Unread postby diegel » Sat Mar 17, 2012 3:16 am

hamei wrote:edit: In the meanwhile, I got a little problem, Houston ....

Code: Select all

urchin 6% cd mozilla
urchin 7% gmake -f client.mk checkout
client.mk:367: *** MOZ_CO_PROJECT contains an unrecognized project..  Stop.
urchin 8% bash
bash-4.2$ gmake -f client.mk checkout
client.mk:367: *** MOZ_CO_PROJECT contains an unrecognized project..  Stop.
bash-4.2$


There is no problem. First start the bash, then execute my code.
:Tezro: :Fuel: :Octane2: :Octane: :Onyx2: :O2+: :O2: :Indy: :Indigo: :Cube:

hamei
Posts: 9878
Joined: Tue Feb 24, 2004 5:10 pm

Re: Building your own firefox

Unread postby hamei » Sat Mar 17, 2012 4:09 am

diegel wrote:There is no problem. First start the bash, then execute my code.

Got through it, thanks. It was failing with bash but that was because of a different dumb error which I'm not going to describe :oops:

Actually I plan to look at newer firefox versions later.

To each his own :D

In my opinion there is absolutely nothing stupid with it.

We have widely varying opinions on that subject !

As I wrote before, I found an optimizing problem in the javascript code. All previous Irix firefox 2 versions build with at least -O2 has this bug. This was a reason why firefox crashes. I don't expect it doesn't crash anymore, but I experienced it crash much less than before.

You've probably made a significant step forward. With javascript turned off I have LOT fewer crashes. There's also this one, if you want to look for bugs :

Code: Select all

Assertion failed in file "../../libC/lang_support/throw.cxx", line 1618
WARNING: core: firefox-bin: PID 57254, failed to write a  text area (core file deleted)
moz_run_program[36]: 57254 Abort

and this one ...

Code: Select all

Gdk-CRITICAL **: file gdkfont.c: line 220: assertion `font != NULL' failed.
WARNING: core: firefox-bin: PID 57505, failed to write a  text area (core file deleted)
moz_run_program[36]: 57505 Memory fault

and the ever-popular

Code: Select all

moz_run_program[36]: 13796 Memory fault
libexc(13937): FATAL ERROR __exc_cache_allocate_node: unable to allocate a new node (128bytes)
WARNING: core: firefox-bin: PID 13937, failed to write a  text area (core file deleted)
moz_run_program[36]: 13937 Abort

let's not forget

Code: Select all

fewel 1% atcheckpoint/atrestart failed to mallocNot enough spaceNot enough space
atcheckpoint/atrestart failed to mallocNot enough spaceNot enough space
libexc(1170): FATAL ERROR __exc_add_rld: malloc(36) failed
WARNING: core: firefox-bin: PID 1170, failed to write a  text area (core file deleted)
moz_run_program[36]: 1170 Abort

There's a few more but those are the most common ...


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest