-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Disabling drivers/nvdimm (seen only on x86_64 architecture) solved the problem.
On Mon, 2016-09-05 at 18:55 +0530, Ritesh Raj Sarraf wrote: > Hi, > > I'm working on refreshing UML to version 4.7 in Debian. > > The linux source tarball we use is from Debian, which is mostly the stock > kernel. > > The build failure I've run into is: > > CC [M] lib/ts_fsm.o > CC [M] lib/lru_cache.o > CC [M] lib/cordic.o > CC [M] lib/asn1_decoder.o > GEN lib/oid_registry_data.c > CC [M] lib/oid_registry.o > LD virt/lib/built-in.o > LD virt/built-in.o > LINK vmlinux > LD vmlinux.o > MODPOST vmlinux.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > LD init/built-in.o > KSYM .tmp_kallsyms1.o > KSYM .tmp_kallsyms2.o > LD vmlinux > SYSMAP System.map > LINK linux > Building modules, stage 2. > MODPOST 906 modules > ERROR: "devm_memunmap" [drivers/nvdimm/libnvdimm.ko] undefined! > ERROR: "devm_memremap" [drivers/nvdimm/libnvdimm.ko] undefined! > scripts/Makefile.modpost:91: recipe for target '__modpost' failed > make[2]: *** [__modpost] Error 1 > Makefile:1186: recipe for target 'modules' failed > make[1]: *** [modules] Error 2 > make[1]: Leaving directory '/build/user-mode-linux-4.7-1um/linux-source-4.7' > debian/rules:73: recipe for target 'build-stamp' failed > make: *** [build-stamp] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > I: copying local configuration > W: No local /etc/resolv.conf to copy, relying on /var/tmp/Debian- > Build/Build//9419/etc/resolv.conf to be correct > E: Failed autobuilding of package > W: no hooks of type C found -- ignoring > I: unmounting /var/tmp/lxc/ccache/ccache filesystem > I: unmounting /var/cache/apt/archives/ filesystem > I: unmounting dev/pts filesystem > I: unmounting run/shm filesystem > I: unmounting proc filesystem > I: unmounting sys filesystem > I: cleaning the build env > I: removing directory /var/tmp/Debian-Build/Build//9419 and its subdirectories > > > The same .config builds fine for 4.6. Have others been able to build a 4.7 um > kernel ? > > - -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXzYpIAAoJEKY6WKPy4XVpSQYQAKFD4ltRSAEcv8nOOqqXi8vm W6QFp4f7QD6xehJ84yOJvOaeYG75l0/K16DaQwfDiOQT1sE4FSDVZ6SJGbvNhKKk dmRUFzuMAli/LNJamVAfSnHsmPi33UfAPcOB28r/7cKwH1jEHBoBgP7C55VvVIrw /r3dAJJirD447dj6fkN6qNTlBhuuNIYfq68AGBSmK33eNUMoIgOtcyoq0D2Gkvzr VcDj2zs36jz3gbSXLdJWxctz4Li5TOsw/EW21r6+tbdogf7dZ1okvm7+dwDWQWrC U/qb4M43ClYuL1QU4NjngyK9suPdaNBjlMTA63TnucVi0uUxrJlza9NErbRqY33+ 4YDMZSEZf9WOTfNMdK3pAT2hyrEtzWP+suCg2u5IKUZu/6fea7sOK7thyCFMDBPV gOiBFOGpKaFikDVF8b7fheQsSvesi2j38STYvBV4RBCzKuNsRdAHZBQH2sYdxi/0 PfmxSwy8jTschwaaz3NWYWgJUeH20QYSUZFgqrhNBsITud+CXKJDCpHQy8epbls3 aJAfUdZqBeQmw7tJAdUkgKmGgy/B8uF3Jo8s1Cg19QvbGVFyCbIK2SOVaD4w5VFR rnYlfCxPFzrWqcfHriTRmvVRdFGa4x3Nfor4DocDNlrcpnO7S0j8a5dfVcflZNgc YGwATQp2ZPTuogWJfCWO =acar -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel