From owner-freebsd-gecko@FreeBSD.ORG Tue Jun 23 16:32:43 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 1097D106566C; Tue, 23 Jun 2009 16:32:43 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id BE7E18FC08; Tue, 23 Jun 2009 16:32:42 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from stasss.yandex.ru (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id 2D4B78FC27; Tue, 23 Jun 2009 20:32:41 +0400 (MSD) Date: Tue, 23 Jun 2009 20:32:41 +0400 From: Stanislav Sedov To: Mario Sergio Fujikawa Ferreira Message-Id: <20090623203241.aa6eaa25.stas@FreeBSD.org> In-Reply-To: <20090623132423.16266s6vjhtqzkow@exxodus.dyndns.org> References: <20090614105649.7962.qmail@exxodus.fedaykin.here> <20090614155142.8cd7f892.stas@FreeBSD.org> <20090623132423.16266s6vjhtqzkow@exxodus.dyndns.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 23 Jun 2009 16:32:43 -0000 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