Gentoo Archives: gentoo-qa

From: Markos Chandras <hwoarang@g.o>
To: gentoo-qa@l.g.o
Subject: Re: [gentoo-qa] QA confusion: Upstream qa issues -> failing to install
Date: Wed, 25 Aug 2010 20:07:29
Message-Id: 20100825192029.GA26513@Mystical
In Reply to: Re: [gentoo-qa] QA confusion: Upstream qa issues -> failing to install by "Diego Elio Pettenò"
On Wed, Aug 25, 2010 at 05:55:07PM +0200, Diego Elio Pettenò wrote:
> Il giorno mer, 25/08/2010 alle 17.20 +0300, Markos Chandras ha scritto: > > On Wed, Aug 25, 2010 at 01:42:12PM +0200, Thilo Bangert wrote: > > > * QA Notice: Package has poor programming practices which may compile > > > * fine but exhibit random runtime failures. > > > * closefromtest.c:46: warning: implicit declaration of function > > > ‘closefrom’ > > > > > This is a rather common bug for 64bit arches > > Actually no; the one common for 64bit arches is "implicit pointer > conversion" warning (which may be caused by an implicit declaration, > since implicit declarations default to int as return type!) that is > always fatal on 64-bit (it would crash the code as the returned pointer > would be crippled. >
Diego thanks for the info. Can you please explain me why this is fatal only with certain cflags combination? If I use -march=native -O2 -pipe the compilation doesn't fail but if I add -ggdb -Wall the compilation fails. I don't quite understand why so I would be grateful if you could enlighten me -- Markos Chandras (hwoarang) Gentoo Linux Developer Web: http://hwoarang.silverarrow.org Key ID: 441AC410 Key FP: AAD0 8591 E3CD 445D 6411 3477 F7F7 1E8E 441A C410

Replies

Subject Author
Re: [gentoo-qa] QA confusion: Upstream qa issues -> failing to install "Diego Elio Pettenò" <flameeyes@×××××.com>