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ò"
1 On Wed, Aug 25, 2010 at 05:55:07PM +0200, Diego Elio Pettenò wrote:
2 > Il giorno mer, 25/08/2010 alle 17.20 +0300, Markos Chandras ha scritto:
3 > > On Wed, Aug 25, 2010 at 01:42:12PM +0200, Thilo Bangert wrote:
4 > > > * QA Notice: Package has poor programming practices which may compile
5 > > > * fine but exhibit random runtime failures.
6 > > > * closefromtest.c:46: warning: implicit declaration of function
7 > > > ‘closefrom’
8 > > >
9 > > This is a rather common bug for 64bit arches
10 >
11 > Actually no; the one common for 64bit arches is "implicit pointer
12 > conversion" warning (which may be caused by an implicit declaration,
13 > since implicit declarations default to int as return type!) that is
14 > always fatal on 64-bit (it would crash the code as the returned pointer
15 > would be crippled.
16 >
17 Diego thanks for the info. Can you please explain me why this is fatal only
18 with certain cflags combination? If I use -march=native -O2 -pipe the
19 compilation doesn't fail but if I add -ggdb -Wall the compilation fails. I
20 don't quite understand why so I would be grateful if you could enlighten me
21
22
23 --
24 Markos Chandras (hwoarang)
25 Gentoo Linux Developer
26 Web: http://hwoarang.silverarrow.org
27 Key ID: 441AC410
28 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>