1 |
On 01 Feb 2016 14:29, Alex McWhirter wrote: |
2 |
> On 02/01/2016 12:44 PM, Mike Frysinger wrote: |
3 |
> > On 29 Jan 2016 19:55, Alex McWhirter wrote: |
4 |
> >> On 01/29/2016 07:44 PM, Mike Frysinger wrote: |
5 |
> >>> On 29 Jan 2016 19:28, Alex McWhirter wrote: |
6 |
> >>>> Regarding the issue with pcitutils, it is indeed and issue with gold. It |
7 |
> >>>> turns out udev is broken as well, as in it wont start. |
8 |
> >>>> |
9 |
> >>>> binutils has supposedly fixed this issue upstream, i may try to emerge |
10 |
> >>>> 9999 later tonight. perhaps eudev fairs a bit better than udev? Would |
11 |
> >>>> there be any issue with moving to eudev as a default? |
12 |
> >>> arches should not be picking any defaults like udev. we should be using |
13 |
> >>> the same default across all linux systems. especially if the only point |
14 |
> >>> is to workaround a bug in gold. |
15 |
> >>> |
16 |
> >>> is the fix in binutils-2.26 ? that's going into the tree in a bit ... |
17 |
> >>> i'm waiting for some feedback from upstream before i push it. |
18 |
> >> |
19 |
> >> I can check to see if the fix is in .26, but eudev does work without |
20 |
> >> issue for what it's worth. pciutils is also compiling without issue with |
21 |
> >> eudev. |
22 |
> >> |
23 |
> >> I will try pulling 9999 and see if the issue is no longer there, if it's |
24 |
> >> been resolved there then ill check into .26 |
25 |
> >> |
26 |
> >> Without that fix, sparc64 is probably a no-go. I suppose we could always |
27 |
> >> patch .25 if needed. |
28 |
> > |
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 |
> |
33 |
> It looks like udev is hard coded to use gold, i may have to hack around |
34 |
> with configure.ac to get it to compile with bfd. |
35 |
|
36 |
OK, that's an important point :). yes, we'll want to deploy a hack for |
37 |
`use sparc` to the udev ebuild to disable the usage of gold. should be |
38 |
as simple as: |
39 |
if use sparc ; then |
40 |
sed -i 's:-Wl,-fuse-ld=gold::' configure.ac || die |
41 |
fi |
42 |
-mike |