Hello Okajima-san,

Until aufs4.10, the kernel compilation on arm architecture was
successful as well as x86 architecture, and the aufs worked with no
problem.

However, aufs4.11.7+ fails to compile the kernel on arm architecture.

Note, the kernel compilation with aufs4.11.7+ on x86 architecture
works with no problem.

Step to reproduce the problem:

$ wget -q https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.11.12.tar.xz
$ tar xpJf linux-4.11.12.tar.xz
$ git clone https://github.com/sfjro/aufs4-standalone.git
$ ( cd aufs4-standalone ; git checkout origin/aufs4.11.7+ ; git reset --hard 
71715aa )
$ cd linux-4.11.12
$ patch -Np1 -i ../aufs4-standalone/aufs4-kbuild.patch
$ patch -Np1 -i ../aufs4-standalone/aufs4-base.patch
$ patch -Np1 -i ../aufs4-standalone/aufs4-mmap.patch
$ patch -Np1 -i ../aufs4-standalone/aufs4-standalone.patch
$ cp -av ../aufs4-standalone/Documentation .
$ cp -av ../aufs4-standalone/fs .
$ cp -pv ../aufs4-standalone/include/uapi/linux/aufs_type.h include/uapi/linux
$ make defconfig
$ make menuconfig (CONFIG_AUFS_FS=m)
$ make
(snip)
  LD      fs/aufs/built-in.o
  CC [M]  fs/aufs/module.o
In file included from fs/aufs/aufs.h:44:0,
                 from fs/aufs/module.c:24:
fs/aufs/file.h: In function 'au_do_vm_file_reset':
fs/aufs/file.h:286:9: error: dereferencing pointer to incomplete type
  f = vma->vm_file;
         ^
fs/aufs/file.h:288:5: error: dereferencing pointer to incomplete type
  vma->vm_file = file;
     ^
fs/aufs/file.h: In function 'au_vm_prfile_set':
fs/aufs/file.h:322:5: error: dereferencing pointer to incomplete type
  vma->vm_prfile = file;
     ^
scripts/Makefile.build:294: recipe for target 'fs/aufs/module.o' failed
make[2]: *** [fs/aufs/module.o] Error 1
scripts/Makefile.build:553: recipe for target 'fs/aufs' failed
make[1]: *** [fs/aufs] Error 2
Makefile:1002: recipe for target 'fs' failed
make: *** [fs] Error 2

Thanks in advance.

Regards,
TAMUKI Shoichi

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Reply via email to