From owner-freebsd-alpha@FreeBSD.ORG Thu Sep 18 17:16:09 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B51151065670 for ; Thu, 18 Sep 2008 17:16:09 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmpop110.cox.net (eastrmpop110.cox.net [68.230.240.52]) by mx1.freebsd.org (Postfix) with ESMTP id 7269E8FC12 for ; Thu, 18 Sep 2008 17:16:09 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080918165540.GSQZ23768.eastrmmtao105.cox.net@eastrmimpo01.cox.net>; Thu, 18 Sep 2008 12:55:40 -0400 Received: from mezz.mezzweb.com ([68.103.35.214]) by eastrmimpo01.cox.net with bizsmtp id GGvf1a00D4dCcn002Gvffm; Thu, 18 Sep 2008 12:55:40 -0400 X-Authority-Analysis: v=1.0 c=1 a=1u0L5PBFbs4A:10 a=cOLcrOm-gxYA:10 a=aiIX5UjjAAAA:8 a=6I5d2MoRAAAA:8 a=SLVku7Dx4RQyZOXHVEEA:9 a=VfUS-UIG6yCggHDakq4A:7 a=EOkIrqmqcmHmRi11_6X9A3ewS48A:4 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Thu, 18 Sep 2008 11:55:34 -0500 To: "Anton Shterenlikht" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20080917102857.GA86562@mech-cluster238.men.bris.ac.uk> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080917102857.GA86562@mech-cluster238.men.bris.ac.uk> User-Agent: Opera Mail/9.52 (Linux) Cc: gnome@freebsd.org, freebsd-alpha@freebsd.org Subject: Re: port x11-toolkits/py-gtk2 on alpha fails with gcc-3.4 but builds with gcc-4.2 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 17:16:09 -0000 On Wed, 17 Sep 2008 05:28:57 -0500, Anton Shterenlikht wrote: > Just to let you know that the above port on FreeBSD 6.3-stable Alpha > fails with gcc-3.4.6, but builds fine with gcc-4.2. > > Perhaps the build of this port should require gcc-4.2? No, because it can be built on i386, amd64 and even sparc64. I personal don't support Alpha, but I do accept the patches. Cheers, Mezz > With 3.4.6 the error is: > > [skip] > cc -shared .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o > .libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o > .libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o > -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib > -L/usr/local/lib /usr/local/lib/libgtk-x11-2.0.so > /usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so > /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so > /usr/local/lib/libXext.so /usr/local/lib/libXrender.so > /usr/local/lib/libXinerama.so /usr/local/lib/libXi.so > /usr/local/lib/libXrandr.so /usr/local/lib/libXcursor.so > /usr/local/lib/libXcomposite.so /usr/local/lib/libXdamage.so > /usr/local/lib/libcairo.so /usr/local/lib/libpangoft2-1.0.so > /usr/local/lib/libpango-1.0.so -lm /usr/local/lib/libfreetype.so -lz > /usr/local/lib/libfontconfig.so /usr/local/lib/libX11.so > /usr/local/lib/libXfixes.so /usr/local/lib/libgobject-2.0.so > /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libglib-2.0.so > /usr/local/lib/libiconv.so /usr/local/lib/libintl.so -mcpu=ev6 -mieee > -pthread -pthread -Wl,-soname -Wl,_gtk.so -Wl,-retain-symbols-file > -Wl,.libs/_gtk.exp -o .libs/_gtk.so > /usr/bin/ld: .libs/_gtk_la-gtk.o: .got subsegment exceeds 64K (size > 81952) > /usr/bin/ld: failed to set dynamic section sizes: File format not > recognized > gmake[2]: *** [_gtk.la] Error 1 > > Also, there are tons of warnings similar to these, with either compiler,: > > Could not write function add_focus_tracker: No ArgType for > AtkEventListener > Could not write function focus_tracker_init: No ArgType for > AtkEventListenerInit > Could not write function add_global_event_listener: No ArgType for > GSignalEmissionHook > Could not write function add_key_event_listener: No ArgType for > AtkKeySnoopFunc > Warning: Constructor for AtkNoOpObject needs to be updated to new API > See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors > Warning: Constructor for AtkRelation needs to be updated to new API > See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors > > Reading these pages wasn't helpful. > > thanks > anton -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org