Bug#664547: [volker27 at gmx.at: Re: [SpatiaLite-Users] PPC64 builds]

Francesco P. Lovergine frankie at debian.org
Mon Jul 30 08:54:08 UTC 2012


Dear all, that implies that we need to split up quite a lot of source modules.
I would hope that it is ok for RMs. Many thanks for the useful suggestion by 
upstream.

----- Forwarded message from Volker Froehlich <volker27 at gmx.at> -----

Date: Sun, 29 Jul 2012 23:15:58 +0200
From: Volker Froehlich <volker27 at gmx.at>
To: a.furieri at lqt.it
Cc: "Francesco P. Lovergine" <frankie at debian.org>
Subject: Re: [SpatiaLite-Users] PPC64 builds
X-Mailer: Evolution 3.2.3 (3.2.3-3.fc16)

On Sun, 2012-07-29 at 21:28 +0200, a.furieri at lqt.it wrote:
> On Thu, 26 Jul 2012 19:38:03 +0200, Volker Froehlich wrote:
> > There's no urgency in this request, but it'd be great if 
> > libspatialite
> > would build on PPC64.
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=663938
> >
> 
> On Sat, 28 Jul 2012 17:54:16 +0200, Francesco P. Lovergine 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
> >> issue.
> >> >Based on
> >> https://bugs.launchpad.net/ubuntu/+source/spatialite/+bug/1012976 
> >> 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.
> >
> 
> BINGO :-D
> I suppose that failing to build on Debian, Ubuntu and Fedora at the
> same time scores a new record ;-)
> 
> all right,
> I've followed the suggestion coming from Ubuntu guys; there is no
> more a single huge monolithic source.
> now there are about 40+ reasonably sized sources instead.
> 
> You'll find attached the latest -RC3 tarball; quite obviously you can
> download the same identical base code directly from the Fossil
> repository, if you wish.
> 
> I've personally tested on Win32 and Fedora 17 amd64, and it works like
> a charm ;-)
> 
> let me know if this mega-patch effectively resolves any PPC oddity.
> 
> bye Sandro

Great, it built fine and all tests passed (PPC64 on F17).

Just for reference -- the build log:

http://ppc.koji.fedoraproject.org/koji/getfile?taskID=641073&name=build.log

Notice, it's just a scratch build.

Thank you two!

Volker

----- End forwarded message -----

-- 
Francesco P. Lovergine



More information about the Pkg-grass-devel mailing list