Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2008 11:28:57 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        gnome@freebsd.org
Cc:        freebsd-alpha@freebsd.org
Subject:   port x11-toolkits/py-gtk2 on alpha fails with gcc-3.4 but builds with gcc-4.2
Message-ID:  <20080917102857.GA86562@mech-cluster238.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
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-pygt=
ktreemodel.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/li=
bgtk-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/libXi=
nerama.so /usr/local/lib/libXi.so /usr/local/lib/libXrandr.so /usr/local/li=
b/libXcursor.so /usr/local/lib/libXcomposite.so /usr/local/lib/libXdamage.s=
o /usr/local/lib/libcairo.so /usr/local/lib/libpangoft2-1.0.so /usr/local/l=
ib/libpango-1.0.so -lm /usr/local/lib/libfreetype.so -lz /usr/local/lib/lib=
fontconfig.so /usr/local/lib/libX11.so /usr/local/lib/libXfixes.so /usr/loc=
al/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/li=
bglib-2.0.so /usr/local/lib/libiconv.so /usr/local/lib/libintl.so  -mcpu=3D=
ev6 -mieee -pthread -pthread -Wl,-soname -Wl,_gtk.so -Wl,-retain-symbols-fi=
le -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 AtkEventListene=
rInit
Could not write function add_global_event_listener: No ArgType for GSignalE=
missionHook
Could not write function add_key_event_listener: No ArgType for AtkKeySnoop=
Func
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

--=20
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=20
Fax: +44 (0)117 929 4423



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