Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2017 09:21:52 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Andriy Gapon <avg@freebsd.org>, Ngie Cooper <yaneurabeya@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: zfs.ko no longer loads after r320156: unresolved symbol: abd_is_linear
Message-ID:  <79082534.uzyizLL08l@ralph.baldwin.cx>
In-Reply-To: <d948a8c3-7bdb-e4cf-40e0-5e148b58554a@FreeBSD.org>
References:  <780A67EE-C3F1-46E5-A213-E253B710338E@gmail.com> <d948a8c3-7bdb-e4cf-40e0-5e148b58554a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 01, 2017 09:47:41 AM Andriy Gapon wrote:
> On 01/08/2017 02:31, Ngie Cooper wrote:
> > Hi,
> > =09I tried upgrading my host from 11.1-STABLE to 12.0-CURRENT, and =
it didn=E2=80=99t work because abd_is_linear is an undefined symbol (it=
 exists in sys/conf/files, but not sys/modules/zfs/Makefile). I tried a=
dding abd.c to sys/modules/zfs/Makefile and it didn=E2=80=99t immediate=
ly fix my compilation problem (ran into a linker error instead).
> > =09If it isn=E2=80=99t fixed in the next few hours I=E2=80=99ll try=
 my hand at fixing the problem.
>=20
> I am not sure what exact problem you have...
> abd.c should be added to the list of source files via
> .include "${SUNW}/uts/common/Makefile.files"
>=20
> Perhaps something to do with "inline"...

Oh, yes.  If you use -fno-inline-funcs or the like.  I forgot to
send this to Andriy earlier, but here is the fix I'm using:

https://github.com/freebsd/freebsd/commit/574dc95cf8272e16f6d44aff6cb4e=
08dede08886

--=20
John Baldwin



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