Opened 13 years ago

Closed 5 years ago

#761 closed enhancement (fixed)

Full 64-bit Linux support

Reported by: rafael Owned by: jng
Priority: major Milestone: 3.8.0
Component: FDO API Version: 3.5.0
Severity: 2 Keywords:
Cc: External ID:

Description

Most servers today are 64-bit Linux. Today it is normal servers with 32G of memory where the MapGuide can not be used by an application 32 bits.

Attachments (4)

UnitTest64_Fdo.log (6.5 KB ) - added by jng 11 years ago.
FDO unit test results (from linux64 sandbox)
UnitTest64_SDF.log (57 bytes ) - added by jng 11 years ago.
SDF unit test results (from linux64 sandbox)
UnitTest64_SHP.log (340 bytes ) - added by jng 11 years ago.
SHP unit test results (from linux64 sandbox)
UnitTest64_WMS.log (60 bytes ) - added by jng 11 years ago.
WMS unit test results (from linux64 sandbox)

Download all attachments as: .zip

Change History (9)

comment:1 by gregboone, 13 years ago

I would be happy to help support and release a 64bit Linux build if we can find a contributor willing to be reponsible for the 64bit builds and releases. At this point no 64bit Linux machine is available.

by jng, 11 years ago

Attachment: UnitTest64_Fdo.log added

FDO unit test results (from linux64 sandbox)

by jng, 11 years ago

Attachment: UnitTest64_SDF.log added

SDF unit test results (from linux64 sandbox)

by jng, 11 years ago

Attachment: UnitTest64_SHP.log added

SHP unit test results (from linux64 sandbox)

by jng, 11 years ago

Attachment: UnitTest64_WMS.log added

WMS unit test results (from linux64 sandbox)

comment:2 by gregboone, 11 years ago

Milestone: 3.6.03.8.0
Severity: 32

I am testing With:

OS: CentOS release 6.4 (Final)

LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Compiler: GCC 4.7

Notes:

1) In order to install the required upgraded GCC 4.7 compiler follow :

http://superuser.com/questions/381160/install-gcc-4-7-on-centos

2) In order to switch to the new compiler run : scl enable devtoolset-1.1 bash

3) to switch back to the original gcc version: exit

4) I also Installed glibc.i686 - "sudo yum install glibc.i686"

comment:3 by gregboone, 11 years ago

Status: newassigned

comment:4 by jng, 6 years ago

Owner: changed from gregboone to jng
Status: assignednew

As of this comment, the only remaining roadblocks for 64-bit Linux support that I can see based on failing/segfaulting unit tests are:

  • PostGIS: Replace usages of unsigned long (especially if they're being sizeof()'d) with an equivalently sized data type throughout the PostGIS rdbi driver. This is a different size on 64-bit Linux as opposed to windows (32 and 64-bit) and 32-bit Linux. The driver also appears to be selecting the wrong PG data types to use on 64-bit Linux based on unit test failures around overflowing values (eg. PostgreSQL will report: <some astronomical value> is too small for the type smallint)
  • SHP: Replace usages of long and unsigned long (especially if they're being sizeof()'d) with an equivalently sized data type throughout the ShpSpatialIndex project. Same reason as PostGIS, different size on 64-bit Linux.

King Oracle has more underlying problems (#562 and #649) before we can even consider whether it works on 64-bit Linux.

comment:5 by jng, 5 years ago

Resolution: fixed
Status: newclosed

Barring a small amount of unit test failures on certain providers, this is effectively resolved now.

Note: See TracTickets for help on using tickets.