new binutils broken for amd64

Norikatsu Shigemura nork at FreeBSD.org
Thu Jun 17 23:38:53 GMT 2004


On Thu, 17 Jun 2004 20:10:56 +0200
Adriaan de Groot <adridg at cs.kun.nl> 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)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


More information about the freebsd-amd64 mailing list