Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 07:42:54 +0000
From:      John <freebsd-lists@potato.growveg.org>
To:        freebsd-current@freebsd.org
Subject:   make buildworld fails for 10-stable
Message-ID:  <20131125074253.GA13828@potato.growveg.org>

next in thread | raw e-mail | index | archive | help
Hello currents,

On FreeBSD 10.0-BETA1 #0 r256628 I do the following:

root@dev-0:/usr/src # cd ..
root@dev-0:/usr # rm -rf obj
root@dev-0:/usr # mkdir obj
root@dev-0:/usr # svnlite co https://svn0.eu.FreeBSD.org/base/stable/10
/usr/src
UU   src/Makefile.inc1
Checked out revision 258536.

root@dev-0:/usr # cd src
root@dev-0:/usr/src # make clean && make clean && make buildworld

[lots of output]

The build fails with:

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
WORLDTMP=/usr/obj/usr/src/tmp  VERSION="FreeBSD 10.0-BETA3 amd64
1000502"  MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk"
COMPILER_TYPE=clang make  -f Makefile.inc1  TARGET=amd64
TARGET_ARCH=amd64  DESTDIR=  BOOTSTRAPPING=1000500  SSP_CFLAGS=
-DNO_LINT  -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF -DEARLY_BUILD build-tools
===> bin/csh (obj,build-tools)
grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
'^#define' >> sh.err.h
clang -E -O2 -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-std=gnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/tc.const.c
/usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h
/usr/src/bin/csh/../../contrib/tcsh/config_f.h
/usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const |
grep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char
\1[];/' |  sort >> tc.const.h
clang -o gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -pipe -I.
-I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh
-D_PATH_TCSHELL='"/bin/csh"' -std=gnu99
-I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

Stop.
make[3]: stopped in /usr/src/bin/csh
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
root@dev-0:/usr/src # 

Can anyone help please?

thanks,
-- 
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131125074253.GA13828>