Gentoo Archives: gentoo-amd64

From: Thanasis <thanasis@××××××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: dev-util/devhelp-0.21 emerge fails
Date: Tue, 09 Dec 2008 06:52:44
Message-Id: 493E15B8.1000809@asyr.hopto.org
In Reply to: [gentoo-amd64] Re: dev-util/devhelp-0.21 emerge fails by Duncan <1i5t5.duncan@cox.net>
1 on 12/04/2008 02:02 AM Duncan wrote the following:
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 did an switched to sys-devel/gcc-4.3.2 and recompiled all (system and
34 then world) and this time devhelp emerged fine. :-)

Replies

Subject Author
[gentoo-amd64] Re: dev-util/devhelp-0.21 emerge fails Duncan <1i5t5.duncan@×××.net>