Date: Sun, 4 Apr 1999 18:57:59 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: andreas@klemm.gtn.com Cc: current@freebsd.org Subject: Re: X problems using egcs as compiler Message-ID: <199904050157.SAA34046@vashon.polstra.com> In-Reply-To: <19990403193632.A55975@titan.klemm.gtn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <19990403193632.A55975@titan.klemm.gtn.com>, Andreas Klemm <andreas@klemm.gtn.com> wrote: > Got the latest egcs port > > # $Id: Makefile,v 1.53 1999/03/30 02:58:02 obrien Exp $ > > Build X11R6 with the following CFLAGS: > > -pipe -mpentiumpro -O2 > > I'm still running X11 and after ,make install' I'm unable > to launch x applications (xterm, ...) > > andreas@titan{1001} $ xterm > /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.6: Undefined symbol "__deregister_frame_info" There are two things going on here. First, I believe you must have built libXaw.so.6 using egcs, but you must have linked xterm using the normal system compiler. (Or else you or the Makefile used "ld" directly, which is always a bad idea.) If the executable is linked using egcs, then this error won't happen. Second, egcs actually contains a hack which attempts to make it work anyway, even if you linked the program using the old compiler. But there is a dynamic linker bug (which I just discovered) that prevents the hack from working. I am testing the fix for that now. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904050157.SAA34046>