port x11-toolkits/py-gtk2 on alpha fails with gcc-3.4 but builds with gcc-4.2

Anton Shterenlikht mexas at bristol.ac.uk
Wed Sep 17 10:29:07 UTC 2008


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?


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

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-alpha mailing list