Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 20:32:41 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        freebsd-gecko@FreeBSD.org, bug-followup@FreeBSD.org
Subject:   Re: ports/132294: [PATCH] lang/ruby18: Add option to build with  Profile-Guided Optimization
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Jun 2009 13:24:23 -0300
Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090623203241.aa6eaa25.stas>