Closed Bug 26059 Opened 26 years ago Closed 25 years ago

mozilla M13 won't run on Linux/PPC

Categories

(SeaMonkey :: Build Config, defect, P3)

PowerPC
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: stevenj, Assigned: cls)

Details

I successfully compiled Mozilla M13 from the source .tar.gz on my Macintosh PowerBook G3 (1999) laptop running LinuxPPC R4, using gcc 2.95.2. However, the program won't run. When I try to run dist/bin/mozilla, I get the following output: MOZILLA_FIVE_HOME=/home/stevenj/downloads/mozilla/dist/bin LD_LIBRARY_PATH=/home/stevenj/downloads/mozilla/dist/bin SHLIB_PATH=/home/stevenj/downloads/mozilla/dist/bin LIBPATH=/home/stevenj/downloads/mozilla/dist/bin MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) nsUnixToolkitService: Using 'gtk' for the Widget Toolkit. nsUnixToolkitService: Using 'gtk' for the Gfx Toolkit. NS_SetupRegistry() MOZ_TOOLKIT=gtk, WIDGET_DLL=libwidget_gtk.so, GFX_DLL=libgfx_gtk.so initialized appshell GFX: dpi=96 t2p=0.0666667 p2t=15 depth=32 WEBSHELL+ = 1 ************************************************** nsNativeComponentLoader: GetFactory(/home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so) Load FAILED with error: /home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so: R_PPC_REL24 relocation out of range ************************************************** ************************************************** nsNativeComponentLoader: GetFactory(/home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so) Load FAILED with error: /home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so: R_PPC_REL24 relocation out of range ************************************************** ************************************************** nsNativeComponentLoader: GetFactory(/home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so) Load FAILED with error: /home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so: R_PPC_REL24 relocation out of range ************************************************** ###!!! ASSERTION: unable to create parser: 'NS_SUCCEEDED(rv)', file nsXULDocument.cpp, line 4025 ###!!! Break: at file nsXULDocument.cpp, line 4025 DocLoaderFactory: Unable to create ContentViewer for command=view, content-type=text/xul The mozilla-viewer.sh program partially works. Its output is: MOZILLA_FIVE_HOME=/home/stevenj/downloads/mozilla/dist/bin LD_LIBRARY_PATH=/home/stevenj/downloads/mozilla/dist/bin SHLIB_PATH=/home/stevenj/downloads/mozilla/dist/bin LIBPATH=/home/stevenj/downloads/mozilla/dist/bin MOZ_PROGRAM=./viewer MOZ_TOOLKIT= moz_debug=0 moz_debugger= nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) nsUnixToolkitService: Using 'gtk' for the Widget Toolkit. nsUnixToolkitService: Using 'gtk' for the Gfx Toolkit. NS_SetupRegistry() MOZ_TOOLKIT=gtk, WIDGET_DLL=libwidget_gtk.so, GFX_DLL=libgfx_gtk.so ###!!! ASSERTION: ERROR: File locator cannot locate file.: 'NS_SUCCEEDED(rv)', file ../../dist/include/nsIFileLocator.h, line 61 ###!!! Break: at file ../../dist/include/nsIFileLocator.h, line 61 ###!!! ASSERTION: ERROR: File locator cannot locate file.: 'NS_SUCCEEDED(rv)', file ../../dist/include/nsIFileLocator.h, line 61 ###!!! Break: at file ../../dist/include/nsIFileLocator.h, line 61 Going to create the event queue ###!!! ASSERTION: ERROR: File locator cannot locate file.: 'NS_SUCCEEDED(rv)', file ../../../dist/include/nsIFileLocator.h, line 61 ###!!! Break: at file ../../../dist/include/nsIFileLocator.h, line 61 GFX: dpi=96 t2p=0.0666667 p2t=15 depth=32 WEBSHELL+ = 1 ************************************************** nsNativeComponentLoader: GetFactory(/home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so) Load FAILED with error: /home/stevenj/downloads/mozilla/dist/bin/components/libraptorhtmlpars.so: R_PPC_REL24 relocation out of range ************************************************** DocLoaderFactory: Unable to create ContentViewer for command=view, content-type=text/html then, it opens up a window and the menus work, but the URL display is garbled and it doesn't actually display anything (the HTML display view is a blank grey). Please let me know if you need any other information. Cordially, Steven G. Johnson
Sending over to Build guys to check out.
Assignee: leger → granrose
Component: Browser-General → Build Config
QA Contact: leger → cyeh
Status: NEW → ASSIGNED
Target Milestone: M18
punting to cls. Seen this before, Chris?
Assignee: granrose → cls
Severity: blocker → critical
Status: ASSIGNED → NEW
No, I haven't seen this particular problem but I suggest trying egcs 1.1.2 if possible or something other than gcc 2.95+. We just discovered another problem when compiling with gcc 2.95.2 (Bug #27064).
Status: NEW → ASSIGNED
Umm... LinuxPPC R4 doesn't have glibc2. Nor libc5. What it has the magnled child of a CVS snapshot of what eventually became glibc2.0 (numbered 1.99). It's sort of odd, and caused various unusual issues back when I had to work with it - and besides it's own issues, doesn't mozilla require glibc2.1 on Linux anyway? R4 also used 2.1.24 as it's main kernel, and a specially hacked up build of egcs. Basically, although it was the first end-user-complete Linux/PPC release that I know of (obviously, end-user-complete is an opinion call), not all of the port work had found it's way back upstream yet, so many key components were built off of versions that had forked away from their x86 counterparts, so there are various subtle library issues. R5 == 1999 brought the system back into sync and onto stable versions of libraries, compilers, etc., instead of developmental branches. I'm sort of concerned in general about the idea of running gcc-2.95.2 on LinuxPPC R4... that just doesn't sound like a healthy combination of library versions. I think it may be time for the original poster to move to LinuxPPC 1999, 1999 Q3, or 2000, or debian/potato, or any other Linux/PPC distro of his choice that actually has glibc2.1. There are PowerPC binaries in the dist directory for M13 (built by me) that are known to work on debian and LinuxPPC 1999, but I wouldn't hold out much hope, or any effort at all, to try to work around R4's library issues. Also, to my knowledge the Lobard (G3 1999) laptops don't run R4 period (certainly the 2.1.24 kernel won't boot), so the poster must have some collection of updates that would murky the situation even farther... Oh, and a warning - R4 and R5 are binary incompatible (since both the snapshot and glibc2.1 call themselves libc.so.6 but are quite different), so don't try to bring program binaries along.
Ugh. Have we verified that recent snapshots/milestones run on LinuxPPC with a...um, do we even have system requirements for LinuxPPC? That may be worth opening a separate bug itself. For now, I'm going to say that we don't support that system setup (R4, gcc 2.95.2, non-glibc 2.1) and mark this WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Mozilla works fine on LinuxPPC (I build milestone binaries which are on ftp.mozilla.org and occasional nightlies - maybe weeklies - which are on http://southpole.penguinpowered.com/). It just doesn't work on LinuxPPC R4, and probably never will. I would just say that we require glibc2.1-based distros, which includes recent versions of any of them. The binaries I build go a little farther and also require libstdc++2.10, but if you compile from source you don't have to have that.
Actually, I got email from Steven after I closed the bug. He said that he typo'd and was actually using R5. In any case, he has upgraded to the Yellowdog? distribution and the latest milestones work for him.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.