[geos-devel] compile on aix

Emre Ersin emree at mobiliz.com.tr
Mon Jun 4 09:31:38 PDT 2012


Hello,

 

I am trying to compile GEOS 3.3.4 (I have also tried older versions) on
AIX 7.1 platform. I do not have any admin rights on that server so I
have to make all setup things in usermode by defining LIBPATH (other
than opt/freeware) and PATHs.  

 

During make  something gives segmentaion fault; 

 

./configure --prefix=/home/users/emre --disable-inline

...

make

...

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../include
-I../../../include/geos -I../../../include -pedantic -Wall -ansi
-Wno-long-long -ffloat-store -g -O2 -MT IndexedPointInAreaLocator.lo -MD
-MP -MF .deps/IndexedPointInAreaLocator.Tpo -c
IndexedPointInAreaLocator.cpp  -DPIC -o
.libs/IndexedPointInAreaLocator.o

g++: internal compiler error: Segmentation fault (program as)

 

(It says assembly command "as" gives the fault but I am not sure) 

 

geos-3.3.4:>as -version

as V7.1

 

geos-3.3.4:>g++ -v

Using built-in specs.

COLLECT_GCC=g++

COLLECT_LTO_WRAPPER=/home/users/emre/bin/../libexec/gcc/powerpc-ibm-aix7
.1.0.0/4.6.3/lto-wrapper

Target: powerpc-ibm-aix7.1.0.0

Configured with: ../gcc-4.6.3/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran
--prefix=/opt/freeware --mandir=/opt/freeware/man
--infodir=/opt/freeware/info --enable-threads
--enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --host=powerpc-ibm-aix7.1.0.0

Thread model: aix

gcc version 4.6.3 (GCC)

 

Does anyone have any clue? 

 

By the way; Postgresql 9.0.3 has been compiled successfully by using
this configuration. And it is working now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20120604/33dc90a7/attachment.html>


More information about the geos-devel mailing list