Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Emerge does want to tell me...what?
Date: Tue, 05 Dec 2017 16:46:47
Message-Id: 347d6c8b-03dd-bb45-046c-f9eb8b8cfa20@st.com
In Reply to: Re: [gentoo-user] Re: Emerge does want to tell me...what? by Peter Humphrey
1 Peter Humphrey wrote:
2 > On Tuesday, 5 December 2017 10:23:30 GMT Peter Humphrey wrote:
3 >
4 >> I've been waiting for shouts of horror at that suggestion, but all's quiet
5 >> so I'll see if I can remember how to set -fpic in the environment of
6 >> palemoon. I'd have expected the ebuild do that though.
7 >
8 > OK, I've done that and now I get these errors:
9 >
10 > [...]
11 > 10:08.72 ../../build/unix/gold/ld: error: /var/tmp/portage/www-client/
12 > palemoon-27.6.2/work/palemoon-27.6.2/o/toolkit/library/../../media/
13 > libstagefright/Unified_cpp_media_libstagefright0.o: requires dynamic
14 > R_X86_64_PC32 reloc against '_Z13GetDemuxerLogv' which may overflow at
15 > runtime; recompile with -fPIC
16 > 10:08.72 ../../build/unix/gold/ld: error: read-only segment has dynamic
17 > relocations
18 > 10:08.72 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/
19 > media/libstagefright/binding/MoofParser.cpp:767: error: undefined reference
20 > to 'GetDemuxerLog()'
21 > [...]
22 >
23 > I can't see how an undefined reference can be due to my environment, or can
24 > it?
25 >
26
27 The real error is few lines above and the solution suggested: 'recompile with -fPIC'. ld
28 does not find a suitable GetDemuxerLog due to that error. Looks like your -fpic
29 modification did not make it through.
30
31 raffaele

Replies

Subject Author
Re: [gentoo-user] Re: Emerge does want to tell me...what? Peter Humphrey <peter@××××××××××××.uk>