Gentoo Archives: gentoo-sparc

From: Alex McWhirter <alexmcwhirter@×××××××.us>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] Official SPARC64 Port
Date: Mon, 01 Feb 2016 20:34:59
Message-Id: 56AFC16B.1060602@triadic.us
In Reply to: Re: [gentoo-sparc] Official SPARC64 Port by Mike Frysinger
1 On 02/01/2016 03:24 PM, Mike Frysinger wrote:
2 > On 01 Feb 2016 14:29, Alex McWhirter wrote:
3 >> On 02/01/2016 12:44 PM, Mike Frysinger wrote:
4 >>> On 29 Jan 2016 19:55, Alex McWhirter wrote:
5 >>>> On 01/29/2016 07:44 PM, Mike Frysinger wrote:
6 >>>>> On 29 Jan 2016 19:28, Alex McWhirter wrote:
7 >>>>>> Regarding the issue with pcitutils, it is indeed and issue with gold. It
8 >>>>>> turns out udev is broken as well, as in it wont start.
9 >>>>>>
10 >>>>>> binutils has supposedly fixed this issue upstream, i may try to emerge
11 >>>>>> 9999 later tonight. perhaps eudev fairs a bit better than udev? Would
12 >>>>>> there be any issue with moving to eudev as a default?
13 >>>>> arches should not be picking any defaults like udev. we should be using
14 >>>>> the same default across all linux systems. especially if the only point
15 >>>>> is to workaround a bug in gold.
16 >>>>>
17 >>>>> is the fix in binutils-2.26 ? that's going into the tree in a bit ...
18 >>>>> i'm waiting for some feedback from upstream before i push it.
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 >>> why ? as i said, gold is not the default, and we don't hold up issues
29 >>> because of gold compatibility. if sparc64 w/ld.bfd works fine, then
30 >>> that's all we need.
31 >> It looks like udev is hard coded to use gold, i may have to hack around
32 >> with configure.ac to get it to compile with bfd.
33 > OK, that's an important point :). yes, we'll want to deploy a hack for
34 > `use sparc` to the udev ebuild to disable the usage of gold. should be
35 > as simple as:
36 > if use sparc ; then
37 > sed -i 's:-Wl,-fuse-ld=gold::' configure.ac || die
38 > fi
39 > -mike
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 if use sparc ; then
46 configure_opts+=" --disable-lto "
47 fi

Replies

Subject Author
Re: [gentoo-sparc] Official SPARC64 Port Mike Frysinger <vapier@g.o>