From owner-freebsd-gecko@FreeBSD.ORG Tue Nov 10 17:13:10 2009 Return-Path: Delivered-To: freebsd-gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C367C10656A3 for ; Tue, 10 Nov 2009 17:13:10 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from goat.gigo.com (ipv6.gigo.com [IPv6:2001:470:1:18::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3578FC27 for ; Tue, 10 Nov 2009 17:13:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by goat.gigo.com (Postfix) with ESMTP id 983728F5E for ; Tue, 10 Nov 2009 09:13:10 -0800 (PST) Received: from goat.gigo.com ([127.0.0.1]) by localhost (vette.gigo.com [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id CydZYAc28xlA for ; Tue, 10 Nov 2009 09:13:10 -0800 (PST) Received: from 201.88.119.237 (201-88-119-237.bsace702.dsl.brasiltelecom.net.br [201.88.119.237]) by goat.gigo.com (Postfix) with ESMTPSA id 392E08F55 for ; Tue, 10 Nov 2009 09:13:09 -0800 (PST) Received: (qmail 87635 invoked by uid 80); 10 Nov 2009 15:06:39 -0200 Received: from 200.201.164.49 ([200.201.164.49]) by exxodus.dyndns.org (Horde Framework) with HTTP; Tue, 10 Nov 2009 15:06:39 -0200 Message-ID: <20091110150639.123138ebmc7uxtic@exxodus.dyndns.org> Date: Tue, 10 Nov 2009 15:06:39 -0200 From: Mario Sergio Fujikawa Ferreira To: Stanislav Sedov References: <20090614105649.7962.qmail@exxodus.fedaykin.here> <20090614155142.8cd7f892.stas@FreeBSD.org> <20090623132423.16266s6vjhtqzkow@exxodus.dyndns.org> <20090623203241.aa6eaa25.stas@FreeBSD.org> (sfid-20090623_15270_0E653795) (sfid-20090623_15270_0E653795) In-Reply-To: <20090623203241.aa6eaa25.stas@FreeBSD.org> (sfid-20090623_15270_0E653795) (sfid-20090623_15270_0E653795) MIME-Version: 1.0 User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.3) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-Description: Plaintext Version of Message X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-gecko@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/132294: [PATCH] lang/ruby18: Add option to build with Profile-Guided Optimization X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2009 17:13:10 -0000 Quoting Stanislav Sedov : > On Tue, 23 Jun 2009 13:24:23 -0300 > Mario Sergio Fujikawa Ferreira mentioned: > >> Hi, >> >> I do not think this is exclusive to PGO (profile guided >> optimization) builds. I am receiving the exact same error message on >> math/libjbigi (which is now marked broken because of this). It is >> not just recompiling with -fPIC. That did not fix math/libjbigi. >> >> /usr/bin/ld: /usr/lib/libgcov.a(_gcov_one_value_profiler.o): >> relocation R_X86_64_32 can not be used when making a shared object; >> recompile with -fPIC >> >> Unfortunately, I do not have an amd64 FBSD install to pursue this >> one. I am not even sure how to begin. We might need someone >> knowledgeable on the gcc build toolchain. >> >> My suggestion would be (perhaps) checking math/libjibi 1st. It >> could be an easier target (very small build). We could fix that one >> 1st then try the same fix on lang/ruby18. >> >> However, I would require your assistance since I do not have a >> amd64 FBSD install. >> >> Incidentally, this is the exact same error message reported for >> the www/firefox3 PGO PR ports/132231. I am CCing the firefox3 >> maintainer so that he can follow this issue as well. >> > > Hi! > > I tried to track the issue and it appears to be the bug in our amd64 gcov > build. It was build without proper PIC flags set, but kan fixed this issue > on HEAD recently by my request. I have not tested it yet, though. I'll > try tomorrow's evening. > > Best regards, > -- > Stanislav Sedov > ST4096-RIPE > > -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature