Re: Bug#664547: spatialite: FTBFS on some archs (test failures)
On Sat, Jul 28, 2012 at 01:54:50PM +0100, peter green wrote:
> >Current version 3.1.0~rc2-1 seems ok on all archs, but for ppc
> >where it fails to build with something that looks like a compiler
> Based on
> and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28904 it would
> appear that the issue is that gcc chokes on building massive files
> on powerpc with PIC (your file compiles sucessfully if -fPIC is
> removed) and the gcc developers don't consider this a bug.
> The ubuntu guys suggested soloution is to modify the program that
> generates the massive C files to generate a collection of smaller C
> files instead.
Spatialte and sqlite traditionally use a compact (amalgamation) flavor
with all files collated together before building. Maybe that's due to
limits in optimization capability?
Francesco P. Lovergine