latest chromium (14.0.835.163): gcc45 issues

Fabian Keil freebsd-listen at fabiankeil.de
Wed Sep 21 18:36:52 UTC 2011


Andriy Gapon <avg at FreeBSD.org> wrote:

> The next issue looks a bit more puzzling:
>   LINK(target) out/Release/chrome
> /usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against
> `_DYNAMIC' can not be used when making a shared object; recompile with
> -fPIC /usr/lib/crt1.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> 
> This is an amd64 system with 2 weeks old FreeBSD head.

Are you building with WITH_DEBUG=YES?

For me this results in a similar complaint when building
webkit-gtk2 (with base gcc, though):

/usr/bin/ld: ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o): relocation R_X86_64_PC32 against `cti_vm_throw' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
gmake[1]: *** [libwebkit-1.0.la] Error 1
gmake[1]: Leaving directory `/usr/obj/usr/ports/www/webkit-gtk2/work/webkit-1.2.7'

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-chromium/attachments/20110921/95e9c44f/signature.pgp


More information about the freebsd-chromium mailing list