Re: Build failure of postgres-xc

2013-11-22 Thread Michael Meskes
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

2013-11-22 Thread Bastian Blank
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: Switch default GCC to 4.8 on s390x

2013-11-22 Thread Aurelien Jarno
On Mon, Nov 18, 2013 at 09:09:18AM +0100, Matthias Klose wrote:
 Am 12.11.2013 15:40, schrieb Aurelien Jarno:
  Hi all,
  
  The s390x architecture is still using GCC 4.6 as the default compiler, 
  while most other architectures have already switched to GCC 4.8. It starts
  to cause problem for building packages: some packages need C11 features to
  be compiled, while some others assume the default compiler is already GCC
  4.8 (in that case they are actually buggy). It would also help having the
  same default version of GCC than for GCJ, GDC or GFORTRAN.
  
  I therefore propose to switch the default compiler on s390x to GCC 4.8 by
  default. It is already used to build the kernel without any known issue.
  
  Any comments or opinion on that?
 
 Is this a commitment from Philipp, Bastian or your side to monitor for s390x
 specific toolchain issues, forward these upstream and feed these back into 
 Debian?
 

It is a commitment from my side, although s390x is well tested upstream
and there is therefore not a lot to do.

Note that I have just done the change in the SVN, it would be nice if
you can upload gcc-defaults.

Best regards,
Aurelien

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


signature.asc
Description: Digital signature