public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Funny comment made by kuroo.
@ 2007-05-15 19:07 David Harel
  2007-05-15 19:19 ` Florian Philipp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Harel @ 2007-05-15 19:07 UTC (permalink / raw
  To: gentoo-user

Greetings,


Using kuroo, sometimes I get a notice such as: QA Notice: Package has 
poor programming practices which may compile fine but exhibit random 
runtime failures. Any idea what trigers such as message?

-- 
Thanks.

David Harel,

==================================

Home office +972 77 7657645
Fax:        +972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
            D.N Merom Hagalil
            13802
            Israel
Email:      hareldvd@ergolight-sw.com


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Funny comment made by kuroo.
  2007-05-15 19:07 [gentoo-user] Funny comment made by kuroo David Harel
@ 2007-05-15 19:19 ` Florian Philipp
  2007-05-15 19:24 ` Dan Farrell
  2007-05-15 19:38 ` Bo Ørsted Andresen
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Philipp @ 2007-05-15 19:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Am Dienstag 15 Mai 2007 21:07 schrieb David Harel:
> Greetings,
>
>
> Using kuroo, sometimes I get a notice such as: QA Notice: Package has
> poor programming practices which may compile fine but exhibit random
> runtime failures. Any idea what trigers such as message?
>
> --
> Thanks.
>
> David Harel,

I don't know what's triggering it but it's part of the normal emerge output.

I noticed it for example while emerging Grub.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Funny comment made by kuroo.
  2007-05-15 19:07 [gentoo-user] Funny comment made by kuroo David Harel
  2007-05-15 19:19 ` Florian Philipp
@ 2007-05-15 19:24 ` Dan Farrell
  2007-05-15 19:38 ` Bo Ørsted Andresen
  2 siblings, 0 replies; 4+ messages in thread
From: Dan Farrell @ 2007-05-15 19:24 UTC (permalink / raw
  To: gentoo-user

On Tue, 15 May 2007 22:07:47 +0300
David Harel <hareldvd@ergolight-sw.com> wrote:

> Greetings,
> 
> 
> Using kuroo, sometimes I get a notice such as: QA Notice: Package has 
> poor programming practices which may compile fine but exhibit random 
> runtime failures. Any idea what trigers such as message?
> 
I found an answer at 
http://sources.gentoo.org/viewcvs.py/portage/main/trunk/doc/qa.docbook?rev=5734 
The relevant section, lightly edited (but unaltered), follows:

|| This warning crops up when code starts casting distinct pointer types
|| and then dereferencing them.  Generally, this is a violation of
|| aliasing rules which are part of the C standard.  Historically, these
|| warnings did not show up as the optimization was not turned on by
|| default.  With gcc-4.1.x and newer though, the -O2 optimization level
|| enables strict aliasing support.
||
|| For information, please review these links:
|| NetBSD Explination: 
||  http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
|| Gentoo Dev Thread:
||  http://thread.gmane.org/gmane.linux.gentoo.devel/39495
|| GCC Docs: 
||  http://gcc.gnu.org/bugs.html#nonbugs_c

The programs will probably still work fine; I've seen that error
before, but have been using those packages anyway, with no descernable
consequences.   

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Funny comment made by kuroo.
  2007-05-15 19:07 [gentoo-user] Funny comment made by kuroo David Harel
  2007-05-15 19:19 ` Florian Philipp
  2007-05-15 19:24 ` Dan Farrell
@ 2007-05-15 19:38 ` Bo Ørsted Andresen
  2 siblings, 0 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2007-05-15 19:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

On Tuesday 15 May 2007 21:07:47 David Harel wrote:
> Using kuroo, sometimes I get a notice such as: QA Notice: Package has
> poor programming practices which may compile fine but exhibit random
> runtime failures. Any idea what trigers such as message?

It's not from kuroo. It's from portage. It's triggered by certain gcc warnings 
that portage is grepping for in /usr/lib/portage/bin/misc-function.sh. The 
intention is for people to file bugs about it (although you should try to 
avoid filing duplicates of existing bug reports).

As Dan already mentioned there's a document about it in the portage trunk 
(although I'm not sure how to show it in a more readable format). The only 
related part from it he left out is:

|| To fix this issue, use the methods proposed in the links mentioned earlier.
|| If you're unable to do so, then a work around would be to append the gcc
|| -fno-strict-aliasing flag to CFLAGS in the ebuild."

Those are the existing bug reports with similar issues:

http://tinyurl.com/2eer9q

If you see it for a package not in that list you should thus file a bug..

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-05-15 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15 19:07 [gentoo-user] Funny comment made by kuroo David Harel
2007-05-15 19:19 ` Florian Philipp
2007-05-15 19:24 ` Dan Farrell
2007-05-15 19:38 ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox