From owner-freebsd-current@FreeBSD.ORG Mon Jun 15 20:28:12 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C39D85C7 for ; Mon, 15 Jun 2015 20:28:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80F4BE41 for ; Mon, 15 Jun 2015 20:28:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a02.um.gwdg.de ([134.76.11.222] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1Z4az6-00087S-Iy; Mon, 15 Jun 2015 22:27:56 +0200 Received: from krabat.raven.hur (93.230.161.205) by email.gwdg.de (134.76.9.211) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 15 Jun 2015 22:27:56 +0200 Message-ID: <557F3546.4060305@gwdg.de> Date: Mon, 15 Jun 2015 22:27:50 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Wolfskill , "Simon J. Gerraty" , "current@freebsd.org" CC: Garrett Cooper Subject: Re: Error building x11/nvidia-driver kernel module @r284408 References: <20150615133412.GJ1114@albert.catwhisker.org> <9129CADF-2E5D-49EC-B9B2-3242B3B2017F@gmail.com> <5810.1434393227@chaos> <20150615200719.GN1114@albert.catwhisker.org> In-Reply-To: <20150615200719.GN1114@albert.catwhisker.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 20:28:13 -0000 Am 15.06.2015 um 22:07 schrieb David Wolfskill: > On Mon, Jun 15, 2015 at 11:33:47AM -0700, Simon J. Gerraty wrote: >> Garrett Cooper wrote: >>>> Now that "vanilla" head @284408 builds (& boots): >> >> >> I fixed this the other day - just realized I haven't committed it. >> >>>> make[6]: don't know how to make /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src/machine. Stop >>>> > > OK; following up: I see Simon committed r284420; after hand-appling that > (1-line fix); I performed: > > make -DNOCLEAN -j16 buildkernel > make installkernel > ... [mergemaster &c...] > make installworld > ... > make delete-old > > for each of head/amd64 & head/i386 on my laptop; since /etc/src.conf is: > > KERNCONF=CANARY > PORTS_MODULES=x11/nvidia-driver > PORTS_MODULES+=multimedia/cuse4bsd-kmod > PORTS_MODULES+=emulators/virtualbox-ose-kmod > WITHOUT_DEBUG_FILES=1 > IWN_DEBUG=1 > IEEE80211_DEBUG=1 > > the above process also built kernel modules for x11/nvidia-driver, > multimedia/cuse4bsd-kmod, and emulators/virtualbox-ose-kmod. > > Each was successful: > > FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #95 r284408M/284408:1100077: Mon Jun 15 06:09:41 PDT 2015 root@g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY amd64 > > FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #30 r284408M/284408:1100077: Mon Jun 15 07:25:43 PDT 2015 root@g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i386 > > Peace, > david > I just tried r284421 and get another error. My '/etc/src.conf' includes 'WITH_LLDB=1': [..snip..] --- usr.bin.all__D --- --- all_subdir_clang --- --- all_subdir_lldb --- c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [lldb] Error code 1 make[5]: stopped in /usr/src/usr.bin/clang/lldb .CURDIR='/usr/src/usr.bin/clang/lldb' .MAKE='make' .OBJDIR='/usr/obj/usr/src/usr.bin/clang/lldb' .TARGETS='all' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='/usr/local/grass/lib' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='' MAKE_VERSION='20150606' SRCTOP='/usr/src' OBJTOP='' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk /usr/src/usr.bin/clang/lldb/Makefile /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/usr.bin/clang/clang.prog.mk /usr/src/lib/clang/clang.build.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk /usr/obj/usr/src/usr.bin/clang/lldb/.depend' .PATH='. /usr/src/usr.bin/clang/lldb /usr/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver' 1 error make[5]: stopped in /usr/src/usr.bin/clang/lldb .CURDIR='/usr/src/usr.bin/clang/lldb' .MAKE='make' .OBJDIR='/usr/obj/usr/src/usr.bin/clang/lldb' .TARGETS='all' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='/usr/local/grass/lib' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='' MAKE_VERSION='20150606' SRCTOP='/usr/src' OBJTOP='' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk /usr/src/usr.bin/clang/lldb/Makefile /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/usr.bin/clang/clang.prog.mk /usr/src/lib/clang/clang.build.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.sys.mk /usr/obj/usr/src/usr.bin/clang/lldb/.depend' .PATH='. /usr/src/usr.bin/clang/lldb /usr/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver' *** [all_subdir_lldb] Error code 2 make[4]: stopped in /usr/src/usr.bin/clang .CURDIR='/usr/src/usr.bin/clang' .MAKE='make' .OBJDIR='/usr/obj/usr/src/usr.bin/clang' .TARGETS='all' DESTDIR='/usr/obj/usr/src/tmp' LD_LIBRARY_PATH='/usr/local/grass/lib' MACHINE='amd64' MACHINE_ARCH='amd64' MAKEOBJDIRPREFIX='/usr/obj' MAKESYSPATH='' MAKE_VERSION='20150606' SRCTOP='/usr/src' OBJTOP='' .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk /usr/src/usr.bin/clang/Makefile /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.subdir.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk /usr/src/usr.bin/clang/../Makefile.inc' .PATH='. /usr/src/usr.bin/clang' [..snip..]