Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44792 - Mozilla and Firefox build fails on linux-mips with gcc 3.x
Summary: Mozilla and Firefox build fails on linux-mips with gcc 3.x
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: High critical (vote)
Assignee: MIPS Porters
URL: http://bugzilla.mozilla.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 17:47 UTC by Stephen Becker (RETIRED)
Modified: 2004-06-07 08:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Becker (RETIRED) gentoo-dev 2004-03-15 17:47:04 UTC
Apparently all non-x86 arch have a problem with building mozilla with gcc 3.x.  Something about how c++ defines are made.  Anyway, the "patch to compile with gcc3 on linux-mips" from http://bugzilla.mozilla.org/show_bug.cgi?id=71627 fixes the build issue (I have tested it with mozilla-1.6-r1).  Mozilla-firefox fails the same exact way, so although I haven't yet tested the patch with firefox, it should fix that compile problem too.

Reproducible: Always
Steps to Reproduce:
1.emerge mozilla
2.
3.

Actual Results:  
build fails with bunch of undefined symbols of libxpcom.so or some such thing

Expected Results:  
should have compiled

Since mozilla is required for gnome, this is a showstopper for anyone wanting to
use gnome on mips.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-19 20:21:26 UTC
Is this a problem on sparc too?  Probably better chance of getting it fixed if so... (adding sparc to cc list to get their input)
Comment 2 Jason Wever (RETIRED) gentoo-dev 2004-04-19 20:41:03 UTC
I haven't heard of any reports of mozilla or firefox not building on sparc, and it works fine here.  If something comes up, feel free to re-add.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-04-26 09:13:22 UTC
Okay, this is only a mips problem, or it's solved by more recent gcc.
Stephen, is this still a problem for you?
Comment 4 Stephen Becker (RETIRED) gentoo-dev 2004-04-26 13:53:38 UTC
As of 3.3.3 it was still broken I believe.  There was another user just today having the same problem.  I was going to try and close the bug myself at one point, but then I figured out that even though it allows mozilla to build, the  resulting binary still won't run.  I was hoping I'd come across another patch that could be added at the same time perhaps.  I'll take another look and see if I can find some more information about getting mozilla running on mips.
Comment 5 Stephen Becker (RETIRED) gentoo-dev 2004-05-16 13:36:20 UTC
Ok, as far as I can tell, there is no other patch for mozilla on mips.  I checked the patchset for the mozilla 1.6 debian package, and they include the same patch.  Also included in a note saying that even though it compiles, it still won't run...same problem.  In any case, it would be good to get the patch into the ebuilds for both mozilla and firefox (it fixes compile for both...I've tested) so that I can finally get epiphany keyworded for mips.  Perhaps a patch will later become available that will fix mozilla so that is actually runs.  It's the only thing holding gnome back for mips at this point.

I was going to change the ebuild and commit myself, however I'm not sure how to handle this patch.  It is very small, so it would be a candidate for $FILESDIR.  However, it was not written by me, and also has apparently not been accepted into the Mozilla tree yet...certainly not as of the latest firefox and mozilla 1.6.  In this case, should it go onto the mirrors?
Comment 6 Stephen Becker (RETIRED) gentoo-dev 2004-06-07 08:20:44 UTC
Ok...I'm putting this bug on the backburner until Mozilla actually *works* on linux-mips.  I removed the requirement for epiphany from the gnome metabuild for mips systems.