Difference between revisions of "Porting to x86-64 (AMD64, EM64T)"

From Apache OpenOffice Wiki
Jump to: navigation, search
(How to get it: talks about ooobuild specifically, link to Building_with_ooobuild)
Line 1: Line 1:
 
== Current status ==
 
== Current status ==
  
The x86-64 port is work in progress.  It is not ready for use yet, but it compiles (with quite large set of patches), and performs basic operations'''It is of no use for non-developers.'''
+
The x86-64 port is still work in progress, but it is already usable in the current stateBut help is still appreciated, join the project! :-)
  
Help is appreciated, join the project! :-)
+
The work is based on ''ooo64bit02'' [[CWS|Child Workspace (CWS)]].  Most of the patches were already integrated to SRC680 in various other CWS's, because ooo64bit02 was too huge to be integrated as a whole.
 
+
The work is based on ''ooo64bit02'' [[CWS|Child Workspace (CWS)]].  The problem is that this CWS is too huge to be integrated - it would be an incredible task for the QA.  The idea is to split it to smaller CWSes and get them integrated one by one.
+
  
 
More info:
 
More info:
Line 14: Line 12:
 
== How to get it ==
 
== How to get it ==
  
All the available and the most recent patches are in [[ooo-build]]; you can see them [http://cvs.gnome.org/viewcvs/ooo-build/patches/64bit/ here].  See the general [[Getting It]], [[Building_with_ooobuild|Building]], [[Installing]], [[Running]] sections for ooo-build.
+
Get the latest SRC680 development sources, and follow the general [[Getting It]], [[Building_with_ooobuild|Building]], [[Installing]], [[Running]] sections.  Don't forget to use --with-system-libs while configuring.
  
Be sure to specify one of the 64bit distros (like ''SUSE-64'' - recommended, ''Debian64'', etc.) during the ''./configure'' time (''--with-distro='' configure switch), it will apply the 64bit patches then.
+
It is recommended to use a recent distro for building, like SUSE 10.1 or newer.  gcc should be at least 3.4.1 with enum+visibility patches, 4.x is probably the best choice.
 
+
It is recommended to use a recent distro for building, like SUSE 10.1 (beta), etc.  gcc should be at least 3.4.1 with enum+visibility patches, 4.0.1 is probably the best choice.
+
  
 
It is very probable that you'll have problems with Java - some of the VM's have problems to build OOo on x86-64.
 
It is very probable that you'll have problems with Java - some of the VM's have problems to build OOo on x86-64.
Line 38: Line 34:
 
** Ensure that you CC 'kendy', 'pjanik', and 'cmc' on the report to get a quick response
 
** Ensure that you CC 'kendy', 'pjanik', and 'cmc' on the report to get a quick response
 
* If the underlying problem is a new problem archetype - try to find & fix all other instances of it
 
* If the underlying problem is a new problem archetype - try to find & fix all other instances of it
 
The most important task now is to isolate fixes from ''ooo64bit02'', and get them up-stream.  Once the official OpenOffice.org builds on x86-64, it will be much easier to get more people involved, and to fix bugs more effectively.
 
  
 
Should you have questions, please contact ''caolan'', ''kendy'', ''martink'', or ''paveljanik'' on [[IRC_Communication|IRC]].
 
Should you have questions, please contact ''caolan'', ''kendy'', ''martink'', or ''paveljanik'' on [[IRC_Communication|IRC]].
  
 
[[Category:Porting]]
 
[[Category:Porting]]

Revision as of 20:52, 15 April 2007

Current status

The x86-64 port is still work in progress, but it is already usable in the current state. But help is still appreciated, join the project! :-)

The work is based on ooo64bit02 Child Workspace (CWS). Most of the patches were already integrated to SRC680 in various other CWS's, because ooo64bit02 was too huge to be integrated as a whole.

More info:

How to get it

Get the latest SRC680 development sources, and follow the general Getting It, Building, Installing, Running sections. Don't forget to use --with-system-libs while configuring.

It is recommended to use a recent distro for building, like SUSE 10.1 or newer. gcc should be at least 3.4.1 with enum+visibility patches, 4.x is probably the best choice.

It is very probable that you'll have problems with Java - some of the VM's have problems to build OOo on x86-64.

Java

You have to have a 64bit Java installed. The following are known to work:

  • gcj 4.0.1 - e.g. in SUSE 10.1 installation, works out of the box
  • Blackdown Java - reported to work

How to help

Generally

  • Compile it
  • Find a bug (crash, missing functionality, ...)
  • Fix it ;-) It might be either in the ooo-build patches, or up-stream
  • File the problem & the solution to the IssueZilla if it is up-stream, or send it to openoffice@lists.ximian.com if it is in the ooo-build patches
    • Ensure that you CC 'kendy', 'pjanik', and 'cmc' on the report to get a quick response
  • If the underlying problem is a new problem archetype - try to find & fix all other instances of it

Should you have questions, please contact caolan, kendy, martink, or paveljanik on IRC.

Personal tools