This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4636] systemtap module generated kernel module does not compile on 2.6.21-1.3218.fc8 kernel
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 13 Jun 2007 19:02:30 -0000
- Subject: [Bug runtime/4636] systemtap module generated kernel module does not compile on 2.6.21-1.3218.fc8 kernel
- References: <20070613181734.4636.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hunt at redhat dot com 2007-06-13 19:02 -------
(In reply to comment #2)
> (In reply to comment #1)
> > Looks like you can't build modules with that version of gcc and -Werror.
>
> We could remove -Werror from the generated makefile in buildrun.cxx.
Yes, but it's normally a useful tool to help us keep our code clean.
> > Now wasn't the whole point of implementing void types to eliminate all the
> > casting associated with using "char *"?
>
> Sure, but arithmetic on void pointers is not defined. Remember,
> the address ptr+index depends on sizeof (*ptr).
And if you ask gcc to print sizeof(void), it printed 1. And pointer arithmetic
worked with void *. So everything was consistent. But now gcc apparently works
differently.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4636
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.