All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] UML build failure on 4.7
@ 2016-09-05 13:25 Ritesh Raj Sarraf
  2016-09-05 15:07 ` Ritesh Raj Sarraf
  0 siblings, 1 reply; 2+ messages in thread
From: Ritesh Raj Sarraf @ 2016-09-05 13:25 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Mattia Dongili

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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-----

iQIcBAEBCgAGBQJXzXJeAAoJEKY6WKPy4XVpi48P/2kATgnJeKlpU7NqbU5tn6UT
NfWnOz8JwSoAeSZZPFyfvSSSj82YNw+e/nO7T+GEzNl6o2KPmqA+g548JsKYajLN
pg43vDcz+TVUf7Yz+HHuzRpAjgKa1+iTPC6hDj98WFrkOC3NhiBZgKqUqEQ32EVE
i4ZlqM7z2G1xBOa4fIqLVxMY6ub64bUlzs98XTCjELRNmbJN0nf4zZ4IV4jOncu9
jyXacpxz/053Rx5ceZaGHiFls97uKaMPJmfUbU8/Sp5EzGmaVrXa32QUAlW8Htji
/PUzX/BU6O+PwrFalEj8Md8E4MfOtOWcXe0nctl1FAmaTfs/h17u6Zlk9Dm4kyZL
jI+OpmJsnaP9Vyyb906yZ65WNwDqoUwrSv3H0Gw4U9OAw/s2O1nY5PBMv7HRt2W4
ubkBIMv8lOhlBl9Zt2/9tgxFNIT+0UWfhKb6cFn/Lhg5W41nE954tbwSCZx858tN
rd7tZfU8URuOakaH4gP1ykYqlMdRuwf5b40D7op8qpkyGaJAazrw4KWFfIbzOQLY
WvGvrLgg9h5pQ2vOA9oQplczeyS7gxZtTvEqEesejXHMNpvigVsywUDSaRE6hnRF
JFbwNEnwszRgx2LJLS9aDvr1zWKVbWAQVbHhaVhj2v3HxR/i/JOJEymOJUSWM/ax
fVq1s9JeDQlQIHCn0PRb
=it3E
-----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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [uml-devel] UML build failure on 4.7
  2016-09-05 13:25 [uml-devel] UML build failure on 4.7 Ritesh Raj Sarraf
@ 2016-09-05 15:07 ` Ritesh Raj Sarraf
  0 siblings, 0 replies; 2+ messages in thread
From: Ritesh Raj Sarraf @ 2016-09-05 15:07 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Mattia Dongili

-----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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-05 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 13:25 [uml-devel] UML build failure on 4.7 Ritesh Raj Sarraf
2016-09-05 15:07 ` Ritesh Raj Sarraf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.