Ticket #359 (closed defect: fixed)

Opened 3 years ago

Last modified 23 months ago

geos-3.2.1 build fails on Solaris sparc10, with Sun studio12.1

Reported by: sandy2010 Owned by: pramsey
Priority: major Milestone:
Component: Build/Install Version:
Severity: Unassigned Keywords:
Cc: rburris

Description

... source='LineIntersector?.cpp' object='LineIntersector?.lo' libtool=yes \

DEPDIR=.deps depmode=none /bin/bash ../../depcomp \ /bin/bash ../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -m64 -m64 -pedantic -c -o LineIntersector?.lo LineIntersector?.cpp

libtool: compile: CC -DHAVE_CONFIG_H -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -m64 -m64 -pedantic -c LineIntersector?.cpp -KPIC -DPIC -o .libs/LineIntersector.o CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored otherwise "../../source/headers/geos/platform.h", line 98: Warning: #warning "Could not find 64bit integer definition!". "LineIntersector?.cpp", line 224: Error: isnan is not a member of std. "LineIntersector?.cpp", line 232: Error: isnan is not a member of std. "LineIntersector?.cpp", line 304: Error: isnan is not a member of std. ... Compilation aborted, too many Error messages. make[3]: *** [LineIntersector?.lo] Error 1

Here, is my configure options: ./configure CC="cc -KPIC" --disable-inline

Pleas help to fix this error.

Change History

Changed 2 years ago by rburris

  • cc rburris added

I have the same problem, Sun Studio 10 on Solaris 5.10. Tried to investigate a bit. When configure passes -pedantic to CC while checking for support of isfinite and finite, compilation fails so both "finite", "isfinite" show as unsupported in configure. (-pedantic *is* supported by cc, which is used by the test for support of -pedantic.) In support of this issue, I will post more information as I find it.

Changed 23 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

3.3 branch is been reported to build. please try that one.

Note: See TracTickets for help on using tickets.