1 |
On 01 Feb 2016 15:34, Alex McWhirter wrote: |
2 |
> On 02/01/2016 03:24 PM, Mike Frysinger wrote: |
3 |
> > On 01 Feb 2016 14:29, Alex McWhirter wrote: |
4 |
> >> On 02/01/2016 12:44 PM, Mike Frysinger wrote: |
5 |
> >>> On 29 Jan 2016 19:55, Alex McWhirter wrote: |
6 |
> >>>> On 01/29/2016 07:44 PM, Mike Frysinger wrote: |
7 |
> >>>>> On 29 Jan 2016 19:28, Alex McWhirter wrote: |
8 |
> >>>>>> Regarding the issue with pcitutils, it is indeed and issue with gold. It |
9 |
> >>>>>> turns out udev is broken as well, as in it wont start. |
10 |
> >>>>>> |
11 |
> >>>>>> binutils has supposedly fixed this issue upstream, i may try to emerge |
12 |
> >>>>>> 9999 later tonight. perhaps eudev fairs a bit better than udev? Would |
13 |
> >>>>>> there be any issue with moving to eudev as a default? |
14 |
> >>>>> arches should not be picking any defaults like udev. we should be using |
15 |
> >>>>> the same default across all linux systems. especially if the only point |
16 |
> >>>>> is to workaround a bug in gold. |
17 |
> >>>>> |
18 |
> >>>>> is the fix in binutils-2.26 ? that's going into the tree in a bit ... |
19 |
> >>>>> i'm waiting for some feedback from upstream before i push it. |
20 |
> >>>> I can check to see if the fix is in .26, but eudev does work without |
21 |
> >>>> issue for what it's worth. pciutils is also compiling without issue with |
22 |
> >>>> eudev. |
23 |
> >>>> |
24 |
> >>>> I will try pulling 9999 and see if the issue is no longer there, if it's |
25 |
> >>>> been resolved there then ill check into .26 |
26 |
> >>>> |
27 |
> >>>> Without that fix, sparc64 is probably a no-go. I suppose we could always |
28 |
> >>>> patch .25 if needed. |
29 |
> >>> why ? as i said, gold is not the default, and we don't hold up issues |
30 |
> >>> because of gold compatibility. if sparc64 w/ld.bfd works fine, then |
31 |
> >>> that's all we need. |
32 |
> >> It looks like udev is hard coded to use gold, i may have to hack around |
33 |
> >> with configure.ac to get it to compile with bfd. |
34 |
> > OK, that's an important point :). yes, we'll want to deploy a hack for |
35 |
> > `use sparc` to the udev ebuild to disable the usage of gold. should be |
36 |
> > as simple as: |
37 |
> > if use sparc ; then |
38 |
> > sed -i 's:-Wl,-fuse-ld=gold::' configure.ac || die |
39 |
> > fi |
40 |
> |
41 |
> The systemd mailing list makes it look like this may not be a sparc only |
42 |
> problem, it looks like it can also happen to 64 bit mips. What about |
43 |
> patching configure.ac to have an --disable-lto option? |
44 |
|
45 |
in cases like this, the preference would be to get any patches merged |
46 |
upstream, and then add that to our ebuild. but if upstream won't pick |
47 |
up a patch that'll help, just minimize the sed/patch hackary. generally |
48 |
the whole point of doing a "clean" patch is to get it merged upstream. |
49 |
-mike |