Gentoo Archives: gentoo-amd64

From: Bryan Green <bryan.d.green@××××.gov>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: dev-util/devhelp-0.21 emerge fails
Date: Mon, 08 Dec 2008 17:39:13
Message-Id: 20081208173911.04B97239260@ece06.nas.nasa.gov
1 Duncan writes:
2 > Thanasis <thanasis@××××××××××.org> posted 4936D6A1.9030002@××××××××××.org,
3 > excerpted below, on Wed, 03 Dec 2008 20:57:37 +0200:
4 >
5 > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/
6 > bin/ld:
7 > > .libs/libdevhelp_1_la-Yelper.o: relocation R_X86_64_PC32 against symbol
8 > > `gtk_moz_embed_get_nsIWebBrowser' can not be used when making a shared
9 > > object; recompile with -fPIC
10 > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/
11 > bin/ld:
12 > > final link failed: Bad value collect2: ld returned 1 exit status
13 >
14 > Well, that seems to have gotten you further, and the error is clearer now.
15 >
16 > > relocation R_X86_64_PC32
17 >
18 > An error of that nature shows it's trying to link 32-bit code into a 64-
19 > bit binary. That's not going to work. Somehow, you need to get it to
20 > see the 64-bit version and use it instead of the 32-bit version, but
21 > that's beyond my ability to solve.
22 >
23 > It won't help you if you need 32-bit, but it's worth noting that such
24 > errors don't happen if you're running a no-multilib profile. I haven't
25 > seen that problem in awhile, since there's no 32-bit library on my system
26 > for it to get mixed up with and try to link to. But if you play 32-bit
27 > games or something, you'll want to keep multilib, and removing it isn't
28 > fixing the bug, just working around it, anyway.
29 >
30 > I'd say file a bug and let the devs help on this one, at least if you
31 > don't wish to switch to no-multilib.
32
33 I am experiencing the same problem.
34 I've submitted a bug report: Bug 250306
35
36 -bryan