-
Notifications
You must be signed in to change notification settings - Fork 226
Description
date=Sun Nov 23 18:07:01 GMT 2014
release=dtrace-20141123
build=482
/usr/src/linux
Thu Jan 8 21:40:19 CET 2015
$ uname -a:
Linux virta 3.18.0 #1 SMP Fri Dec 12 15:41:15 CET 2014 x86_64 GNU/Linux
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
$ cat /etc/motd
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
$ cat build/port.h
/* This file is automatically generated via mkport.pl /
/ kern=/lib/modules/3.18.0/build /
/ kern_src=/lib/modules/3.18.0/source */
define DO_NOT_HAVE_ZLIB_IN_KERNEL 1
define FUNC_DUMP_TRACE_ARGS 6
define HAVE_ATOMIC_NOTIFIER_CHAIN_REGISTER 1
define HAVE_BX_REGISTER 1
define HAVE_ELF_C_READ_MMAP 1
define HAVE_ELF_GETSHDRSTRNDX 1
define HAVE_INCLUDE_LINUX_CRED_H 1
define HAVE_INCLUDE_LINUX_HRTIMER_H 1
define HAVE_INCLUDE_LINUX_KDEBUG_H 1
define HAVE_INCLUDE_LINUX_MUTEX_H 1
define HAVE_INCLUDE_LINUX_SEMAPHORE_H 1
define HAVE_INCLUDE_LINUX_SLAB_H 1
define HAVE_LEX_YYTEXT_PTR 1
define HAVE_LIB_LIBDWARF 1
define HAVE_LINUX_FDTABLE_H 1
define HAVE_LINUX_MIGRATE_H 1
define HAVE_STACKTRACE_OPS
define HAVE_VMALLOC_SYNC_ALL 1
define SMP_CALL_FUNCTION_ARGS 3
define SMP_CALL_FUNCTION_SINGLE_ARGS 4
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured 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
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
$ ld -v
GNU ld (GNU Binutils for Debian) 2.22
flex 2.5.35
bison (GNU Bison) 2.5
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
model : 60
model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
BUILD_DIR=build-3.18.0 tools/build.pl build-3.18.0 uname -m
tools/check_dep.pl
tools/mkport.pl
/usr/bin/ld: cannot find -ldw
collect2: error: ld returned 1 exit status
tools/libgcc.pl
tools/mksyscall.pl
Processing (32): /usr/include/asm/unistd_32.h
Line 293: warning - unknown value: __NR_sys_setaltroot='285 /'
Creating: build-3.18.0/driver/syscalls-x86.tbl - 346 entries
Processing (64): /usr/include/asm/unistd_64.h
Creating: build-3.18.0/driver/syscalls-x86-64.tbl - 312 entries
make all0
cd tests ; make --no-print-directory
case uname -m in
x86_64)
cc -m64 -g -o ../build-3.18.0/sys64 syscalls.c ;
cc -m32 -g -o ../build-3.18.0/sys32 syscalls.c || true ;
;;
i686)
cc -m32 -g -o ../build-3.18.0/sys32 syscalls.c ;
;;
arm)
cc -g -o ../build-3.18.0/sys32 syscalls.c ;
;;
esac
cd libctf ; make --no-print-directory
cd libdtrace ; make --no-print-directory
cd liblinux ; make --no-print-directory
cd libproc/common ; make --no-print-directory
cd librtld ; make --no-print-directory
cd cmd/dtrace ; make --no-print-directory
cd cmd/ctfconvert ; make --no-print-directory
=== You need /usr/lib/libdwarf.a or /usr/lib64/libdwarf.a
=== (libdw is not yet supported) to build.
=== apt-get install binutils-dev
=== apt-get install libdw-dev
=== Without these, we will not build ctfconvert (needed for
=== SDT structure definitions).
cd cmd/instr ; make --no-print-directory
cd usdt/c ; make --no-print-directory
tools/mkdriver.pl all
Executing: /usr/src/linux/tools/make-me
make -C /lib/modules/3.18.0/build M=/usr/src/linux/build-3.18.0/driver
CC [M] /usr/src/linux/build-3.18.0/driver/prov_proc.o
/usr/src/linux/build-3.18.0/driver/prov_proc.c: In function 'psinfo_arg':
/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'
make[4]: *** [/usr/src/linux/build-3.18.0/driver/prov_proc.o] Error 1
make[3]: *** [module/usr/src/linux/build-3.18.0/driver] Error 2
make[2]: *** [kernel] Error 2
tools/bug.sh
make[1]: *** [all] Error 1