[email protected]
[Top] [All Lists]

Bug#505375: marked as forwarded (FTBFS with GCC 4.4: dereferencing type

Subject: Bug#505375: marked as forwarded FTBFS with GCC 4.4: dereferencing type-punned pointer will...
From: Debian Bug Tracking System
Date: Mon, 16 Feb 2009 10:30:09 +0000
Your message dated Mon, 16 Feb 2009 11:27:30 +0100
with message-id <[email protected]>
has caused the   report #505375,
regarding FTBFS with GCC 4.4: dereferencing type-punned pointer will...
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
505375: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505375
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: gcc 4.4 and mdadm
From: martin f krafft
Date: Mon, 16 Feb 2009 11:27:30 +0100
Neil, attached bug report is FYI.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"here i was all convinced that if i sleep all day, bug counts go
 down, and if I work all day, they go up, so much for that theory."
                                                   -- lars wirzenius
--- Begin Message ---
Subject: Bug#505375: FTBFS with GCC 4.4: dereferencing type-punned pointer will...
From: Martin Michlmayr
Date: Tue, 11 Nov 2008 22:59:58 +0100
Package: mdadm
Version: 2.6.7.1-1
User: [email protected]
Usertags: ftbfs-gcc-4.4

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of mdadm_2.6.7.1-1 on em64t by sbuild/amd64 0.53
...
> gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os 
> -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" 
> -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o super0.o super0.c
> gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os 
> -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" 
> -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o super1.o super1.c
> cc1: warnings being treated as errors
> super1.c: In function 'update_super1':
> super1.c:617: error: dereferencing type-punned pointer will break 
> strict-aliasing rules
> super1.c: In function 'init_super1':
> super1.c:721: error: dereferencing type-punned pointer will break 
> strict-aliasing rules
> super1.c: In function 'write_init_super1':
> super1.c:895: error: dereferencing type-punned pointer will break 
> strict-aliasing rules
> make[2]: *** [super1.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/




--- End Message ---

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#505375: marked as forwarded (FTBFS with GCC 4.4: dereferencing type-punned pointer will...), Debian Bug Tracking System <=