public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/3037] New:  FC6: Including config.h is deprecated.
@ 2006-08-11 20:29 wcohen at redhat dot com
  2006-08-14 14:45 ` [Bug runtime/3037] " wcohen at redhat dot com
  2007-05-08 18:55 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: wcohen at redhat dot com @ 2006-08-11 20:29 UTC (permalink / raw)
  To: systemtap

The latest fc6 kernels (2.6.17-2548.fc6) deprecate the inclusion of config.h

With the latest snapshot of the kernel:

 ./stap_testing_200608112011/install/bin/stap -vv -e 'probe begin { log("hello,
world"); }'
Created temporary directory "/tmp/stapaIkfjL"
Searched 
<...snip...>
make -f scripts/Makefile.build obj=/tmp/stapaIkfjL
  gcc -Wp,-MD,/tmp/stapaIkfjL/.stap_21912.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-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  -fno-stack-protector -Os
-fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables
-g  -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks
-Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wdeclaration-after-statement -Wno-pointer-sign -freorder-blocks -Wno-unused
-Werror
-I"/home/wcohen/stap_testing_200608112011/install/share/systemtap/runtime"  
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(stap_21912)" 
-D"KBUILD_MODNAME=KBUILD_STR(stap_21912)" -c -o
/tmp/stapaIkfjL/.tmp_stap_21912.o /tmp/stapaIkfjL/stap_21912.c
In file included from
/home/wcohen/stap_testing_200608112011/install/share/systemtap/runtime/print.c:14,
                 from
/home/wcohen/stap_testing_200608112011/install/share/systemtap/runtime/runtime.h:66,
                 from /tmp/stapaIkfjL/stap_21912.c:31:
include/linux/config.h:6:2: error: #warning Including config.h is deprecated.
make[1]: *** [/tmp/stapaIkfjL/stap_21912.o] Error 1
make: *** [_module_/tmp/stapaIkfjL] Error 2
make: Leaving directory `/usr/src/kernels/2.6.17-1.2548.fc6-x86_64'
Pass 4: compiled C into "stap_21912.ko" in 1290usr/520sys/1835real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapaIkfjL

-- 
           Summary:  FC6: Including config.h is deprecated.
           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=3037

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/3037] FC6: Including config.h is deprecated.
  2006-08-11 20:29 [Bug runtime/3037] New: FC6: Including config.h is deprecated wcohen at redhat dot com
@ 2006-08-14 14:45 ` wcohen at redhat dot com
  2007-05-08 18:55 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: wcohen at redhat dot com @ 2006-08-14 14:45 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wcohen at redhat dot com  2006-08-14 14:44 -------
Did not see anything being used from linux/configh.h. Removed the "#include
<linux/config.h>" from print.c and string.c.

Running to verify that this eliminates the problem on fc6 and does not cause
problems on rhel4 or fc5.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
            Summary| FC6: Including config.h is |FC6: Including config.h is
                   |deprecated.                 |deprecated.


http://sourceware.org/bugzilla/show_bug.cgi?id=3037

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/3037] FC6: Including config.h is deprecated.
  2006-08-11 20:29 [Bug runtime/3037] New: FC6: Including config.h is deprecated wcohen at redhat dot com
  2006-08-14 14:45 ` [Bug runtime/3037] " wcohen at redhat dot com
@ 2007-05-08 18:55 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2007-05-08 18:55 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-05-08 19:55 -------
fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=3037

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-08 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-11 20:29 [Bug runtime/3037] New: FC6: Including config.h is deprecated wcohen at redhat dot com
2006-08-14 14:45 ` [Bug runtime/3037] " wcohen at redhat dot com
2007-05-08 18:55 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).