From owner-freebsd-stable Tue Aug 28 10:19:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zen.estpak.ee (zen.estpak.ee [194.126.101.100]) by hub.freebsd.org (Postfix) with ESMTP id 9508337B401 for ; Tue, 28 Aug 2001 10:19:12 -0700 (PDT) (envelope-from mauri@inspiral.net) Received: from inspiral.net (adsl8014.estpak.ee [213.219.79.4]) by zen.estpak.ee (Postfix) with ESMTP id 0F99939B066 for ; Tue, 28 Aug 2001 19:19:10 +0200 (EET) Message-ID: <3B8BC406.2F547BD7@inspiral.net> Date: Tue, 28 Aug 2001 19:17:11 +0300 From: Lauri Laupmaa X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: /usr/src & /usr/obj as links - no go :( Content-Type: multipart/alternative; boundary="------------990979C33F156506F0BEFAC3" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --------------990979C33F156506F0BEFAC3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Found some buglike problem. I have linked src and obj dirs under /usr like: obj -> /d01/obj src -> /home/src Last time I used this was 4.1.1-STABLE, built world & kernel OK I know that todays source is also ok, because I built wotld & kernel on anouther machine without a hitch. Now this does not work anymore, with buildworld I get: cc -O -pipe -D_GNU_SOURCE -I- -I. -I/home/src/gnu/usr.bin/binutils/ld/i386 -I/home/src/gnu/usr.bin/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/home/src/i386/usr/libdata\" -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -I/home/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.2 20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\" -I/usr/obj/home/src/i386/usr/include -static -o ld eelf_i386.o ldcref.o ldctor.o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ldver.o ldwrite.o lexsup.o mri.o ../libbfd/libbfd.a ../libiberty/libiberty.a eelf_i386.o: In function `gldelf_i386_open_dynamic_archive': eelf_i386.o(.text+0xc7b): undefined reference to `basename' *** Error code 1 Stop in /home/src/gnu/usr.bin/binutils/ld. *** Error code 1 Stop in /home/src/gnu/usr.bin/binutils. *** Error code 1 Stop in /home/src. With buildkernel I get: In file included from /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:71: /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_compat.h:297: osreldate.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /home/src/sys/modules/ipfilter. *** Error code 1 Stop in /home/src/sys/modules. *** Error code 1 Stop in /d01/obj/home/src/sys/XWEB. *** Error code 1 Stop in /home/src. *** Error code 1 Stop in /home/src. I cvsupped today and I dont have enough space under /usr to build world there :( Is there a workaround ? Am I missing something obvious ? TIA -- L. --------------990979C33F156506F0BEFAC3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi

Found some buglike problem. I have linked src and obj dirs under /usr like:
obj -> /d01/obj
src -> /home/src

Last time I used this was 4.1.1-STABLE, built world & kernel OK
I know that todays source is also ok, because I built wotld & kernel on anouther machine without a hitch.

Now this does not work anymore, with buildworld I get:

cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/home/src/gnu/usr.bin/binutils/ld/i386 -I/home/src/gnu/usr.bin/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/home/src/i386/usr/libdata\" -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -I/home/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.2 20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\"   -I/usr/obj/home/src/i386/usr/include   -static -o ld eelf_i386.o ldcref.o ldctor.o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ldver.o ldwrite.o lexsup.o mri.o  ../libbfd/libbfd.a ../libiberty/libiberty.a
eelf_i386.o: In function `gldelf_i386_open_dynamic_archive':
eelf_i386.o(.text+0xc7b): undefined reference to `basename'
*** Error code 1

Stop in /home/src/gnu/usr.bin/binutils/ld.
*** Error code 1

Stop in /home/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /home/src.

With buildkernel I get:

In file included from /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:71:
/home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_compat.h:297: osreldate.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /home/src/sys/modules/ipfilter.
*** Error code 1

Stop in /home/src/sys/modules.
*** Error code 1

Stop in /d01/obj/home/src/sys/XWEB.
*** Error code 1

Stop in /home/src.
*** Error code 1

Stop in /home/src.

I cvsupped today and I dont have enough space under /usr to build world there :(
Is there a workaround ? Am I missing something obvious ?

TIA
--
L.
  --------------990979C33F156506F0BEFAC3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message