Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2008 11:55:34 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Anton Shterenlikht" <mexas@bristol.ac.uk>
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
Message-ID:  <op.uhorywr99aq2h7@mezz.mezzweb.com>
In-Reply-To: <20080917102857.GA86562@mech-cluster238.men.bris.ac.uk>
References:  <20080917102857.GA86562@mech-cluster238.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Sep 2008 05:28:57 -0500, Anton Shterenlikht  
<mexas@bristol.ac.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.uhorywr99aq2h7>