This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/3736] New: Systemtap instrumentation module build fails on fc7 2.6.19-1.2877.fc7
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Dec 2006 19:48:21 -0000
- Subject: [Bug runtime/3736] New: Systemtap instrumentation module build fails on fc7 2.6.19-1.2877.fc7
- Reply-to: sourceware-bugzilla at sourceware dot org
When attempting to run the tests with the latest fc7 kernels (2.6.19-1.2877.fc7)
on i686 and x86_64. The builds of the systemtap kernel module failed. Below is
the output of compiling the very simple add.stp.
$ ./stap -vv
/home/wcohen/stap_testing_200612150930/src/testsuite/systemtap.base/add.stp
Created temporary directory "/tmp/stap9khaBB"
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6.19-1.2877.fc7PAE/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6.19-1.2877.fc7PAE/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6.19/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6.19/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/2.6/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/i686/*.stp',
match count 1
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/*.stp',
match count 33
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6.19-1.2877.fc7PAE/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6.19-1.2877.fc7PAE/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6.19/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6.19/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/2.6/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/i686/*.stp',
match count 0
Searched
'/home/wcohen/stap_testing_200612150930/install/share/systemtap/tapset/LKET/*.stp',
match count 19
Pass 1: parsed user script and 53 library script(s) in 2070usr/30sys/2116real ms.
Pass 2: analyzed script: 2 probe(s), 1 function(s), 0 embed(s), 3 global(s) in
40usr/0sys/35real ms.
probe_1508 locks x2[w] x1[w]
probe_1509 locks x2[r] x1[r] x3[rw]
Pass 3: translated to C into
"/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c" in 0usr/0sys/8real ms.
Running make -C "/lib/modules/2.6.19-1.2877.fc7PAE/build" M="/tmp/stap9khaBB"
modules V=1
make: Entering directory `/usr/src/kernels/2.6.19-1.2877.fc7-PAE-i686'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are
missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix
it."; \
echo; \
/bin/false)
mkdir -p /tmp/stap9khaBB/.tmp_versions
rm -f /tmp/stap9khaBB/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/stap9khaBB
gcc -m32
-Wp,-MD,/tmp/stap9khaBB/.stap_fc94290aa9b4982630eac4dbe77b0ce3_477.o.d
-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef
-Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3
-mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic
-ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1
-DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-generic
-Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fasynchronous-unwind-tables -g -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -freorder-blocks -Wno-unused
-Werror
-I"/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime"
-DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(stap_fc94290aa9b4982630eac4dbe77b0ce3_477)"
-D"KBUILD_MODNAME=KBUILD_STR(stap_fc94290aa9b4982630eac4dbe77b0ce3_477)" -c -o
/tmp/stap9khaBB/.tmp_stap_fc94290aa9b4982630eac4dbe77b0ce3_477.o
/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c
In file included from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:20,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/io.c:14,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/print.c:15,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/runtime.h:75,
from
/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c:34:
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/symbols.c:
In function '_stp_alloc_module':
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/symbols.c:73:
error: 'PAGE_KERNEL' undeclared (first use in this function)
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/symbols.c:73:
error: (Each undeclared identifier is reported only once
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/symbols.c:73:
error: for each function it appears in.)
In file included from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/io.c:14,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/print.c:15,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/runtime.h:75,
from
/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c:34:
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:46:52:
error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
cc1: warnings being treated as errors
In file included from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/io.c:14,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/print.c:15,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/runtime.h:75,
from
/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c:34:
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:
At top level:
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:46:
warning: type defaults to 'int' in declaration of 'DECLARE_WORK'
In file included from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/io.c:14,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/print.c:15,
from
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/runtime.h:75,
from
/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.c:34:
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:
In function '_stp_work_queue':
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:208:
error: 'stp_exit' undeclared (first use in this function)
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:
In function '_stp_transport_close':
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:225:
error: 'stp_exit' undeclared (first use in this function)
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:
In function '_stp_transport_init':
/home/wcohen/stap_testing_200612150930/install/share/systemtap/runtime/transport/transport.c:321:
error: 'stp_exit' undeclared (first use in this function)
make[1]: *** [/tmp/stap9khaBB/stap_fc94290aa9b4982630eac4dbe77b0ce3_477.o] Error 1
make: *** [_module_/tmp/stap9khaBB] Error 2
make: Leaving directory `/usr/src/kernels/2.6.19-1.2877.fc7-PAE-i686'
Pass 4: compiled C into "stap_fc94290aa9b4982630eac4dbe77b0ce3_477.ko" in
1100usr/330sys/1424real ms.
Pass 4: compilation failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stap9khaBB
--
Summary: Systemtap instrumentation module build fails on fc7
2.6.19-1.2877.fc7
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: wcohen at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3736
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.