https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202020

            Bug ID: 202020
           Summary: www/chromium fail to build with gcc
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chrom...@freebsd.org
          Reporter: gja...@narod.ru
          Assignee: chrom...@freebsd.org
             Flags: maintainer-feedback?(chrom...@freebsd.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-chromium@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "freebsd-chromium-unsubscr...@freebsd.org"

Reply via email to