Build issue with 4.4.59 under arm8 rtd1296

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I was able to use the linux-media backports successfully against
Synology kernels for multiple archs to create automated installation
packages.

Project PR available here:
https://github.com/SynoCommunity/spksrc/pull/4144

Packages available here:
https://github.com/th0ma7/synology/tree/master/packages/linuxtv

One of the last remaining bug I have is under armv8 arch for rtd1296 &
armada37xx facing the exact same issue (full logs attached).

Help on solving this would be much appreciated.  Thnx in advance.

- vin

Error log output:
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-common.c:
At top level:
cc1: warning: unrecognized command line option "-Wno-format-truncation"
  CC [M]  /home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.o
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:785:15:
warning: 'struct v4l2_event32' declared inside parameter list
        struct v4l2_event32 __user *p32)
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:785:15:
warning: its scope is only this definition or declaration, which is
probably not what you want
In file included from include/net/checksum.h:25:0,
                 from include/linux/skbuff.h:31,
                 from include/linux/if_ether.h:23,
                 from
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/compat.h:1721,
                 from <command-line>:0:
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:
In function 'put_v4l2_event32':
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:787:30:
error: dereferencing pointer to incomplete type
  if (put_user(p64->type, &p32->type) ||
                              ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:787:30:
error: dereferencing pointer to incomplete type
  if (put_user(p64->type, &p32->type) ||
                              ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:788:23:
error: dereferencing pointer to incomplete type
      copy_to_user(&p32->u, &p64->u, sizeof(p64->u)) ||
                       ^
In file included from include/net/checksum.h:25:0,
                 from include/linux/skbuff.h:31,
                 from include/linux/if_ether.h:23,
                 from
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/compat.h:1721,
                 from <command-line>:0:
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:789:33:
error: dereferencing pointer to incomplete type
      put_user(p64->pending, &p32->pending) ||
                                 ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:789:33:
error: dereferencing pointer to incomplete type
      put_user(p64->pending, &p32->pending) ||
                                 ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:790:34:
error: dereferencing pointer to incomplete type
      put_user(p64->sequence, &p32->sequence) ||
                                  ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:790:34:
error: dereferencing pointer to incomplete type
      put_user(p64->sequence, &p32->sequence) ||
                                  ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:791:42:
error: dereferencing pointer to incomplete type
      put_user(p64->timestamp.tv_sec, &p32->timestamp.tv_sec) ||
                                          ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:791:42:
error: dereferencing pointer to incomplete type
      put_user(p64->timestamp.tv_sec, &p32->timestamp.tv_sec) ||
                                          ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:792:43:
error: dereferencing pointer to incomplete type
      put_user(p64->timestamp.tv_nsec, &p32->timestamp.tv_nsec) ||
                                           ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:792:43:
error: dereferencing pointer to incomplete type
      put_user(p64->timestamp.tv_nsec, &p32->timestamp.tv_nsec) ||
                                           ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:793:28:
error: dereferencing pointer to incomplete type
      put_user(p64->id, &p32->id) ||
                            ^
./arch/rtd1296/include/asm/uaccess.h:243:15: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
               ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:793:28:
error: dereferencing pointer to incomplete type
      put_user(p64->id, &p32->id) ||
                            ^
./arch/rtd1296/include/asm/uaccess.h:243:36: note: in definition of
macro 'put_user'
  __typeof__(*(ptr)) __user *__p = (ptr);    \
                                    ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:794:22:
error: dereferencing pointer to incomplete type
      copy_to_user(p32->reserved, p64->reserved, sizeof(p32->reserved)))
                      ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:794:59:
error: dereferencing pointer to incomplete type
      copy_to_user(p32->reserved, p64->reserved, sizeof(p32->reserved)))
                                                           ^
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:
At top level:
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.c:784:12:
warning: 'put_v4l2_event32' defined but not used [-Wunused-function]
 static int put_v4l2_event32(struct v4l2_event *p64,
            ^
cc1: warning: unrecognized command line option "-Wno-format-truncation"
make[6]: *** [scripts/Makefile.build:270:
/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l/v4l2-compat-ioctl32.o]
Error 1
make[5]: *** [Makefile:1411:
_module_/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l]
Error 2
make[5]: Leaving directory
'/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linux'
make[4]: *** [Makefile:53: default] Error 2
make[4]: Leaving directory
'/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6/v4l'
make[3]: *** [Makefile:26: all] Error 2
make[3]: Leaving directory
'/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv/work-rtd1296-6.2.3/linuxtv-gita236fddff61e8357f3070effdf23e9b5f20b26e6'
make[2]: *** [Makefile:87: linuxtv_compile] Error 2
make[2]: Leaving directory '/home/spksrc/spksrc-linuxtv2/spksrc/cross/linuxtv'
make[1]: *** [../../mk/spksrc.depend.mk:51: depend_target] Error 2
make[1]: Leaving directory
'/home/spksrc/spksrc-linuxtv2/spksrc/spk/synokernel-linuxtv'
make: [../../mk/spksrc.spk.mk:434: arch-rtd1296-6.2.3] Error 2 (ignored)

Attachment: build-rtd1296-6.2.3.out
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux