Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Stable gcc:7.3.0 won't build with stable glibc
Date: Sat, 30 Mar 2019 17:39:17
Message-Id: q7o9jn$80b3$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Re: Stable gcc:7.3.0 won't build with stable glibc by Andrew Savchenko
1 On 2019-03-30, Andrew Savchenko <bircoph@g.o> wrote:
2 > On Sat, 30 Mar 2019 15:09:06 -0000 (UTC) Grant Edwards wrote:
3 >> On 2019-03-29, Philip Webb <purslow@××××××××.net> wrote:
4 >> > 190329 Grant Edwards wrote:
5 >> >
6 >> >> gcc-7.3.9-r3 is marked stable, yet it fails to build if you have the
7 >> >> current stable version of glibc installed (2.28-r5).
8 >> >
9 >> > I've been using Gcc-8.2.0-r6 since 170302 with Glibc-2.27-r6 : no problems.
10 >>
11 >> What I'm asking about is that 7.3.0-r3 (which is stable) won't build
12 >> with glibc-2.28 (which is stable). My question: is that considered a
13 >> bug or not?
14 >
15 > It depends on the details of the problem, but you provided no
16 > details to make further considerations.
17
18 glibc 2.27 has an include file "ustat.h" which declares a library
19 function ustat(). glibc 2.28 does not have that include file (nor the
20 function, AFAICT). Any application that #includes ustat.h or calls
21 ustat() fails to build with glibc 2.28.
22
23 > In general it would be considered a bug.
24 >
25 >> One might think that the 7.3.0-r3 ebuild should require
26 >> gblic < 2.28. Is one allowed to tweak ebuilds like that without
27 >> bumping the revision?
28 >>
29 >> FWIW 7.3.0-r6 does build and works fine for my application which won't
30 >> build with gcc-8 -- so it's purely an academic question.
31 >
32 > It's better to fix your application. Fixing problem revealed by gcc
33 > update is usually not hard.
34
35 My application uses a third-party open-source library for which I'm
36 not a maintainer. That library contains code that can't be built with
37 gcc 8.2. For various logistical reasons, I'm reluctant to make
38 changes to that code. [It creates headaches and extra work down the
39 road...]
40
41 --
42 Grant

Replies

Subject Author
Re: [gentoo-user] Re: Stable gcc:7.3.0 won't build with stable glibc Andrew Savchenko <bircoph@g.o>