latest chromium (14.0.835.163): gcc45 issues

George Liaskos geo.liaskos at gmail.com
Thu Sep 29 21:39:01 UTC 2011


On Wed, Sep 21, 2011 at 12:01 PM, Andriy Gapon <avg at freebsd.org> wrote:
>
> First, a tiny typical problem:
> --- media/filters/file_data_source.h.orig
> +++ media/filters/file_data_source.h
> @@ -5,6 +5,7 @@
>  #ifndef MEDIA_FILTERS_FILE_DATA_SOURCE_H_
>  #define MEDIA_FILTERS_FILE_DATA_SOURCE_H_
>
> +#include <cstdio>
>  #include <string>
>
>  #include "base/gtest_prod_util.h"
>
> That's for the definition of FILE.
>
> 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.

Hey,

I've just committed a fix in trunk, -pie on ldflags was causing this.


Regards,
George


More information about the freebsd-chromium mailing list