From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 10844139083 for ; Tue, 5 Dec 2017 16:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3910E104C; Tue, 5 Dec 2017 16:46:40 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44B0BE0FFA for ; Tue, 5 Dec 2017 16:46:39 +0000 (UTC) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vB5GiJvq005593 for ; Tue, 5 Dec 2017 17:46:23 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2enqkvjgj9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 05 Dec 2017 17:46:23 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 90F6A38 for ; Tue, 5 Dec 2017 16:46:22 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 818525493 for ; Tue, 5 Dec 2017 16:46:22 +0000 (GMT) Received: from [10.50.186.1] (10.75.127.51) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 5 Dec 2017 17:46:22 +0100 Subject: Re: [gentoo-user] Re: Emerge does want to tell me...what? To: References: <20171203044339.egi6467qif26m7zi@solfire> <20171204191933.GA11145@waltdnes.org> <1808483.LPKLH7Qx5N@peak> <5935316.xPNJxcPr5m@peak> From: Raffaele Belardi Message-ID: <347d6c8b-03dd-bb45-046c-f9eb8b8cfa20@st.com> Date: Tue, 5 Dec 2017 17:49:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <5935316.xPNJxcPr5m@peak> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-05_05:,, signatures=0 X-Archives-Salt: d7bd526a-45f6-4be0-87c0-d38b0f0dce65 X-Archives-Hash: ed12e5c656fc2ea3a43df4416c075a7e Peter Humphrey wrote: > On Tuesday, 5 December 2017 10:23:30 GMT Peter Humphrey wrote: > >> I've been waiting for shouts of horror at that suggestion, but all's quiet >> so I'll see if I can remember how to set -fpic in the environment of >> palemoon. I'd have expected the ebuild do that though. > > OK, I've done that and now I get these errors: > > [...] > 10:08.72 ../../build/unix/gold/ld: error: /var/tmp/portage/www-client/ > palemoon-27.6.2/work/palemoon-27.6.2/o/toolkit/library/../../media/ > libstagefright/Unified_cpp_media_libstagefright0.o: requires dynamic > R_X86_64_PC32 reloc against '_Z13GetDemuxerLogv' which may overflow at > runtime; recompile with -fPIC > 10:08.72 ../../build/unix/gold/ld: error: read-only segment has dynamic > relocations > 10:08.72 /var/tmp/portage/www-client/palemoon-27.6.2/work/palemoon-27.6.2/ > media/libstagefright/binding/MoofParser.cpp:767: error: undefined reference > to 'GetDemuxerLog()' > [...] > > I can't see how an undefined reference can be due to my environment, or can > it? > The real error is few lines above and the solution suggested: 'recompile with -fPIC'. ld does not find a suitable GetDemuxerLog due to that error. Looks like your -fpic modification did not make it through. raffaele