Re: Build failure of postgres-xc
On Fri, Nov 22, 2013 at 07:49:37PM +0100, Bastian Blank wrote: You _never_ want to use -fpic, regardless of the architecture. Explain that a bit, will you? I'm getting mixed feedback from upstream and like to understand what's going on here. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131124112313.ga28...@feivel.credativ.lan
Re: Build failure of postgres-xc
On Thu, Nov 21, 2013 at 03:24:13PM +0100, Bastian Blank wrote: Okay. The reason is the stray -fpic. On s390* this restricts the shared lib to 2^11-1 bytes. And the last setting wins. Got it. I changed the Makefile to not use -fpic on s390* and now it seems to compile cleanly. Let's see if the autobuilders agree. :) Thanks a lot Bastian. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131122155023.ga24...@feivel.credativ.lan
Re: Build failure of postgres-xc
On Fri, Nov 22, 2013 at 04:50:23PM +0100, Michael Meskes wrote: On Thu, Nov 21, 2013 at 03:24:13PM +0100, Bastian Blank wrote: Okay. The reason is the stray -fpic. On s390* this restricts the shared lib to 2^11-1 bytes. And the last setting wins. Got it. I changed the Makefile to not use -fpic on s390* and now it seems to compile cleanly. Let's see if the autobuilders agree. :) You _never_ want to use -fpic, regardless of the architecture. Bastian -- Knowledge, sir, should be free to all! -- Harry Mudd, I, Mudd, stardate 4513.3 -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131122184937.ga5...@mail.waldi.eu.org
Re: Build failure of postgres-xc
On Sun, Oct 06, 2013 at 06:11:42PM +0200, Bastian Blank wrote: On Sun, Oct 06, 2013 at 04:27:29PM +0200, Michael Meskes wrote: The log is here: https://buildd.debian.org/status/fetch.php?pkg=postgres-xcarch=s390ver=1.1-1stamp=1378820737 It uses -fpic instead of -fPIC. It appears to me that it uses both at the same time. Now I have no idea what effect that has, but postgresql which XC is based on does the same and it compiles cleanly on s390. I was expecting the problem to be the gtm module, but that seems to be build with -fPIC, too. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131010113730.gb5...@feivel.credativ.lan
Re: Build failure of postgres-xc
On Thu, Oct 10, 2013 at 01:37:30PM +0200, Michael Meskes wrote: On Sun, Oct 06, 2013 at 06:11:42PM +0200, Bastian Blank wrote: On Sun, Oct 06, 2013 at 04:27:29PM +0200, Michael Meskes wrote: The log is here: https://buildd.debian.org/status/fetch.php?pkg=postgres-xcarch=s390ver=1.1-1stamp=1378820737 It uses -fpic instead of -fPIC. It appears to me that it uses both at the same time. Now I have no idea what effect that has, but postgresql which XC is based on does the same and it compiles cleanly on s390. Using both should lead to the behaviour of -fPIC if I remember correctly. However this may differ per architecture. Does postgresql uses the same compiler options? Was it build with the same toolchain? Did you alreeady try to build it on the developer machine? The usage of -pie looks weird. A position independant executable is only half a shared library. Sorry, I can't really investigate while traveling. Bastian -- There are some things worth dying for. -- Kirk, Errand of Mercy, stardate 3201.7 -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131010162345.ga14...@mail.waldi.eu.org
Build failure of postgres-xc
Hi, I just noticed that Postgres-XC doesn't build on S390. However, Postgresql, which Postgres-XC is based on, builds just fine. Could anyone of you give me a pointer where I should look or tell upstream to look? I hope you've seen similar problems before. The log is here: https://buildd.debian.org/status/fetch.php?pkg=postgres-xcarch=s390ver=1.1-1stamp=1378820737 Thanks. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at gmail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131006142729.ga13...@feivel.credativ.lan
Re: Build failure of postgres-xc
On Sun, Oct 06, 2013 at 04:27:29PM +0200, Michael Meskes wrote: The log is here: https://buildd.debian.org/status/fetch.php?pkg=postgres-xcarch=s390ver=1.1-1stamp=1378820737 It uses -fpic instead of -fPIC. Bastian -- I'm a soldier, not a diplomat. I can only tell the truth. -- Kirk, Errand of Mercy, stardate 3198.9 -- To UNSUBSCRIBE, email to debian-s390-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131006161141.ga26...@mail.waldi.eu.org