Bug 437807 - Turn -Wpointer-arith off from /lib/modules/
Summary: Turn -Wpointer-arith off from /lib/modules/
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel-xen-2.6   
(Show other bugs)
Version: 8
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Xen Maintainance List
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-03-17 15:05 UTC by Eugene Teo (Security Response)
Modified: 2009-01-09 06:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-09 06:12:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2008-03-17 15:05:43 UTC
fluffy: ~$ cat /etc/redhat-release 
Fedora release 8 (Werewolf)
fluffy: ~$ uname -rm x86_64

It looks like -Wpointer-arith is included in CFLAGS. This triggered gcc to warn
on "warning: pointer of type 'void *' used in arithmetic". This has a
side-effect that caused SystemTap to abort compilation of the translated kprobes
code as it treats warnings as errors. -Wpointer-arith is not included in non-xen

Ref: http://sources.redhat.com/bugzilla/show_bug.cgi?id=5947

fluffy: /lib/modules/ diff -u Makefile.default Makefile
--- Makefile.default    2008-02-16 01:43:31.000000000 +0800
+++ Makefile    2008-03-17 21:57:00.000000000 +0800
@@ -314,7 +314,7 @@
 CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common \
-                  -Werror-implicit-function-declaration -Wpointer-arith
+                  -Werror-implicit-function-declaration
 AFLAGS          := -D__ASSEMBLY__
 # Read KERNELRELEASE from include/config/kernel.release (if it exists)

Comment 1 Bug Zapper 2008-11-26 10:11:49 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 2 Bug Zapper 2009-01-09 06:12:27 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.