maintainer-feedback requested: [Bug 202020] www/chromium fail to build with gcc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 1 10:11:40 UTC 2015


gja822 at narod.ru has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to chromium at FreeBSD.org:
Bug 202020: www/chromium fail to build with gcc
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202020



--- Description ---
Several last versions of www/chromium (up to latest 44.0.2403.125) won't build
with gcc. If I try gcc-5.2.0, gcc_version is misread as "5" instead of "52",
when I try gcc49 or gcc48, compilation stops with the following strange errors:


In file included from
../../third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c:42:0:
/usr/include/sys/sysctl.h:801:25: error: unknown type name 'u_int'
 int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
			 ^
In file included from
../../third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c:45:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h
:567:18:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
		  ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h
:567:28:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
			    ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h
:567:38:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
				      ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h
:587:27:
error: unknown type name 'u_long'
 int  strtofflags(char **, u_long *, u_long *);
			   ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h
:587:37:
error: unknown type name 'u_long'
 int  strtofflags(char **, u_long *, u_long *);
				     ^
[331/17440] CC obj/third_party/ffmpeg/libavcodec/ffmpeg.h264pred.o
ninja: build stopped: subcommand failed.


More information about the freebsd-chromium mailing list