Hello, thanks for looking at the ppc64 related bug.
On Thu, Jun 14, 2007 at 02:06:46PM +0200, Loïc Minier wrote: > > With the attached patch, which adds '-mminimal-toc' to CFLAGS > > for each call of 'configure', the packages can be compiled on ppc64. > > Is this still useful? I'd like to merge the patch if it is. Yes, a patch adding the -mminimal-toc flag to CFLAGS is still necessary on ppc64. I will attach an updated version of the patch which applies to the latest version in unstable (2.10.13-1). > > Is there a corresponding binutils bug open? Is this fixed in newer > binutils? I am not aware of any newer binutils version which would make it possible to build gtk+2.0 without the extra -mminimal-toc flag on ppc64. Regards Andreas Jochens diff -urN ../tmp-orig/gtk+2.0-2.10.13/debian/rules ./debian/rules --- ../tmp-orig/gtk+2.0-2.10.13/debian/rules 2007-06-14 16:58:48.000000000 +0000 +++ ./debian/rules 2007-06-14 15:28:42.000000000 +0000 @@ -27,6 +27,11 @@ # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_BUILD_GNU_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) + +ifeq ($(DEB_BUILD_GNU_CPU),powerpc64) + CFLAGS += -mminimal-toc +endif CFLAGS += -Wall -g -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]