Skip to content

Instantly share code, notes, and snippets.

@leowmjw
Created April 6, 2012 13:22
Show Gist options
  • Save leowmjw/2319726 to your computer and use it in GitHub Desktop.
Save leowmjw/2319726 to your computer and use it in GitHub Desktop.
Compilation log for Fedora 16 - 3.3.0-8.fc16.x86_64
date=Sun Mar 11 22:33:54 GMT 2012
release=dtrace-20120311
build=379
/home/leow/SANDBOX/DTRACE/dtrace-20120311
Fri Apr 6 19:27:37 MYT 2012
$ uname -a:
Linux belinda 3.3.0-8.fc16.x86_64 #1 SMP Thu Mar 29 18:37:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
Fedora release 16 (Verne)
$ cat /etc/motd
$ cat build/port.h
/* This file is automatically generated via mkport.pl */
/* kern=/lib/modules/3.3.0-8.fc16.x86_64/build */
/* kern_src=/lib/modules/3.3.0-8.fc16.x86_64/source */
# define FUNC_DUMP_TRACE_ARGS 6
# define HAVE_ATOMIC_NOTIFIER_CHAIN_REGISTER 1
# define HAVE_BX_REGISTER 1
# define HAVE_CPLUS_DEMANGLE 1
# define HAVE_CPU_NUMBER 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_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/libexec/gcc/x86_64-redhat-linux/4.6.3/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
$ ld -v
GNU ld version 2.21.53.0.1-6.fc16 20110716
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
model : 2
model name : QEMU Virtual CPU version 0.14.1
=========================
BUILD_DIR=build-3.3.0-8.fc16.x86_64 tools/build.pl build-3.3.0-8.fc16.x86_64 `uname -m`
tools/check_dep.pl
tools/mkport.pl
tools/libgcc.pl
tools/mksyscall.pl
mksyscall.pl: [x86] Unable to generate syscall table, syscall_count==0, which looks
suspiciously too low. Might have misparsed the sys_call_table
mksyscall.pl: [x86-64] Unable to generate syscall table, syscall_count==0, which looks
suspiciously too low. Might have misparsed the sys_call_table
make all0
cd tests ; make --no-print-directory
case `uname -m` in \
x86_64) \
cc -m64 -g -o ../build-3.3.0-8.fc16.x86_64/sys64 syscalls.c ; \
cc -m32 -g -o ../build-3.3.0-8.fc16.x86_64/sys32 syscalls.c ; \
;; \
i686) \
cc -m32 -g -o ../build-3.3.0-8.fc16.x86_64/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
gcc -g -I. -I../../ -I../../libctf -I../../common -I../../uts/common -I../../linux -I/usr/include/libdwarf -o ../../build/ctfconvert ../../build/ctfconvert.obj/ctfconvert.o ../../build/ctfconvert.obj/alist.o ../../build/ctfconvert.obj/ctf.o ../../build/ctfconvert.obj/dwarf.o ../../build/ctfconvert.obj/hash.o ../../build/ctfconvert.obj/iidesc.o ../../build/ctfconvert.obj/input.o ../../build/ctfconvert.obj/list.o ../../build/ctfconvert.obj/memory.o ../../build/ctfconvert.obj/merge.o ../../build/ctfconvert.obj/output.o ../../build/ctfconvert.obj/st_bugs.o ../../build/ctfconvert.obj/st_parse.o ../../build/ctfconvert.obj/stabs.o ../../build/ctfconvert.obj/stack.o ../../build/ctfconvert.obj/strtab.o ../../build/ctfconvert.obj/symbol.o ../../build/ctfconvert.obj/tdata.o ../../build/ctfconvert.obj/traverse.o ../../build/ctfconvert.obj/util.o ../../build/libctf.a -ldwarf -lbfd -lelf -lz
cd cmd/instr ; make --no-print-directory
cd usdt/c ; make --no-print-directory
tools/mkdriver.pl all
Executing: /home/leow/SANDBOX/DTRACE/dtrace-20120311/tools/make-me
make -C /lib/modules/3.3.0-8.fc16.x86_64/build M=/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver
CC [M] /home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.o
/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.c: In function 'create_buf_t':
/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.c:255:42: error: 'struct vfsmount' has no member named 'mnt_mountpoint'
/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.c:261:32: error: 'struct vfsmount' has no member named 'mnt_devname'
/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.c:273:48: error: 'struct vfsmount' has no member named 'mnt_devname'
make[4]: *** [/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver/sdt_linux.o] Error 1
make[3]: *** [_module_/home/leow/SANDBOX/DTRACE/dtrace-20120311/build-3.3.0-8.fc16.x86_64/driver] Error 2
make[2]: *** [kernel] Error 2
tools/bug.sh
make[1]: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment