artemp/mapnik — Issue #235: g++: Internal error after r921
Author: artemp
Created: 2011-10-11 16:06:19+00:00
State: open
Labels: Core_Library

{{{
g++ -o bindings/python/mapnik_rule.os -c -DHAVE_LIBXML2 -DHAVE_CAIRO -DHAVE_PYCAIRO -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -fPIC -I/usr/include/python2.5 -Iagg/include -Iinclude -I. -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/postgresql -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/cairomm-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pycairo bindings/python/mapnik_rule.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See for instructions.
scons: *** [bindings/python/mapnik_rule.os] Error 1
scons: building terminated because of errors.
}}}

It appears that something is wrong with my changeset affecting the mapnik_rule.cpp.

It compiles find on mac 10.5 and ubuntu 8.04 (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) but I get the above error on ubuntu 8.10 with gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)

Anyone see the bogus code?