From owner-freebsd-current Thu Jul 5 11: 4:54 2001 Delivered-To: freebsd-current@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id BC2BC37B401; Thu, 5 Jul 2001 11:04:46 -0700 (PDT) (envelope-from max@vega.com) Received: from Mail-In.Net (borey.f2f.com.ua [62.149.0.24]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f65I7MC97155; Thu, 5 Jul 2001 21:07:23 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com ([212.35.189.196]) by Mail-In.Net (8.11.3/8.H.Z) with ESMTP id f65I5eD53622; Thu, 5 Jul 2001 21:05:41 +0300 (EEST) Received: (from max@localhost) by vega.vega.com (8.11.4/8.11.3) id f65I02944689; Thu, 5 Jul 2001 21:00:02 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200107051800.f65I02944689@vega.vega.com> Subject: Another GNU ld(1) bug To: obrien@FreeBSD.org Date: Thu, 5 Jul 2001 21:00:02 +0300 (EEST) Cc: current@FreeBSD.org X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=DISPLAY Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It turns that ld(1) in -current has another nasty bug. I noticed it when was doing an upgrade for the games/bomberinstinct port. Something is wrong with registering dependencies on shared libraries - following trace shows the problem (notice bogus crtn.o entry): cc -pipe -O -mpreferred-stack-boundary=2 -march=k6 -I/usr/local/include -I/usr/l ocal/include/SDL11 -D_REENTRANT -DDIR=\"/usr/local/share/BomberInstinct\" -L/usr /local/lib -o bi main.o sprites.o niveaux.o pouvoirs.o evenements.o options.o so n.o intro.o SFont.o gamelogic.o -lSDL_mixer -lm -lSDL_mixer -L/usr/local/lib -Wl ,-rpath,/usr/local/lib -lSDL-1.1 -lc_r -lm -L/usr/local/lib -lesd -laudiofile -l m -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lvga -laa gmake[1]: Выход из каталог `/tmp/mnt/bomberinstinct/work/BomberInstinct-0.8.7/sr c' gmake[1]: Вход в каталог `/tmp/mnt/bomberinstinct/work/BomberInstinct-0.8.7' gmake[1]: Цель `all-am' не требует выполнения команд. gmake[1]: Выход из каталог `/tmp/mnt/bomberinstinct/work/BomberInstinct-0.8.7' root@big_brother# ld --version GNU ld 2.11.2 [FreeBSD] Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Supported emulations: elf_i386 root@big_brother# ldd /tmp/mnt/bomberinstinct/work/BomberInstinct-0.8.7/src/bi /tmp/mnt/bomberinstinct/work/BomberInstinct-0.8.7/src/bi: libSDL_mixer.so.2 => /usr/local/lib/libSDL_mixer.so.2 (0x28074000) libm.so.2 => /usr/lib/libm.so.2 (0x280ab000) libSDL-1.1.so.3 => /usr/local/lib/libSDL-1.1.so.3 (0x280c6000) libc_r.so.5 => /usr/lib/libc_r.so.5 (0x2810f000) libesd.so.2 => /usr/local/lib/libesd.so.2 (0x2812d000) libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x28135000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28153000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x281ef000) libvga.so.1 => /usr/local/lib/libvga.so.1 (0x281fb000) libaa.so.1 => /usr/local/lib/libaa.so.1 (0x28263000) libc.so.5 => /usr/lib/libc.so.5 (0x2827a000) crtn.o (0x0) libvorbisfile.so.0 => /usr/local/lib/libvorbisfile.so.0 (0x28328000) libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0x2832d000) libsmpeg.so.1 => /usr/local/lib/libsmpeg.so.1 (0x28342000) libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x283a1000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x283a3000) libogg.so.1 => /usr/local/lib/libogg.so.1 (0x283e4000) When I replaced /usr/libexec/elf/ld with one from the my 4-STABLE system and recompiled application the problem disappeared. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message