{"action":"created","issue":{"url":"https://api.github.com/repos/dtrace4linux/linux/issues/94","labels_url":"https://api.github.com/repos/dtrace4linux/linux/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/dtrace4linux/linux/issues/94/comments","events_url":"https://api.github.com/repos/dtrace4linux/linux/issues/94/events","html_url":"https://github.com/dtrace4linux/linux/issues/94","id":53800288,"number":94,"title":"Linux 3.18.0 x86_64 - incompatible types when assigning to type 'struct timespec' from type 'u64'","user":{"login":"mikess","id":6564196,"avatar_url":"https://avatars.githubusercontent.com/u/6564196?v=3","gravatar_id":"","url":"https://api.github.com/users/mikess","html_url":"https://github.com/mikess","followers_url":"https://api.github.com/users/mikess/followers","following_url":"https://api.github.com/users/mikess/following{/other_user}","gists_url":"https://api.github.com/users/mikess/gists{/gist_id}","starred_url":"https://api.github.com/users/mikess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikess/subscriptions","organizations_url":"https://api.github.com/users/mikess/orgs","repos_url":"https://api.github.com/users/mikess/repos","events_url":"https://api.github.com/users/mikess/events{/privacy}","received_events_url":"https://api.github.com/users/mikess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-08T20:59:22Z","updated_at":"2015-01-08T21:40:11Z","closed_at":null,"body":"date=Sun Nov 23 18:07:01 GMT 2014\r\nrelease=dtrace-20141123\r\nbuild=482\r\n/usr/src/linux\r\nThu Jan  8 21:40:19 CET 2015\r\n$ uname -a:\r\nLinux virta 3.18.0 #1 SMP Fri Dec 12 15:41:15 CET 2014 x86_64 GNU/Linux\r\n$ cat /etc/os-release\r\nPRETTY_NAME=\"Debian GNU/Linux 7 (wheezy)\"\r\nNAME=\"Debian GNU/Linux\"\r\nVERSION_ID=\"7\"\r\nVERSION=\"7 (wheezy)\"\r\nID=debian\r\nANSI_COLOR=\"1;31\"\r\nHOME_URL=\"http://www.debian.org/\"\r\nSUPPORT_URL=\"http://www.debian.org/support/\"\r\nBUG_REPORT_URL=\"http://bugs.debian.org/\"\r\n$ cat /etc/motd\r\n\r\nThe programs included with the Debian GNU/Linux system are free software;\r\nthe exact distribution terms for each program are described in the\r\nindividual files in /usr/share/doc/*/copyright.\r\n\r\nDebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\r\npermitted by applicable law.\r\n$ cat build/port.h\r\n/* This file is automatically generated via mkport.pl */\r\n/* kern=/lib/modules/3.18.0/build */\r\n/* kern_src=/lib/modules/3.18.0/source */\r\n\r\n# define DO_NOT_HAVE_ZLIB_IN_KERNEL 1\r\n# define FUNC_DUMP_TRACE_ARGS 6\r\n# define HAVE_ATOMIC_NOTIFIER_CHAIN_REGISTER 1\r\n# define HAVE_BX_REGISTER 1\r\n# define HAVE_ELF_C_READ_MMAP 1\r\n# define HAVE_ELF_GETSHDRSTRNDX 1\r\n# define HAVE_INCLUDE_LINUX_CRED_H 1\r\n# define HAVE_INCLUDE_LINUX_HRTIMER_H 1\r\n# define HAVE_INCLUDE_LINUX_KDEBUG_H 1\r\n# define HAVE_INCLUDE_LINUX_MUTEX_H 1\r\n# define HAVE_INCLUDE_LINUX_SEMAPHORE_H 1\r\n# define HAVE_INCLUDE_LINUX_SLAB_H 1\r\n# define HAVE_LEX_YYTEXT_PTR 1\r\n# define HAVE_LIB_LIBDWARF 1\r\n# define HAVE_LINUX_FDTABLE_H 1\r\n# define HAVE_LINUX_MIGRATE_H 1\r\n# define HAVE_STACKTRACE_OPS \r\n# define HAVE_VMALLOC_SYNC_ALL 1\r\n# define SMP_CALL_FUNCTION_ARGS 3\r\n# define SMP_CALL_FUNCTION_SINGLE_ARGS 4\r\n$ gcc -v\r\nUsing built-in specs.\r\nCOLLECT_GCC=gcc\r\nCOLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper\r\nTarget: x86_64-linux-gnu\r\nConfigured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu\r\nThread model: posix\r\ngcc version 4.7.2 (Debian 4.7.2-5) \r\n$ ld -v\r\nGNU ld (GNU Binutils for Debian) 2.22\r\nflex 2.5.35\r\nbison (GNU Bison) 2.5\r\nWritten by Robert Corbett and Richard Stallman.\r\n\r\nCopyright (C) 2011 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\nprocessor\t: 0\r\nprocessor\t: 1\r\nprocessor\t: 2\r\nprocessor\t: 3\r\nprocessor\t: 4\r\nprocessor\t: 5\r\nprocessor\t: 6\r\nprocessor\t: 7\r\nmodel\t\t: 60\r\nmodel name\t: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz\r\n=========================\r\nBUILD_DIR=build-3.18.0 tools/build.pl build-3.18.0 `uname -m`\r\ntools/check_dep.pl\r\ntools/mkport.pl\r\n/usr/bin/ld: cannot find -ldw\r\ncollect2: error: ld returned 1 exit status\r\ntools/libgcc.pl\r\ntools/mksyscall.pl\r\nProcessing (32): /usr/include/asm/unistd_32.h\r\nLine 293: warning - unknown value: __NR_sys_setaltroot='285 */'\r\nCreating: build-3.18.0/driver/syscalls-x86.tbl - 346 entries\r\nProcessing (64): /usr/include/asm/unistd_64.h\r\nCreating: build-3.18.0/driver/syscalls-x86-64.tbl - 312 entries\r\nmake all0\r\ncd tests ; make --no-print-directory\r\ncase `uname -m` in \\\r\n\t  x86_64) \\\r\n\t\tcc -m64 -g -o ../build-3.18.0/sys64 syscalls.c ; \\\r\n\t\tcc -m32 -g -o ../build-3.18.0/sys32 syscalls.c || true ; \\\r\n\t\t;; \\\r\n\t  i686) \\\r\n\t\tcc -m32 -g -o ../build-3.18.0/sys32 syscalls.c ; \\\r\n\t\t;; \\\r\n\t  arm*) \\\r\n\t\tcc -g -o ../build-3.18.0/sys32 syscalls.c ; \\\r\n\t\t;; \\\r\n\tesac\r\ncd libctf ; make --no-print-directory\r\ncd libdtrace ; make --no-print-directory\r\ncd liblinux ; make --no-print-directory\r\ncd libproc/common ; make --no-print-directory\r\ncd librtld ; make --no-print-directory\r\ncd cmd/dtrace ; make --no-print-directory\r\ncd cmd/ctfconvert ; make --no-print-directory\r\n=================================================================\r\n=== You need /usr/lib/libdwarf.a or /usr/lib64/libdwarf.a \r\n=== (libdw is not yet supported) to build.\r\n=== \r\n=== apt-get install binutils-dev\r\n=== apt-get install libdw-dev\r\n=== \r\n=== Without these, we will not build ctfconvert (needed for \r\n=== SDT structure definitions).\r\n=================================================================\r\ncd cmd/instr ; make --no-print-directory\r\ncd usdt/c ; make --no-print-directory\r\ntools/mkdriver.pl all\r\nExecuting: /usr/src/linux/tools/make-me\r\nmake -C /lib/modules/3.18.0/build M=/usr/src/linux/build-3.18.0/driver\r\n  CC [M]  /usr/src/linux/build-3.18.0/driver/prov_proc.o\r\n/usr/src/linux/build-3.18.0/driver/prov_proc.c: In function 'psinfo_arg':\r\n/usr/src/linux/build-3.18.0/driver/prov_proc.c:45:15: error: incompatible types when assigning to type 'struct timespec' from type 'u64'\r\nmake[4]: *** [/usr/src/linux/build-3.18.0/driver/prov_proc.o] Error 1\r\nmake[3]: *** [_module_/usr/src/linux/build-3.18.0/driver] Error 2\r\nmake[2]: *** [kernel] Error 2\r\ntools/bug.sh\r\nmake[1]: *** [all] Error 1"},"comment":{"url":"https://api.github.com/repos/dtrace4linux/linux/issues/comments/69254242","html_url":"https://github.com/dtrace4linux/linux/issues/94#issuecomment-69254242","issue_url":"https://api.github.com/repos/dtrace4linux/linux/issues/94","id":69254242,"user":{"login":"dtrace4linux","id":1410436,"avatar_url":"https://avatars.githubusercontent.com/u/1410436?v=3","gravatar_id":"","url":"https://api.github.com/users/dtrace4linux","html_url":"https://github.com/dtrace4linux","followers_url":"https://api.github.com/users/dtrace4linux/followers","following_url":"https://api.github.com/users/dtrace4linux/following{/other_user}","gists_url":"https://api.github.com/users/dtrace4linux/gists{/gist_id}","starred_url":"https://api.github.com/users/dtrace4linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtrace4linux/subscriptions","organizations_url":"https://api.github.com/users/dtrace4linux/orgs","repos_url":"https://api.github.com/users/dtrace4linux/repos","events_url":"https://api.github.com/users/dtrace4linux/events{/privacy}","received_events_url":"https://api.github.com/users/dtrace4linux/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T21:40:11Z","updated_at":"2015-01-08T21:40:11Z","body":"Nice. Something to look forward to in the 3.18 kernel, and have been\r\nworking on 3.16.\r\n\r\nI'll take a look - am not happy to release what I have and got stuck on\r\n3.16 with some bizarre going-ons.\r\n\r\nOn 8 January 2015 at 20:59, Michał Kullng <notifications@github.com> wrote:\r\n\r\n> date=Sun Nov 23 18:07:01 GMT 2014\r\n> release=dtrace-20141123\r\n> build=482\r\n> /usr/src/linux\r\n> Thu Jan 8 21:40:19 CET 2015\r\n> $ uname -a:\r\n> Linux virta 3.18.0 #1 <https://github.com/dtrace4linux/linux/pull/1> SMP\r\n> Fri Dec 12 15:41:15 CET 2014 x86_64 GNU/Linux\r\n> $ cat /etc/os-release\r\n> PRETTY_NAME=\"Debian GNU/Linux 7 (wheezy)\"\r\n> NAME=\"Debian GNU/Linux\"\r\n> VERSION_ID=\"7\"\r\n> VERSION=\"7 (wheezy)\"\r\n> ID=debian\r\n> ANSI_COLOR=\"1;31\"\r\n> HOME_URL=\"http://www.debian.org/\"\r\n> SUPPORT_URL=\"http://www.debian.org/support/\"\r\n> BUG_REPORT_URL=\"http://bugs.debian.org/\"\r\n> $ cat /etc/motd\r\n>\r\n> The programs included with the Debian GNU/Linux system are free software;\r\n> the exact distribution terms for each program are described in the\r\n> individual files in /usr/share/doc/*/copyright.\r\n>\r\n> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\r\n> permitted by applicable law.\r\n> $ cat build/port.h\r\n> /* This file is automatically generated via mkport.pl\r\n> */ /* kern=/lib/modules/3.18.0/build\r\n> */ /* kern_src=/lib/modules/3.18.0/source */\r\n> define DO_NOT_HAVE_ZLIB_IN_KERNEL 1 define FUNC_DUMP_TRACE_ARGS 6 define\r\n> HAVE_ATOMIC_NOTIFIER_CHAIN_REGISTER 1 define HAVE_BX_REGISTER 1 define\r\n> HAVE_ELF_C_READ_MMAP 1 define HAVE_ELF_GETSHDRSTRNDX 1 define\r\n> HAVE_INCLUDE_LINUX_CRED_H 1 define HAVE_INCLUDE_LINUX_HRTIMER_H 1 define\r\n> HAVE_INCLUDE_LINUX_KDEBUG_H 1 define HAVE_INCLUDE_LINUX_MUTEX_H 1 define\r\n> HAVE_INCLUDE_LINUX_SEMAPHORE_H 1 define HAVE_INCLUDE_LINUX_SLAB_H 1 define\r\n> HAVE_LEX_YYTEXT_PTR 1 define HAVE_LIB_LIBDWARF 1 define\r\n> HAVE_LINUX_FDTABLE_H 1 define HAVE_LINUX_MIGRATE_H 1 define\r\n> HAVE_STACKTRACE_OPS define HAVE_VMALLOC_SYNC_ALL 1 define\r\n> SMP_CALL_FUNCTION_ARGS 3 define SMP_CALL_FUNCTION_SINGLE_ARGS 4\r\n>\r\n> $ gcc -v\r\n> Using built-in specs.\r\n> COLLECT_GCC=gcc\r\n> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper\r\n> Target: x86_64-linux-gnu\r\n> Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5'\r\n> --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs\r\n> --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr\r\n> --program-suffix=-4.7 --enable-shared --enable-linker-build-id\r\n> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext\r\n> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7\r\n> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu\r\n> --enable-libstdcxx-debug --enable-libstdcxx-time=yes\r\n> --enable-gnu-unique-object --enable-plugin --enable-objc-gc\r\n> --with-arch-32=i586 --with-tune=generic --enable-checking=release\r\n> --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu\r\n> Thread model: posix\r\n> gcc version 4.7.2 (Debian 4.7.2-5)\r\n> $ ld -v\r\n> GNU ld (GNU Binutils for Debian) 2.22\r\n> flex 2.5.35\r\n> bison (GNU Bison) 2.5\r\n> Written by Robert Corbett and Richard Stallman.\r\n>\r\n> Copyright (C) 2011 Free Software Foundation, Inc.\r\n> This is free software; see the source for copying conditions. There is NO\r\n> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n> processor : 0\r\n> processor : 1\r\n> processor : 2\r\n> processor : 3\r\n> processor : 4\r\n> processor : 5\r\n> processor : 6\r\n> processor : 7\r\n> model : 60\r\n> model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz\r\n>\r\n> BUILD_DIR=build-3.18.0 tools/build.pl build-3.18.0 uname -m\r\n> tools/check_dep.pl\r\n> tools/mkport.pl\r\n> /usr/bin/ld: cannot find -ldw\r\n> collect2: error: ld returned 1 exit status\r\n> tools/libgcc.pl\r\n> tools/mksyscall.pl\r\n> Processing (32): /usr/include/asm/unistd_32.h\r\n> Line 293: warning - unknown value: __NR_sys_setaltroot='285\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n>\r\n> */' Creating: build-3.18.0/driver/syscalls-x86.tbl - 346 entries\r\n> Processing (64): /usr/include/asm/unistd_64.h Creating:\r\n> build-3.18.0/driver/syscalls-x86-64.tbl - 312 entries make all0 cd tests ;\r\n> make --no-print-directory case uname -m in \\ x86_64) \\ cc -m64 -g -o\r\n> ../build-3.18.0/sys64 syscalls.c ; \\ cc -m32 -g -o ../build-3.18.0/sys32\r\n> syscalls.c || true ; \\ ;; \\ i686) \\ cc -m32 -g -o ../build-3.18.0/sys32\r\n> syscalls.c ; \\ ;; \\ arm*) \\\r\n> cc -g -o ../build-3.18.0/sys32 syscalls.c ; \\\r\n> ;; \\\r\n> esac\r\n> cd libctf ; make --no-print-directory\r\n> cd libdtrace ; make --no-print-directory\r\n> cd liblinux ; make --no-print-directory\r\n> cd libproc/common ; make --no-print-directory\r\n> cd librtld ; make --no-print-directory\r\n> cd cmd/dtrace ; make --no-print-directory\r\n> cd cmd/ctfconvert ; make --no-print-directory\r\n>\r\n> === You need /usr/lib/libdwarf.a or /usr/lib64/libdwarf.a\r\n> === (libdw is not yet supported) to build.\r\n>\r\n> === apt-get install binutils-dev\r\n> === apt-get install libdw-dev\r\n>\r\n> === Without these, we will not build ctfconvert (needed for\r\n> === SDT structure definitions).\r\n>\r\n> cd cmd/instr ; make --no-print-directory\r\n> cd usdt/c ; make --no-print-directory\r\n> tools/mkdriver.pl all\r\n> Executing: /usr/src/linux/tools/make-me\r\n> make -C /lib/modules/3.18.0/build M=/usr/src/linux/build-3.18.0/driver\r\n> CC [M] /usr/src/linux/build-3.18.0/driver/prov_proc.o\r\n> /usr/src/linux/build-3.18.0/driver/prov_proc.c: In function 'psinfo_arg':\r\n> /usr/src/linux/build-3.18.0/driver/prov_proc.c:45:15: error: incompatible\r\n> types when assigning to type 'struct timespec' from type 'u64'\r\n> make[4]: *** [/usr/src/linux/build-3.18.0/driver/prov_proc.o] Error 1\r\n> make[3]: *** [*module*/usr/src/linux/build-3.18.0/driver] Error 2\r\n> make[2]: *** [kernel] Error 2\r\n> tools/bug.sh\r\n> make[1]: *** [all] Error 1\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/dtrace4linux/linux/issues/94>.\r\n>"}}