Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: glibc versions prior to 2.19-r1
Date: Tue, 23 Dec 2014 13:36:22
Message-Id: 54996FEC.8010009@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: glibc versions prior to 2.19-r1 by "Andreas K. Huettel"
1 On 12/22/14 16:37, Andreas K. Huettel wrote:
2 > Am Montag, 22. Dezember 2014, 18:24:32 schrieb Anthony G. Basile:
3 >
4 >>> Well the side effect of this is that arcane and unmaintainable bandworms
5 >>> like toolchain.eclass are generated, with dozens of case distinctions
6 >>> for packages that *nearly* noone needs. Yes it's fine to keep old things
7 >>> for a few people, does it merit slowing everyone else down though?
8 >>>
9 >>> Do we really need glibc 2.9_p20081201-r3, 2.10.1-r1, 2.11.3, 2.12.1-r3,
10 >>> 2.12.2, 2.13-r2, 2.14, 2.14.1-r2, 2.14.1-r3, 2.15-r1, 2.15-r2, 2.15-r3,
11 >>> 2.16.0, 2.17, 2.18-r1, 2.19, 2.19-r1, and 2.20?
12 >> I can't fully speak to this as I'm not familiar. But are you?
13 > No, I'm not. Which is why I am asking. I'm happy to learn.
14
15 Shall I google that for you? j/k Here are the change logs ->
16 http://www.gnu.org/software/libc/ There are always some big ticket
17 items like I remember when -lrt stuff was moved into glibc or further
18 back when resolver stuff was moved out. Each of these changes usually
19 means breakage usually in terms of what breakout libraries you need and
20 what linker flags you need. But I can't pretend to have watched it
21 closely like I'm sure Mike does. I've watched musl and uclibc and just
22 hit up against the glibc changes as they mysteriously rain down from
23 Drepper.
24
25 >>> (On a related note, do we really need gcc 2.95.3-r10, 3.3.6-r1, 3.4.6-r2,
26 >>> 4.0.4, 4.1.2, 4.2.4-r1, 4.3.6-r1, 4.4.7, 4.5.1-r1, 4.5.2, 4.5.3-r2,
27 >>> 4.5.4, 4.6.0, 4.6.1-r1, 4.6.2, 4.6.3, 4.6.4, 4.7.0, 4.7.1, 4.7.2-r1,
28 >>> 4.7.3-r1, 4.7.4, 4.8.0, 4.8.1-r1, 4.8.2, 4.8.3, 4.9.0, 4.9.1, and (deep
29 >>> breath) 4.9.2?
30 >> Between 4.8.3 and 4.8.4 there were 80 bug fixes with a yet unknown
31 >> number of regressions. Most people that hit these kinds of problems
32 >> revert to the previous working versions.
33 > OK, so then let's keep all 4.7.x, 4.8.x, 4.9.x, the latest stable 4.5 and 4.6,
34 > and maybe 3.4.
35
36 And how would someone running 4.9 get to 3.4? I tested on amd64 and I
37 can compile any version of gcc in the tree with 4.8, except 2.95 which I
38 can't compile with *any* version. But that's on *amd64* I did not test
39 on the other arches. It would be bad if we did this and then 3.4 is not
40 buildable from4.8 but is from some intermediate version which we
41 dumped. The general testing rule for compiling gcc with gcc is two
42 versions back/forwards --- Ryan can correct me if he was doing something
43 different, but thats' what I've done for ages. So you really need to
44 keep that chain 4.8 -> 4.7 -> 4.6 ... -> 3.3 going.
45
46 >
47 >> Add to that the quantum leaps
48 >> between 4.X and 4.(X+1) with no backwards compat in abis. Plus the fact
49 >> that some sensitive software usually aimed a special chips need specific
50 >> versions and the answer is ... yes.
51 > One of the many moments when I really wish we had gentoostats up and running.
52
53 Why not let the maintainer decide what he/she will maintain? State
54 exactly is broken with toolchain that needs fixing and let's fix it.
55 But fixing it because its aesthetically unpleasing isn't good
56 engineering. Like the "messy drawer" in the kitchen. Every other
57 drawer is nice and tidy and you marvel at its organizational beauty. So
58 you stuff all the ugly complexity in this one drawer. No matter how much
59 you try to organize that drawer, its stays messy. And here's the
60 thing. Its useful that way. You can't get your brain around all the
61 mess and so you obsess about "cleaning it up" but if you give into the
62 temptation, the next time you need that square ladle you dumped because
63 it was ugly you'll regret it.
64
65 >
66 > Is it possible to emerge @system with, say, e.g. gcc-4.0 or 4.1?
67 >
68 > From the discussions about hardened 3.x is still interesting. But how much can
69 > you still do with it, does anyone try regularly?
70 >
71 > Is anyone even testing 2.95 anymore?
72 >
73 >> What happened here (in part) is the way we're doing multilib is
74 >> percolating through gentoo and hitting things it doesn't mesh with
75 >> well. That's fine we have to glue things together correctly. Throwing
76 >> stuff away when it doesn't mesh is not fine when its something good.
77 > Please explain the specific connection of this problem with multilib.
78 > (Shouldn't you usually use the same gcc version for your whole system as far
79 > as you can?)
80 >
81
82 Better yet, look at mgorny's ebuild approach to gcc-4.9 and you'll see
83 the inclusion of multilib. We want that for things like 64-bit address
84 space in gcc for mips -> https://bugs.gentoo.org/show_bug.cgi?id=477956
85 "Build sys-devel/gcc as an N64 binary on MIPS profiles with non-N64
86 default ABI"
87
88 --
89 Anthony G. Basile, Ph.D.
90 Gentoo Linux Developer [Hardened]
91 E-Mail : blueness@g.o
92 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
93 GnuPG ID : F52D4BBA

Replies

Subject Author
[gentoo-dev] Re: rfc: glibc versions prior to 2.19-r1 Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-dev] rfc: glibc versions prior to 2.19-r1 Matt Turner <mattst88@g.o>
Re: [gentoo-dev] rfc: glibc versions prior to 2.19-r1 "Andreas K. Huettel" <dilfridge@g.o>