Opened 3 years ago

Closed 14 months ago

#839 closed defect (fixed)

isnan presence not detected on Solaris 11

Reported by: edechaux Owned by: strk
Priority: minor Milestone: 3.6.4
Component: Build/Install Version: 3.6.2
Severity: Annoyance Keywords: patch
Cc:

Description

The presence of std::isnan() is not properly detected on Solaris 11.3 in platform.h.in

The attached patch fixes it. It has been tested on Solaris 11.3 with GCC 5.4.0 on SPARC and x86.

Solaris and GCC full versions are

$ LANG=C pkg info -l entire

Name: entire

Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.3.22.3.0).

Description: This package constrains system package versions to the same

build. WARNING: Proper system update and correct package selection depend on the presence of this incorporation. Removing this package will result in an unsupported system. For more information see: https://support.oracle.com/rs?type=doc&id=2045311.1

Category: Meta Packages/Incorporations?

State: Installed

Publisher: solaris

Version: 0.5.11 (Oracle Solaris 11.3.22.3.0)

Build Release: 5.11

Branch: 0.175.3.22.0.3.0

Packaging Date: Thu Jun 29 16:14:58 2017

Size: 5.46 kB FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.3.22.0.3.0:20170629T161458Z

$ LANG=C pkg info -l gcc-5

Name: developer/gcc-5

Summary: GCC 5.4

Category: Development/C (org.opensolaris.category.2008)

Development/C++ (org.opensolaris.category.2008) Development/Fortran? (org.opensolaris.category.2008) Development/GNU (org.opensolaris.category.2008) Development/Objective? C (org.opensolaris.category.2008)

State: Installed

Publisher: solaris

Version: 5.4.0

Build Release: 5.11

Branch: 0.175.3.22.0.1.0

Packaging Date: Tue Jun 20 16:04:40 2017

Last Install Time: Fri Aug 04 13:52:52 2017

Size: 5.46 kB FMRI: pkg://solaris/developer/gcc-5@5.4.0,5.11-0.175.3.22.0.1.0:20170620T160440Z

Full instructions sets are

$ isainfo -v 64-bit amd64 applications

avx xsave pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu prfchw rdseed rdrand

32-bit i386 applications

avx xsave pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu prfchw rdseed rdrand

$ isainfo -v 64-bit sparcv9 applications

crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc vamask pause_nsec xmont xmpmul mwait sparc5 adi vis3b

32-bit sparc applications

crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32 vamask pause_nsec xmont xmpmul mwait sparc5 adi vis3b

Attachments (1)

geos-isnan.patch (941 bytes) - added by edechaux 3 years ago.
Patch on include/geos/platform.h.in

Download all attachments as: .zip

Change History (8)

Changed 3 years ago by edechaux

Attachment: geos-isnan.patch added

Patch on include/geos/platform.h.in

comment:1 Changed 3 years ago by edechaux

Priority: majorminor

comment:2 Changed 3 years ago by edechaux

Component: DefaultBuild/Install
Owner: changed from geos-devel@… to strk

comment:3 Changed 3 years ago by edechaux

Severity: UnassignedAnnoyance

comment:4 Changed 2 years ago by robe

Milestone: 3.6.33.6.4

comment:5 Changed 2 years ago by robe

Keywords: patch added

comment:6 Changed 14 months ago by Paul Ramsey <pramsey@…>

In d2c7d03/git:

Detech isnan on solaris
References #839

comment:7 Changed 14 months ago by Paul Ramsey <pramsey@…>

Resolution: fixed
Status: newclosed

In 3cefa48/git:

Detect isnan on solaris
Closes #839

Note: See TracTickets for help on using tickets.