Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 13:26:29 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        =?ISO-8859-1?Q?Ren=E9?= Ladan <rene@freebsd.org>
Cc:        freebsd-chromium@freebsd.org
Subject:   Re: chromium 36 almost there ...
Message-ID:  <20140812132629.ad6846341051e0babbbaa781@fbsd.es>
In-Reply-To: <CADL2u4iZ%2B5zgcAzyj9jkShTEsnnYpr6et1GmhhxChVGE-A3VTw@mail.gmail.com>
References:  <20140812130308.8c14fd6a9b9abf96846fe7b6@fbsd.es> <CADL2u4iZ%2B5zgcAzyj9jkShTEsnnYpr6et1GmhhxChVGE-A3VTw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Aug 2014 13:11:52 +0200
Ren=E9 Ladan <rene@freebsd.org> wrote:

> 2014-08-12 13:03 GMT+02:00 Carlos Jacobo Puga Medina <cpm@fbsd.es>:
>=20
> > I'm testing it on 11-CURRENT/i386. It's building fine so far.
> >
> > # cd /usr/ports/www/chromium && make -V GYP_DEFINES
> > clang_use_chrome_plugins=3D0  linux_breakpad=3D0  linux_use_heapchecker=
=3D0
> >  linux_strip_binary=3D1  test_isolation_mode=3Dnoop  disable_nacl=3D1
> >  enable_one_click_signin=3D1  enable_openmax=3D1  enable_webrtc=3D1  we=
rror=3D
> >  no_gc_sections=3D1  os_ver=3D1100028  prefix_dir=3D/usr/local  python_=
ver=3D2.7
> >  use_allocator=3Dnone  use_cups=3D1  use_gnome_keyring=3D1
> >  linux_link_gnome_keyring=3D1  linux_link_gsettings=3D1  linux_link_lib=
pci=3D1
> >  linux_link_libspeechd=3D1  libspeechd_h_prefix=3Dspeech-dispatcher/
> >  usb_ids_path=3D/usr/local/share/usbids/usb.ids  want_separate_host_too=
lset=3D0
> >  use_system_bzip2=3D1  use_system_flac=3D1  use_system_harfbuzz=3D1
> >  use_system_icu=3D1  use_system_jsoncpp=3D1  use_system_libevent=3D1
> >  use_system_libexif=3D1  use_system_libjpeg=3D1  use_system_libpng=3D1
> >  use_system_libusb=3D1  use_system_libwebp=3D1  use_system_libxml=3D1
> >  use_system_libxslt=3D1  use_system_minizip=3D1  use_system_nspr=3D1
> >  use_system_openssl=3D1  use_system_protobuf=3D1  use_system_re2=3D1
> >  use_system_snappy=3D1  use_system_speex=3D1  use_system_xdg_utils=3D1 =
 use_sys
> >  tem_yasm=3D1  use_system_zlib=3D1
> > flapper_version_h_file=3D'/usr/ports/www/chromium/work/chromium-36.0.19=
85.125/flapper_version.h'
> > google_api_key=3DAIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8
> >  google_default_client_id=3D996322985003.apps.googleusercontent.com
> >  google_default_client_secret=3DIR1za9-1VK0zZ0f_O8MVFicn
> > ffmpeg_branding=3DChrome proprietary_codecs=3D1 use_gconf=3D1 use_pulse=
audio=3D0
> > disable_sse2=3D1 gcc_version=3D48
> >
> > Why not use the native compiler (clang) ? But since you're using gcc 4.8
> anyway, feel free to post any hacks needed to get it compiling.

If I build chromium with clang 3.4.1 fails for me due to typedef redefiniti=
on errors:

<snip>
[6455/14373] CXX obj/gpu/command_buffe...ommand_buffer_service.buffer_manag=
er.o
FAILED: c++ -MMD -MF obj/gpu/command_buffer/service/command_buffer_service.=
buffer_manager.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECOR=
D_TIME -D_FILE_OFFSET_BITS=3D64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUI=
LD -DCR_CLANG_REVISION=3D206824 -DTOOLKIT_VIEWS=3D1 -DUSE_AURA=3D1 -DUSE_CA=
IRO=3D1 -DUSE_GLIB=3D1 -DUSE_DEFAULT_RENDER_THEME=3D1 -DUSE_LIBJPEG_TURBO=
=3D1 -DUSE_X11=3D1 -DUSE_CLIPBOARD_AURAX11=3D1 -DENABLE_ONE_CLICK_SIGNIN -D=
USE_XI2_MT=3D2 -DENABLE_REMOTING=3D1 -DENABLE_WEBRTC=3D1 -DUSE_PROPRIETARY_=
CODECS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_EGLIMA=
GE=3D1 -DENABLE_TASK_MANAGER=3D1 -DENABLE_EXTENSIONS=3D1 -DENABLE_PLUGINS=
=3D1 -DENABLE_SESSION_SERVICE=3D1 -DENABLE_THEMES=3D1 -DENABLE_AUTOFILL_DIA=
LOG=3D1 -DENABLE_BACKGROUND=3D1 -DENABLE_GOOGLE_NOW=3D1 -DCLD_VERSION=3D2 -=
DENABLE_FULL_PRINTING=3D1 -DENABLE_PRINTING=3D1 -DENABLE_SPELLCHECK=3D1 -DE=
NABLE_CAPTIVE_PORTAL_DETECTION=3D1 -DENABLE_APP_LIST=3D1 -DENABLE_SETTINGS_=
APP=3D1 -DENABLE_MANAGED_USERS=3D1 '-DDATA_REDUCTION_FALLBACK_HOST=3D"http:=
//compress.goo
 glezip.net:80/"' '-DDATA_REDUCTION_DEV_HOST=3D"http://proxy-dev.googlezip.=
