Subject: Re: GCC bugs
To: Mark Brinicombe <mark@causality.com>
From: Angelo Melis <angelo@kitt.nl>
List: port-arm32
Date: 12/13/1999 09:24:18
Hello,
The last few weeks I am busy upgrading and installing some packages on NetBSD
1.4.1 and it works great. Atleast allmost ... when trying to compile
gnome-lib-1.0.53 I get problems. I am compiling the libraries and at a
certain point it gives this error ...
*******************
/usr/pkg/bin/pkglibtool-a.out-1.2p2 --mode=link cc -O2 -Wall -Wunused
-L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libzvt.la -rpath /usr/X11R6/lib
-version-info 4:6:2 -rpath /usr/X11R6/lib gnome-login-support.lo lists.lo
subshell.lo update.lo vt.lo zvtterm.lo -lz -lm pkglibtool-a.out-1.2p2:
link: warning: ignoring multiple `-rpath's for a libtool library rm -f
.libs/libzvt.la .libs/libzvt.* .libs/libzvt.* /usr/bin/ld -Bshareable -o
.libs/libzvt.so.4.6 gnome-login-support.lo lists.lo subshell.lo update.lo
vt.lo zvtterm.lo ar cru .libs/libzvt.a gnome-login-support.o lists.o
subshell.o update.o vt.o zvtterm.o ranlib .libs/libzvt.a creating libzvt.la
(cd .libs && ln -s ../libzvt.la libzvt.la)
/usr/pkg/bin/pkglibtool-a.out-1.2p2 --mode=link cc -O2 -Wall -Wunused
-L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o zterm zterm.o libzvt.la
-lutil -lSM -lICE -L/usr/X11R6/lib
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib
-lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -lintl -lXext
-lX11 -lm -L/usr/X11R6/lib -lgdk_imlib -ljpeg
-ltiff -lungif -lpng -lz -lm -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib
-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -lintl -lXext -lX11 -lm
../support/libgnomesupport.la -lintl -lz -lm cc -O2 -Wall -Wunused
-L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o .libs/zterm zterm.o -R/usr/X11R6/lib
-L.libs -lzvt -L/usr/pkg/lib -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/pkg/lib
-L/usr/X11R6/lib -L/usr/pkg/lib -lz -lm -lutil -lSM -lICE -L/usr/X11R6/lib
-Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib
-lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -lintl -lXext
-lX11 -lm -L/usr/X11R6/lib -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lm
-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-L/usr/X11R6/lib -lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule
-lglib -lintl -lXext -lX11 -lm -R/usr/X11R6/lib -L../support/.libs
-lgnomesupport -L/usr/pkg/lib -L/usr/X11R6/lib -L/usr/pkg/lib -L/usr/pkg/lib
-L/usr/X11R6/lib -L/usr/pkg/lib -lz -lm -lintl -lz -lm zterm.o: Undefined
symbol `_zvt_term_match_check' referenced from text segment zterm.o:
Undefined symbol `_zvt_term_match_add' referenced from text segment zterm.o:
Undefined symbol `_zvt_term_match_add' referenced from text segment zterm.o:
Undefined symbol `_zvt_term_match_add' referenced from text segment collect2:
ld returned 1 exit status *** Error code 1
Stop.
************************
zvt_term_match_add is defined in the zvt library, but it doesn't work. It is
because of the bugs in GCC 2.91.66 ? If so, can I just download GCC 2.95.2
and compile it for NetBSD ? If not ... what is going wrong ?
On Sun 12 Dec, Mark Brinicombe wrote:
> Hi folks,
> This is just a heads up for folks using GCC from the NetBSD tree.
> The NetBSD version is 2.91.66 and this does have some bugs on ARM
> platforms. Most stuff compiles ok but one or two things don't e.g. libX11.
> GCC 2.95.2 fixes this problem but has not yet be merged into the Netbsd
> tree.
>
> Cheers,
> Mark
>
>
>
>
Thanks for any help ...
Bye,
Angelo
--
Angelo Melis
Software Engineer / AcornICQ author
email: angelo@kitt.nl
quote of the day: When people are least sure, they are often most dogmatic.
J K Galbraith