ports/132294: [PATCH] lang/ruby18: Add option to build with
Profile-Guided Optimization
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Tue Nov 10 17:13:10 UTC 2009
Quoting Stanislav Sedov <stas at FreeBSD.org>:
> On Tue, 23 Jun 2009 13:24:23 -0300
> Mario Sergio Fujikawa Ferreira <lioux at 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
>
>
--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature
More information about the freebsd-gecko
mailing list