Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2015 21:33:20 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Freebsd current <freebsd-current@freebsd.org>, owner-freebsd-current@freebsd.org
Subject:   Re: Kernel Link issue
Message-ID:  <20150708213320.2d50c910.ohartman@zedat.fu-berlin.de>
In-Reply-To: <5b090863bf4fb09936a056fe64b8d8a9@thebighonker.lerctr.org>
References:  <c836abe2e976bbf5694c7ef57dbee934@thebighonker.lerctr.org> <20150705111428.20e2bc5e.ohartman@zedat.fu-berlin.de> <354ea269dfbda15450736c89ba5b56ad@thebighonker.lerctr.org> <20150706231256.62d155e0.ohartman@zedat.fu-berlin.de> <5b090863bf4fb09936a056fe64b8d8a9@thebighonker.lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/=s5LxVyxqS=z.Nt43R8.YWQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Mon, 06 Jul 2015 16:17:23 -0500
Larry Rosenman <ler@lerctr.org> schrieb:

> On 2015-07-06 16:12, O. Hartmann wrote:
> > Am Sun, 05 Jul 2015 09:42:16 -0500
> > Larry Rosenman <ler@lerctr.org> schrieb:
> >=20
> >> On 2015-07-05 04:14, O. Hartmann wrote:
> >> > Am Sat, 04 Jul 2015 18:56:31 -0500
> >> > Larry Rosenman <ler@lerctr.org> schrieb:
> >> >
> >> >> --- kernel.debug ---
> >> >> linking kernel.debug
> >>=20
> >> >
> >> > 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
> >>=20
> >> This also happens if you have options ZFS.
> >>=20
> >> I saw some complaints from make about the linker files:
> >> cd /usr/obj/usr/src/sys/VT-LER; MAKEOBJDIRPREFIX=3D/usr/obj
> >> MACHINE_ARCH=3Damd64  MACHINE=3Damd64  CPUTYPE=3D
> >> GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/u
> >> sr/bin =20
> >> GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
> >>   GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac
> >> _LDSCRIPTROOT
> >> =3D  VERSION=3D"FreeBSD 11.0-CURRENT amd64 1100077"  INSTALL=3D"sh
> >> /usr/src/tools/install.sh"
> >> PATH=3D/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/t=
mp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
> >> CC=3D"cc
> >>   " CXX=3D"c++  "  DEPFLAGS=3D""  CPP=3D"cpp "  AS=3D"as" AR=3D"ar" LD=
=3D"ld"=20
> >> NM=3Dnm
> >> OBJDUMP=3Dobjdump OBJCOPY=3D"objcopy"  RANLIB=3Dranlib STRINGS=3D  SIZ=
E=3D"size"
> >> make
> >>    -j 20 -J 15,16 -m /usr/src/share/mk  KERNEL=3Dkernel 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
> >>=20
> >>=20
> >=20
> > I need to correct: it only happens when options ZFS is in the kernel!
> > My first (false)
> > statement was wrong and is obsolete.
> >=20
> > The problem still persists in r 285220.
> >=20
> > O. Hartmann
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201356
>=20
> has a patch that fixes is.

I guess the patch hasn't been submitted yet since buildkernel still fails. =
It is annoying
for nanoBSD builds where ZFS is builtin due to non-module environments we m=
aintain. Is
there any chance getting the patch in line within the next couple of days?

--Sig_/=s5LxVyxqS=z.Nt43R8.YWQ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVnXsBAAoJEOgBcD7A/5N8wkwH/i5aMHqaXWCVoOb0M4rAbneD
MQXxSMiYzu6CvwUJ7A51idkC3sIcQs688aQU9oMKv2alHDbJkJdiI3dVBY9UqZ8o
zY1D30r/jA4mRC0cxeK0raUgAWTNhul/m0zPFclFoEU6dbr7fjtKUXcfdsg5e9a6
fyv8o4qu7eKQ7RmZ/d1LYSt4BALCIb+vSv0A/bMB0D6yEIo5o7TX1o6wkTi1HrQZ
8O4/5ZyB9ZUACuX/e3PURcXedM6LiLBc6pwcoNS1xotrQcwL3rweIDXasDwZOtFd
YjUetaJCJnyBwvhkV8E4G/1TPjRRYrZ+srPvE4VQkWGSgdjK3irh0Ieffxe7Lh8=
=BI3a
-----END PGP SIGNATURE-----

--Sig_/=s5LxVyxqS=z.Nt43R8.YWQ--



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