port x11-toolkits/py-gtk2 on alpha fails with gcc-3.4 but builds
with gcc-4.2
Jeremy Messenger
mezz7 at cox.net
Thu Sep 18 16:55:41 UTC 2008
On Wed, 17 Sep 2008 05:28:57 -0500, Anton Shterenlikht
<mexas at 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 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list