net:80/"' '-DSPDY_PROXY_AUTH_ORIGIN=3D"https://proxy.googlezip.net:443/"' '=
-DDATA_REDUCTION_PROXY_PROBE_URL=3D"http://check.googlezip.net/connect"' -D=
GL_GLEXT_PROTOTYPES -DPROTOBUF_USE_DLLS -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_=
PROTOBUF_NO_STATIC_INITIALIZER -DSK_ENABLE_INST_COUNT=3D0 -DSK_SUPPORT_GPU=
=3D1 '-DGR_GL_CUSTOM_SETUP_HEADER=3D"GrGLConfig_chrome.h"' -DSK_ENABLE_LEGA=
CY_API_ALIASING=3D1 -DSK_ATTR_DEPRECATED=3DSK_NOTHING_ARG1 -DGR_GL_IGNORE_E=
S3_MSAA=3D0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_PUBLI=
CEFFECTCONSTRUCTORS=3D1 -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGAC=
Y_N32_NAME -DSK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE -DSK_SUPPORT_LEGACY_GET=
TOTALCLIP -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=3D1 -D=
U_USING_ICU_NAMESPACE=3D0 -DU_STATIC_IMPLEMENTATION -DUSE_NSS=3D1 -D__STDC_=
CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DOFFICIAL_BUILD -DNVALGRIN=
D -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -D_FORTIFY_SOURC
 E=3D2 -I../.. -I../../third_party/khronos -I../../gpu -I/usr/local/include=
 -I../../skia/config -Igen/protoc_out -I../../net/third_party/nss/ssl -I../=
../third_party/protobuf -I../../third_party/protobuf/src -I../../third_part=
y/re2 -I../../third_party/skia/src/core -I../../third_party/skia/include/co=
re -I../../third_party/skia/include/effects -I../../third_party/skia/includ=
e/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include=
/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/inc=
lude/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/i=
nclude/utils -I../../skia/ext -I../../third_party/icu/source/i18n -I../../t=
hird_party/icu/source/common -Igen/ui/gl -I../../third_party/mesa/src/inclu=
de -fstack-protector --param=3Dssp-buffer-size=3D4  -pthread -fno-exception=
s -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initi=
alizers -fvisibility=3Dhidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscr=
ipts -Wno-unneeded-internal-dec
 laration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrow=
ing -Wno-reserved-user-defined-literal -Wno-deprecated-register -Wno-absolu=
te-value -momit-leaf-frame-pointer -fcolor-diagnostics -pthread -I/usr/loca=
l/include/glib-2.0 -I/usr/local/include -I/usr/local/include/nss -I/usr/loc=
al/include/nss/nss -I/usr/local/include/nspr -Wno-header-guard -msse2 -mmmx=
 -m32 -O2 -fdata-sections -ffunction-sections -funwind-tables -O2 -pipe -fn=
o-stack-protector -Wno-unknown-warning-option -fno-strict-aliasing -fno-rtt=
i -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=
=3Dgnu++11  -c ../../gpu/command_buffer/service/buffer_manager.cc -o obj/gp=
u/command_buffer/service/command_buffer_service.buffer_manager.o
In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
In file included from ../../gpu/command_buffer/service/context_state.h:14:
In file included from ../../gpu/command_buffer/service/query_manager.h:16:
In file included from ../../gpu/command_buffer/service/feature_info.h:14:
In file included from ../../gpu/command_buffer/service/gles2_cmd_validation=
.h:13:
../../gpu/command_buffer/common/gles2_cmd_format.h:41:26: error: typedef re=
definition with different types ('khronos_intptr_t' (aka 'long') vs 'ptrdif=
f_t' (aka 'int'))
typedef khronos_intptr_t GLintptr;
                         ^
/usr/local/include/GL/glext.h:6152:19: note: previous definition is here
typedef ptrdiff_t GLintptr;
                  ^
In file included from ../../gpu/command_buffer/service/buffer_manager.cc:10:
In file included from ../../gpu/command_buffer/service/context_state.h:14:
In file included from ../../gpu/command_buffer/service/query_manager.h:16:
In file included from ../../gpu/command_buffer/service/feature_info.h:14:
In file included from ../../gpu/command_buffer/service/gles2_cmd_validation=
.h:13:
../../gpu/command_buffer/common/gles2_cmd_format.h:42:26: error: typedef re=
definition with different types ('khronos_ssize_t' (aka 'long') vs 'ptrdiff=
_t' (aka 'int'))
typedef khronos_ssize_t  GLsizeiptr;
                         ^
/usr/local/include/GL/glext.h:6153:19: note: previous definition is here
typedef ptrdiff_t GLsizeiptr;
                  ^
2 errors generated.
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

>=20
> Regards,
> Ren=E9
>=20
> --=20
> http://www.rene-ladan.nl/

--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140812132629.ad6846341051e0babbbaa781>