lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201608230701.dg3GRul8%fengguang.wu@intel.com>
Date:   Tue, 23 Aug 2016 07:24:04 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Mikko Rapeli <mikko.rapeli@....fi>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Mikko Rapeli <mikko.rapeli@....fi>
Subject: Re: [PATCH v05 34/72] include/uapi/linux/errqueue.h: include
 linux/time.h

Hi Mikko,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Mikko-Rapeli/Userspace-compile-test-and-fixes-for-exported-uapi-header-files/20160823-034928
config: x86_64-randconfig-s2-08230509 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-review/Mikko-Rapeli/Userspace-compile-test-and-fixes-for-exported-uapi-header-files/20160823-034928 HEAD ab90ab906304d4f306e440f4dbfa334720093b4f builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   In file included from ./usr/include/linux/errqueue.h:5,
                    from Documentation/networking/timestamping/timestamping.c:46:
   ./usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
   ./usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
   ./usr/include/linux/time.h:20: error: redefinition of 'struct timezone'
   In file included from ./usr/include/linux/errqueue.h:5,
                    from Documentation/networking/timestamping/timestamping.c:46:
   ./usr/include/linux/time.h:30:1: warning: "ITIMER_REAL" redefined
   In file included from Documentation/networking/timestamping/timestamping.c:37:
>> /usr/include/x86_64-linux-gnu/sys/time.h:95:1: warning: this is the location of the previous definition
   In file included from ./usr/include/linux/errqueue.h:5,
                    from Documentation/networking/timestamping/timestamping.c:46:
   ./usr/include/linux/time.h:31:1: warning: "ITIMER_VIRTUAL" redefined
   In file included from Documentation/networking/timestamping/timestamping.c:37:
   /usr/include/x86_64-linux-gnu/sys/time.h:98:1: warning: this is the location of the previous definition
   In file included from ./usr/include/linux/errqueue.h:5,
                    from Documentation/networking/timestamping/timestamping.c:46:
   ./usr/include/linux/time.h:32:1: warning: "ITIMER_PROF" redefined
   In file included from Documentation/networking/timestamping/timestamping.c:37:
   /usr/include/x86_64-linux-gnu/sys/time.h:102:1: warning: this is the location of the previous definition
   ./usr/include/linux/time.h:39: error: redefinition of 'struct itimerval'
   Documentation/networking/timestamping/timestamping.c: In function 'sendpacket':
   Documentation/networking/timestamping/timestamping.c:144: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/time.h:71: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
   Documentation/networking/timestamping/timestamping.c: In function 'printpacket':
   Documentation/networking/timestamping/timestamping.c:164: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/time.h:71: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
   Documentation/networking/timestamping/timestamping.c: In function 'main':
   Documentation/networking/timestamping/timestamping.c:474: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/time.h:71: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
   Documentation/networking/timestamping/timestamping.c:484: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/time.h:71: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
   Documentation/networking/timestamping/timestamping.c:499: warning: passing argument 5 of 'select' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/select.h:106: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
   Documentation/networking/timestamping/timestamping.c:500: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type
   /usr/include/x86_64-linux-gnu/sys/time.h:71: note: expected 'struct timeval * __restrict__' but argument is of type 'struct timeval *'
--
   In file included from ./usr/include/linux/errqueue.h:5,
                    from Documentation/networking/timestamping/txtimestamp.c:40:
   ./usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
   ./usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
   In file included from Documentation/networking/timestamping/txtimestamp.c:59:
   /usr/include/x86_64-linux-gnu/sys/time.h:56: error: redefinition of 'struct timezone'
>> /usr/include/x86_64-linux-gnu/sys/time.h:94: error: expected identifier before numeric constant
   /usr/include/x86_64-linux-gnu/sys/time.h:108: error: redefinition of 'struct itimerval'
   In file included from Documentation/networking/timestamping/txtimestamp.c:61:
   /usr/include/time.h:162: error: redefinition of 'struct itimerspec'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (21931 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