public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Hjalmarsson <xake@rymdraket.net>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in dev-python/traits: traits-3.4.0.ebuild
Date: Sun, 20 Jun 2010 18:05:08 +0200	[thread overview]
Message-ID: <1277049908.22112.16.camel@lillen> (raw)
In-Reply-To: <201006201556.14340.Arfrever@gentoo.org>

sön 2010-06-20 klockan 15:55 +0200 skrev Arfrever Frehtes Taifersar
Arahesis:
> 
> This problem is probably caused by bugs in Python 2, which have been fixed in Python 3.
> 
> $ echo 'a = True' > test.pyx
> $ cython test.pyx
> $ gcc -O2 -Wall -I/usr/include/python3.1 -c test.c
> $ gcc -O2 -Wall -I/usr/include/python2.6 -c test.c
> test.c: In function ‘inittest’:
> test.c:479: warning: dereferencing type-punned pointer will break strict-aliasing rules
> test.c:479: warning: dereferencing type-punned pointer will break strict-aliasing rules
> test.c:479: warning: dereferencing pointer ‘_Py_TrueStruct.42’ does break strict-aliasing rules
> test.c:479: warning: dereferencing pointer ‘_Py_TrueStruct.42’ does break strict-aliasing rules
> test.c:479: note: initialized from here
> test.c:482: warning: dereferencing pointer ‘__pyx_t_1’ does break strict-aliasing rules
> test.c:482: warning: dereferencing pointer ‘__pyx_t_1’ does break strict-aliasing rules
> test.c:482: warning: dereferencing pointer ‘__pyx_t_1’ does break strict-aliasing rules
> test.c:482: warning: dereferencing pointer ‘__pyx_t_1’ does break strict-aliasing rules
> test.c:479: note: initialized from here
> 

Actually this makes me question the append-flag even more.
Why mess with what gcc does with the code for all versions of python if
it works for x version of python?
And "only" for som warnings? I could have understand a bit more if it
was Errors.

Also why not even a comment saying?

Currently as one of the users of hardened and helping Zorry out with the
hardened toolchain I have seen many packages filter flags like -fPIE and
-fstack-protector without a comment on why, where and how it broke, and
noone remeber why.
New versions comes of software and if you do not know why it broke with
a cflag you cannot test if the breakage is still there.

This line of code is fine and all that until you forget why you added
that flag or you retire and a later maintainer of the package does not
dare to touch the flag since they do not know why it was added and what
will break if the remove that line of ebuild code.





  reply	other threads:[~2010-06-20 16:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100610191934.39FEA2CAD8@corvid.gentoo.org>
2010-06-10 19:27 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-python/traits: traits-3.4.0.ebuild Jeremy Olexa
2010-06-10 20:00   ` Arfrever Frehtes Taifersar Arahesis
2010-06-10 20:16     ` Fabian Groffen
2010-06-10 20:25       ` Arfrever Frehtes Taifersar Arahesis
2010-06-10 20:42         ` Nirbheek Chauhan
2010-06-12 15:47         ` Jeroen Roovers
2010-06-10 20:20     ` Nirbheek Chauhan
2010-06-10 20:45       ` Arfrever Frehtes Taifersar Arahesis
2010-06-10 21:45         ` Rémi Cardona
2010-06-11  6:51           ` Alex Alexander
2010-06-11  8:43         ` Alexis Ballier
2010-06-19 20:53         ` Mike Frysinger
2010-06-20 13:55           ` Arfrever Frehtes Taifersar Arahesis
2010-06-20 16:05             ` Peter Hjalmarsson [this message]
2010-06-20 22:27             ` Mike Frysinger
2010-06-21  4:01               ` Brian Harring
2010-06-21 21:28               ` Arfrever Frehtes Taifersar Arahesis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1277049908.22112.16.camel@lillen \
    --to=xake@rymdraket.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox