From owner-freebsd-chromium@FreeBSD.ORG Tue Aug 12 11:27:31 2014 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FB8AB97; Tue, 12 Aug 2014 11:27:31 +0000 (UTC) Received: from erelay3.ox.registrar-servers.com (erelay3.ox.registrar-servers.com [192.64.117.2]) by mx1.freebsd.org (Postfix) with ESMTP id 480E02FEC; Tue, 12 Aug 2014 11:27:31 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id F263A22048BF; Tue, 12 Aug 2014 11:27:30 +0000 (UTC) Received: from erelay1.ox.registrar-servers.com ([127.0.0.1]) by localhost (erelay.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GiWQNxzR0zcY; Tue, 12 Aug 2014 07:27:29 -0400 (EDT) Received: from imap2.ox.privateemail.com (imap2.ox.privateemail.com [198.187.29.234]) by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id C20002204897; Tue, 12 Aug 2014 07:27:29 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 67A8D8C0075; Tue, 12 Aug 2014 07:27:29 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CE8RS07xKcX4; Tue, 12 Aug 2014 07:27:29 -0400 (EDT) Received: from localhost (186.Red-81-35-74.dynamicIP.rima-tde.net [81.35.74.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 8196B8C007B; Tue, 12 Aug 2014 07:27:28 -0400 (EDT) Date: Tue, 12 Aug 2014 13:26:29 +0200 From: Carlos Jacobo Puga Medina To: =?ISO-8859-1?Q?Ren=E9?= Ladan Subject: Re: chromium 36 almost there ... Message-Id: <20140812132629.ad6846341051e0babbbaa781@fbsd.es> In-Reply-To: References: <20140812130308.8c14fd6a9b9abf96846fe7b6@fbsd.es> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; i386-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-chromium@freebsd.org X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 11:27:31 -0000 On Tue, 12 Aug 2014 13:11:52 +0200 Ren=E9 Ladan wrote: > 2014-08-12 13:03 GMT+02:00 Carlos Jacobo Puga Medina : >=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: [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