Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 18:52:14 +0300
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Revision 250659 breaks down the build of the world
Message-ID:  <20130522185214.7528ede3@nonamehost.local>
In-Reply-To: <20130522143157.GA22925@lor.one-eyed-alien.net>
References:  <20130522110856.60f10889@nonamehost.local> <20130522143157.GA22925@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Wed, 22 May 2013 09:31:57 -0500
Brooks Davis <brooks@freebsd.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

> On Wed, May 22, 2013 at 11:08:56AM +0300, Ivan Klymenko wrote:
> > ?? Tue, 21 May 2013 12:00:54 -0500
> > Brooks Davis <brooks@freebsd.org> ??????????:
> >=20
> > > I belive this is now fixed in r250859.  Sorry about the breakage.
> > >=20
> > > -- Brooks
> > >=20
> > Unfortunately it did not fix the error when building the world.
> > I still watch an error like this:
> > --- /usr/bin/ld: this linker was not configured to use sysroots
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation) *** [libc.so.7] Error code 1
>=20
> Please provide your make command like as well as any variables set in
> make.conf and src.conf.
>=20
> -- Brooks

/etc/src.conf =3D NULL

/etc/make.conf
###WITHOUT_CLANG_IS_CC=3Dyes
WRKDIRPREFIX=3D/usr/ports_build
KERNCONF=3Dmk10
WITH_PKGNG=3Dyes
MALLOC_PRODUCTION=3Dyes
#CFLAGS+=3D-g

#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D#
#For ccache
.if !defined(NO_CCACHE)
CCACHE_CPP2=3D1
WITH_CCACHE_BUILD=3Dyes
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1}
CPUTYPE?=3Dcorei7-avx
CFLAGS+=3D-O3
CFLAGS+=3D-fcolor-diagnostics
.endif
.endif
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D#
# added by use.perl 2013-05-18 22:48:36
PERL_VERSION=3D5.14.2

make command
make buildkernel

...
/usr/local/libexec/ccache/world/clang --sysroot=3D/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing
-march=3Dcorei7-avx -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality  -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
-fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=3Dkernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fstack-protector -Werror  config.c ctfconvert -L
VERSION -g config.o /usr/local/libexec/ccache/world/clang
--sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2
-pipe -fno-strict-aliasing -march=3Dcorei7-avx -std=3Dc99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  env.c ctfconvert -L VERSION -g
env.o /usr/local/libexec/ccache/world/clang
--sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2
-pipe -fno-strict-aliasing -march=3Dcorei7-avx -std=3Dc99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  hints.c ctfconvert -L VERSION -g
hints.o /usr/local/libexec/ccache/world/clang
--sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2
-pipe -fno-strict-aliasing -march=3Dcorei7-avx -std=3Dc99 -g -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  vnode_if.c ctfconvert -L VERSION -g vnode_if.o :>
hack.c /usr/local/libexec/ccache/world/clang
--sysroot=3D/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -shared
-nostdlib hack.c -o hack.So /usr/bin/ld: this linker was not configured
to use sysroots clang: error: linker command failed with exit code 1
(use -v to see invocation) *** Error code 1

Stop.
make: stopped in /usr/obj/usr/src/sys/mk10
*** Error code 1

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

Stop.
make: stopped in /usr/src
root@nonamehost:/usr/src #=20



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