Date: Wed, 1 Jun 2016 18:39:30 -0700 From: Mark Millard <markmi@dsl-only.net> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: [CFT] WITH_META_MODE: Working incremental build [only on i386 and amd64] [filemon fails to load on powerpc64] Message-ID: <9A1A624D-9286-4C0F-A435-D590E07C1149@dsl-only.net> In-Reply-To: <7748cc71-3788-22ae-fcb2-699eae529310@FreeBSD.org> References: <FE82CBAD-ED55-41A3-9413-34948A9CBC0F@dsl-only.net> <7748cc71-3788-22ae-fcb2-699eae529310@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[A top-posted error report for powerpc64.] On 2016-Jun-1, at 8:20 AM, Bryan Drewery <bdreweryv at FreeBSD.org> = wrote: > I've just enabled the filemon(4) build on all architectures in = r301130. But on (built via powerpc64-gcc on the powerpc64 box): > # uname -apKU > FreeBSD FBSDG5C0 11.0-ALPHA1 FreeBSD 11.0-ALPHA1 #39 r301139M: Wed Jun = 1 17:37:17 PDT 2016 = root@FBSDG5C0:/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64v= tsc-NODEBUG powerpc powerpc64 1100116 1100116 while filemon.ko now exists: > # ls -l /boot/*/filemon* > -r-xr-xr-x 1 root wheel 32064 Jun 1 17:59 /boot/kernel/filemon.ko it does not load: > # kldload -n filemon > kldload: can't load filemon: No such file or directory > # dmesg | grep link_elf > link_elf: symbol elf64_freebsd_sysvec undefined So no WITH_META_MODE=3Dyes yet for powerpc64. I'm not sure when I get to trying the rpi2 (armv6). =3D=3D=3D Mark Millard markmi at dsl-only.net On 2016-Jun-1, at 8:20 AM, Bryan Drewery <bdreweryv at FreeBSD.org> = wrote: > On 5/29/2016 3:53 PM, Mark Millard wrote: >> Quoting the original note about WITH_META_MODE ( = https://lists.freebsd.org/pipermail/freebsd-current/2016-May/061481.html = ): >>=20 >>> You will also need to load the filemon(4) module with 'kldload = filemon'. >>=20 >> But head's sys/modules/Makefile says: >>=20 >>> .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) >>> SUBDIR=3D${MODULES_OVERRIDE} >>> .else >>> SUBDIR=3D \ >>=20 >> . . . >>> ${_filemon} \ >>=20 >> . . . >>> .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D = "amd64" >> . . . >>> _filemon=3D filemon >> . . . >>=20 >> as the only contexts that provide a filemon.ko to use with kldload. >>=20 >> Thus, for example, arm variants (32 bit and 64 bit) and powerpc = variants (32bit and 64 bit) do not have WITH_META_MODE as an option as = things are set up. >>=20 >> I had been hoping to cut down on the time for clang-related rebuilds = during native buildworld runs on my slower buildworld contexts = (armv7a/cortex-a7, powerpc, powerpc64). But it was not to be. >>=20 >> It appears that, once some arm variants are officially tier 1, = WITH_META_MODE will not span all tier 1 platforms. >>=20 >> [Since I tend to use non-tier-1 platforms I tend to notice some of = the statements about FreeBSD that are true of only tier 1 without being = explicit about it. But initially it takes some research to discover that = status for each such point. WITH_META_MODE is an example.] >>=20 >=20 > I've just enabled the filemon(4) build on all architectures in = r301130. >=20 > --=20 > Regards, > Bryan Drewery
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A1A624D-9286-4C0F-A435-D590E07C1149>