[linux-sh:03169] Re: mozilla on sh4
Stuart MENEFY <[email protected]> Mon, 23 Feb 2004 12:51:24 +0000
| Newsgroups | gmane.linux.ports.sh.general |
|---|---|
| Organization | STMicroelectronics (Bristol) |
| Message-ID | <[email protected]> |
On Sat, 21 Feb 2004 13:37:47 -0800 Dan Kegel <[email protected]> wrote: > Oshri Yahav wrote: > > i'm trying to run mozilla minimo on sh4. > > i'm using Dan Kegel's cross tool and the compilation finished OK but > > i get a segmentation fault when i try to run the test program. > > has any one succeed running mozilla on sh4 ? > > i know that the mozilla's hardware configuration does not support sh4 so > > i have defined it as mips. > > I haven't even tried compiling mozilla on x86 :-) > > Which versions of crosstool, gcc, and glibc are you using? > > What is the test program that crashes? Can you compile it > for debug and get a stack traceback (using gdb)? > > Can you compile and run other programs successfully? > > There are a couple patches outstanding for sh4 that might > conceivably help, but it's also possible you've run into > a new problem. For what its worth, I did eventually did get a mozilla build working for the SH4 last month. I was starting from a 'known working' mozilla 0.9.2 tree, which had been modified for SH4. I've not tried anything more recent, so its quite possible that you are encountering different problems. Using a 3.3.2 compiler, I did need to apply a couple of patches. I think they are all now part of the gcc 3.3 branch, whether they found their way into 3.3.3 I've not checked. In particular gcc bug 13302 needed to be fixed just to complete the compilation without an ICE. I also found it a good test case for the perennial fpscr_values problems! If you want to have a look at the changes and build process I used, they are available from: ftp://ftp.superhlinux.com/pub/people/stuart/mozilla Stuart
signature.asc
(application/pgp-signature, 185 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (SunOS) iD8DBQFAOfdN61BlSKQGbXkRAvMCAJ96vryC9x84LPl+FzkAroLXRjIKngCfYTxh NvV/ZaUXiPuM3ySQU7CQHX8= =kmRV -----END PGP SIGNATURE-----