Opened 12 years ago

Closed 12 years ago

#537 closed defect (invalid)

LineString.cpp:251: internal compiler error: Segmentation fault

Reported by: mbernasocchi Owned by: strk
Priority: major Milestone: 3.3.4
Component: Default Version: 3.3.3
Severity: Critical Keywords: android
Cc:

Description

when crosscompiling 3.3 branch for android I get: (please note that using the same flags I could compile 3.2.2)

/bin/bash ../../libtool --tag=CXX   --mode=compile arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../src/geom -I../../include -I../../include/geos -I../../../include    -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x  -MT MultiPoint.lo -MD -MP -MF .deps/MultiPoint.Tpo -c -o MultiPoint.lo ../../../src/geom/MultiPoint.cpp
libtool: compile:  arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../src/geom -I../../include -I../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x -MT MultiPoint.lo -MD -MP -MF .deps/MultiPoint.Tpo -c ../../../src/geom/MultiPoint.cpp  -fPIC -DPIC -o .libs/MultiPoint.o
libtool: compile:  arm-linux-androideabi-g++ -DHAVE_CONFIG_H -I. -I../../../src/geom -I../../include -I../../include/geos -I../../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -DANDROID=ON -Wno-psabi -O2 -mthumb -std=gnu++0x -MT Location.lo -MD -MP -MF .deps/Location.Tpo -c ../../../src/geom/Location.cpp -o Location.o >/dev/null 2>&1
../../../src/geom/LineString.cpp: In member function 'virtual std::auto_ptr<geos::geom::Envelope> geos::geom::LineString::computeEnvelopeInternal() const':
../../../src/geom/LineString.cpp:251: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [LineString.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Change History (3)

comment:1 by mbernasocchi, 12 years ago

Owner: changed from geos-devel@… to strk

comment:2 by strk, 12 years ago

Looks like a compiler bug, not a GEOS bug. The LineString.cpp file didn't even change much since 3.2.

If you find a workaround I'm happy to commit it.

comment:3 by strk, 12 years ago

Resolution: invalid
Status: newclosed

closing as invalid (compiler bug)

Note: See TracTickets for help on using tickets.