latest chromium (14.0.835.163): gcc45 issues

Andriy Gapon avg at FreeBSD.org
Wed Sep 21 09:20:02 UTC 2011


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.

-- 
Andriy Gapon


More information about the freebsd-chromium mailing list