From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 17 23:38:53 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AABDF16A4CE for ; Thu, 17 Jun 2004 23:38:53 +0000 (GMT) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1095743D1F for ; Thu, 17 Jun 2004 23:38:53 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.12.11/8.12.11/NinthNine) with ESMTP id i5HNck7s034679; Fri, 18 Jun 2004 08:38:47 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 18 Jun 2004 08:38:46 +0900 From: Norikatsu Shigemura To: Adriaan de Groot Message-Id: <20040618083846.756260f2.nork@FreeBSD.org> In-Reply-To: <200406172010.56637.adridg@cs.kun.nl> References: <1087442023.22390.2.camel@server.mcneil.com> <20040617081112.GB79565@dragon.nuxi.com> <1087495591.10180.7.camel@server.mcneil.com> <200406172010.56637.adridg@cs.kun.nl> X-Mailer: Sylpheed version 0.9.9-gtk2-20040229 (GTK+ 2.4.3; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-amd64@FreeBSD.org Subject: Re: new binutils broken for amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 23:38:53 -0000 On Thu, 17 Jun 2004 20:10:56 +0200 Adriaan de Groot wrote: > On Thursday 17 June 2004 20:06, Sean McNeil wrote: > > I just did a new make buildworld installworld with /usr/obj empty. Same > > issue. Just doing a > > portupgrade -f glib-2.4.2 > > will fail with the new linker. Turns out there are two linkers in > > /usr/obj. The one at > This time I saw it too - linker from yesterday's buildworld caused building > XFree-clients to fail during a portupgrade with (paraphrased, since like a > total moron I forgot to save the error output): libexpat.so.5 not found. This > in spite of libexpat.so.5 being in /usr/local/lib and having -L/usr/local/lib > on the compile line. > Building ld again as described by Sean in his original message fixes the > problem. Ah, yes, I confirmed it. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - : cc -o xditview -O -fno-ident -pipe -ansi -Dasm=__asm -Wno-system-headers -Wall -Wpointer-arith -Wundef -L/tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib xditview.o Dvi.o draw.o font.o lex.o page.o parse.o XFontName.o DviChar.o `pkg-config xft --libs` -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/X11R6/lib -lm -Wl,-rpath,/usr/X11R6/lib /usr/bin/ld: warning: libexpat.so.5, needed by /usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or -rpath-link) /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetElementHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer' /usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber' *** Error code 1 Stop in /tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/programs/xditview. *** Error code 1 Stop in /tmp/work/usr/ports/x11/XFree86-4-clients/work/xc/programs. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-clients. $ ldd /usr/X11R6/lib/libfontconfig.so /usr/X11R6/lib/libfontconfig.so: libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x20094e000) libz.so.2 => /lib/libz.so.2 (0x200ad8000) libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x200be6000) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -