latest chromium (14.0.835.163): gcc45 issues
avg at FreeBSD.org
Mon Oct 10 21:23:01 UTC 2011
on 30/09/2011 00:38 George Liaskos said the following:
> 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.
> I've just committed a fix in trunk, -pie on ldflags was causing this.
More information about the freebsd-chromium