A list for the developers of CellML tools

Text archives Help


[cellml-dev] 64-bit version of Mozilla/CellML/PCEnv


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-dev] 64-bit version of Mozilla/CellML/PCEnv
  • Date: Thu, 03 Jan 2008 09:38:58 +1300

Alan Garny wrote:
>
> Dear Andrew/Justin,
>
> I have been trying to compile the Mozilla Framework under Ubuntu x64
> (in an attempt to recompile PCEnv under that environment), but it
> failed miserably. Here is the message I am eventually getting:
>
> ------------------------------------------------------------------------
>
> make[7]: Entering directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr/toolkit/crashreporter/google-breakpad/src/common/linux'
>
> dump_symbols.cc
>
> c++ -o host_dump_symbols.o -c
>
> -I/home/gry/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/../..
>
> -I../../../../../../dist/include
>
> -I../../../../../../dist/include/breakpad_linux_common
>
> -I../../../../../../dist/include/nspr
>
> -I../../../../../../dist/sdk/include -I../../../../../../dist/include/nspr
>
> /home/gry/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc
>
> /home/gry/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:
>
> In function ?void<unnamed>::FixAddress(void*)?:
>
> /home/gry/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:131:
>
> error: cast from ?void*? to ?Elf64_Word? loses precision
>
> make[7]: *** [host_dump_symbols.o] Error 1
>
> make[7]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr/toolkit/crashreporter/google-breakpad/src/common/linux'
>
> make[6]: *** [libs] Error 2
>
> make[6]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr/toolkit/crashreporter'
>
> make[5]: *** [libs] Error 2
>
> make[5]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr/toolkit'
>
> make[4]: *** [libs_tier_toolkit] Error 2
>
> make[4]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr'
>
> make[3]: *** [tier_toolkit] Error 2
>
> make[3]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr'
>
> make[2]: *** [default] Error 2
>
> make[2]: Leaving directory
>
> `/home/gry/mozilla-obj/obj-x86_64-unknown-linux-gnu/stablexr'
>
> make[1]: *** [build] Error 2
>
> make[1]: Leaving directory `/home/gry/mozilla'
>
> make: *** [build] Error 2
>
> ------------------------------------------------------------------------
>
> I had a look at that dump_symbols.cc file and I (obviously?) couldn?t
> see anything wrong with it, so I decided to comment out the contents
> of the whole function just to see whether this was the only problem.
> As you might guess, it was not.
>
> Now, since ?our? copy of Mozilla is not complete, I am wondering
> whether it supports 64-bit systems. Could either of you please let me
> know?
>
> Might it, should PCEnv ?only? target 32-bit system, be worth
> considering adding support for 64-bit systems?
>
> I have just made my system double boot with Ubuntu x64 and I would
> hate having to revert to Ubuntu x86...
>
Hi Alan,

I don't think anyone has tried an IA64 / AMD64 builds of the entire
PCEnv environment before, although I certainly have tried to follow good
coding practices which don't assume endianness, sizes of pointers,
etc... but may have made such assumptions inadvertently somewhere. The
CellML API (but not PCEnv) gets automatically tested on AMD64.

I think getting Mozilla to work on IA64 / AMD64 will probably require
just require setting your .mozconfig appropriately to turn off parts
like crashreporter which don't yet work on 64-bit platforms.

Best regards,
Andrew





Archive powered by MHonArc 2.6.18.

Top of page