From owner-freebsd-current@freebsd.org Mon Jul 6 21:17:24 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF7DD995F06; Mon, 6 Jul 2015 21:17:24 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9663D19DC; Mon, 6 Jul 2015 21:17:24 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=xGU1x+ti7RehzDIm93XINq232VSUnnExeRQe7d8jkAg=; b=gcJgofIcPfN4hpU0IB8m3gHuNgOFMwhFMEEKjjgi6wGBg9u4yG3fhmeJNiJfmidUahXYymcaiPFQSBXA9o7KhGusWjDufQiclx9yqkLZwpts50ew24XNQYMF7resU/craRYLwsszcZxuuPim++lbq95e1ER9abBgggfAk3txOMY=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:10078 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZCDlT-00086k-E4; Mon, 06 Jul 2015 16:17:23 -0500 Received: from proxy.lucent.com ([135.245.49.13]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Mon, 06 Jul 2015 16:17:23 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 Jul 2015 16:17:23 -0500 From: Larry Rosenman To: "O. Hartmann" Cc: Freebsd current , owner-freebsd-current@freebsd.org Subject: Re: Kernel Link issue In-Reply-To: <20150706231256.62d155e0.ohartman@zedat.fu-berlin.de> References: <20150705111428.20e2bc5e.ohartman@zedat.fu-berlin.de> <354ea269dfbda15450736c89ba5b56ad@thebighonker.lerctr.org> <20150706231256.62d155e0.ohartman@zedat.fu-berlin.de> Message-ID: <5b090863bf4fb09936a056fe64b8d8a9@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.1 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 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, 06 Jul 2015 21:17:24 -0000 On 2015-07-06 16:12, O. Hartmann wrote: > Am Sun, 05 Jul 2015 09:42:16 -0500 > Larry Rosenman schrieb: > >> On 2015-07-05 04:14, O. Hartmann wrote: >> > Am Sat, 04 Jul 2015 18:56:31 -0500 >> > Larry Rosenman schrieb: >> > >> >> --- kernel.debug --- >> >> linking kernel.debug >> >> > >> > I see the same here on most recen source (r285155). >> > >> > The failure occurs when device nvme and device nvd are enabled in >> > kernel. On another >> > system, exact with the same source revision, without both optionis >> > enabled in the kernel >> > the world and kernel built well. >> > >> > Regards, >> > O. Hartmann >> >> This also happens if you have options ZFS. >> >> I saw some complaints from make about the linker files: >> cd /usr/obj/usr/src/sys/VT-LER; MAKEOBJDIRPREFIX=/usr/obj >> MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= >> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/u >> sr/bin >> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font >> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac >> _LDSCRIPTROOT >> = VERSION="FreeBSD 11.0-CURRENT amd64 1100077" 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/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin >> CC="cc >> " CXX="c++ " DEPFLAGS="" CPP="cpp " AS="as" AR="ar" LD="ld" >> NM=nm >> OBJDUMP=objdump OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" >> make >> -j 20 -J 15,16 -m /usr/src/share/mk KERNEL=kernel cleandir >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3797: warning: >> duplicate script for target "nvpair.ln" ignored >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1914: warning: >> using previous script for "nvpair.ln" defined here >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3800: warning: >> duplicate script for target "nvpair.o" ignored >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1918: warning: >> using previous script for "nvpair.o" defined here >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 3801: warning: >> duplicate script for target "nvpair.o" ignored >> make[2]: "/usr/obj/usr/src/sys/VT-LER/Makefile" line 1918: warning: >> using previous script for "nvpair.o" defined here >> >> > > I need to correct: it only happens when options ZFS is in the kernel! > My first (false) > statement was wrong and is obsolete. > > The problem still persists in r 285220. > > O. Hartmann https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201356 has a patch that fixes is. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688