ozone dri build failing on ubuntu

213 views
Skip to first unread message

Manish Rathod

unread,
Mar 14, 2014, 4:01:38 AM3/14/14
to ozon...@chromium.org
Hi All,

I have set use_ozone flag as 1 and am trying to build chromium on ubuntu 64 bit machine.
I wanted to check out the dri build of content_shell
I am getting the the error message while linking "ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:914: error : undefined reference to views::DesktopWindowTreeHost::GetNativeTheme(aura::Window*)
Kindly let me know how to resolve it.
I have use_aura=1, use_ozone=1.


Regards,
Manish

Tiago Vignatti

unread,
Mar 14, 2014, 4:36:49 AM3/14/14
to ozon...@chromium.org
Hi,

You're probably trying Ozone DRM implementation, which is one of the
defaults in Chromium upstream tree. Like Ararunprasad replied before,
you should explicitly disable views (toolkit_views=0) because
DesktopFactoryOzone is not implemented in Ozone DRM yet. Once you
disable it, content_shell will include Shell Aura platform instead
(content/shell/browser/shell_aura.cc) which won't carry any of those
views dependency that are undefined on your compilation.

Besides, there's the out-of-tree Ozone Wayland implementation which has
DesktopFactoryOzone supported and therefore more complex targets like
content_shell using views or Chromium Browser will work out of the box.

Tiago

Manish Rathod

unread,
Mar 14, 2014, 5:51:41 AM3/14/14
to ozon...@chromium.org
Hi Tiago,

I have explicitely disabled toolkit_views, ie toolkit_views=0, i am trying to build content_Shell on ubuntu.
To tell you waht i have done till now is ,
1) downloadded the latest chromium code
2) enabled use_ozone flag
3) build content_shell

I wanted to run ozone with dri on linux(ubuntu)
Ques : do i need to do some extra implementation or it should build automatically.

Thanks & Regards,
Manish

Arunprasad Rajkumar

unread,
Mar 14, 2014, 5:59:48 AM3/14/14
to Manish Rathod, ozon...@chromium.org
At least to my knowledge you are on the right path :)  but you should kill X11 Server before running content_shell using ozone DRI.

<BR/>
<Arun/>


To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+...@chromium.org.

Manish Rathod

unread,
Mar 14, 2014, 7:13:25 AM3/14/14
to ozon...@chromium.org, Manish Rathod
Hi Arun,

I am doing a static_library build , in this case the link of content_shell fails with error message while linking "ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:914: error : undefined reference to views::DesktopWindowTreeHost::GetNativeTheme(aura::Window*)
I saw that this function is only implemented in the file src/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc

Kindly let me know the procedure to get this error resolved.

Regards,
Manish

Kondapally, Kalyan

unread,
Mar 14, 2014, 7:17:25 AM3/14/14
to Manish Rathod, ozon...@chromium.org

Hi Manish,

 

Seems like you missed earlier reply from Tiago Vignatti.  Including here again:

 

 

“You're probably trying Ozone DRM implementation, which is one of the defaults in Chromium upstream tree. Like Ararunprasad replied before, you should explicitly disable views (toolkit_views=0) because DesktopFactoryOzone is not implemented in Ozone DRM yet. Once you disable it, content_shell will include Shell Aura platform instead

(content/shell/browser/shell_aura.cc) which won't carry any of those views dependency that are undefined on your compilation.

 

Besides, there's the out-of-tree Ozone Wayland implementation which has DesktopFactoryOzone supported and therefore more complex targets like content_shell using views or Chromium Browser will work out of the box.

 

Tiago”

 

Br,

Kalyan

To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+...@chromium.org.

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Arunprasad Rajkumar

unread,
Mar 14, 2014, 7:19:08 AM3/14/14
to Manish Rathod, ozon...@chromium.org
Are you running "build/gyp_chromium" after adding "toolkit_views=0" into GYP_DEFINES?

cd src
export GYP_DEFINES="use_aura=1 use_ozone=1 ozone_platform_dri=1 toolkit_views=0"
build/gyp_chromium
ninja -C out/Release content_shell

<BR/>
<Arun/>


To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+...@chromium.org.

Manish Rathod

unread,
Mar 16, 2014, 11:23:39 PM3/16/14
to ozon...@chromium.org, Manish Rathod
Thanks Arun, Kalyan, Tiago .. the build was successful and is also running fine.

edja...@gmail.com

unread,
Jan 11, 2016, 1:10:55 PM1/11/16
to Ozone-Dev, manish...@gmail.com
While compiling with above steps I am getting the following error.

../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
ninja: build stopped: subcommand failed.

Any inputs ?

Robert Kroeger

unread,
Jan 11, 2016, 1:17:03 PM1/11/16
to edja...@gmail.com, Ozone-Dev, manish...@gmail.com
So I landed a number of changes last week so this might be my fault. Can you provide a longer spew? I thought that my changes built/work when I landed them but I've been wrong about these things before. :-)

Rob.

edja...@gmail.com

unread,
Jan 12, 2016, 12:18:37 AM1/12/16
to Ozone-Dev, edja...@gmail.com, manish...@gmail.com
Hello Robert Kroeger ,

I am new to chromium browser. How ever I just followed the instructions for getting the code & install dependencies & build with ozone.

These are the steps i followed

1) I ran 'fetch chromium --nohooks --no-histoty' - completed successfuly

2)while doing build-dependencies there were errors

E: Unable to locate package lib32ncurses5-dev
E: Unable to locate package lib32z1-dev
I installed these packages manually.

3)gclient sync - completed successfully

4) gclient runhooks -completed successfully

5) Compile with ozone
cd src
export GYP_DEFINES="use_aura=1 use_ozone=1 ozone_platform_dri=1
toolkit_views=0"
build/gyp_chromium //ran without any errors
ninja -C out/Release content_shell

Errors Below..
-------------------------------------------------------------------------------HP-ProBook-445-G2:~/HBBTv2.0/Blink/chromium/chromium/src$ ninja -C out/Release content_shell
ninja: Entering directory `out/Release'
[6/13813] CC obj/third_party/opus/src/celt/opus.celt_encoder.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.celt_encoder.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/celt_encoder.c -o obj/third_party/opus/src/celt/opus.celt_encoder.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
[6/13813] CC obj/third_party/opus/src/celt/opus.celt.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.celt.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/celt.c -o obj/third_party/opus/src/celt/opus.celt.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
[6/13813] CC obj/third_party/opus/src/celt/opus.entcode.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.entcode.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/entcode.c -o obj/third_party/opus/src/celt/opus.entcode.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
[6/13813] CC obj/third_party/opus/src/celt/opus.entdec.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.entdec.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/entdec.c -o obj/third_party/opus/src/celt/opus.entdec.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
[6/13813] CC obj/third_party/opus/src/celt/opus.celt_lpc.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.celt_lpc.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/celt_lpc.c -o obj/third_party/opus/src/celt/opus.celt_lpc.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
[6/13813] CC obj/third_party/opus/src/celt/opus.cwrs.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/opus/src/celt/opus.cwrs.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOPUS_BUILD -DOPUS_EXPORT= -DHAVE_LRINT -DHAVE_LRINTF -DVAR_ARRAYS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../third_party/opus/src/celt -I../../third_party/opus/src/include -I../../third_party/opus/src/silk -I../../third_party/opus/src/silk/float -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Xclang -load -Xclang /home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-templates -momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign -fcolor-diagnostics -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wfor-loop-analysis -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-unused-variable -Wno-#pragma-messages -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -c ../../third_party/opus/src/celt/cwrs.c -o obj/third_party/opus/src/celt/opus.cwrs.o
../../third_party/llvm-build/Release+Asserts/bin/clang: 1: ../../third_party/llvm-build/Release+Asserts/bin/clang: Syntax error: ")" unexpected
ninja: build stopped: subcommand failed.

-------------------------------------------------------------------------------

edja...@gmail.com

unread,
Jan 13, 2016, 12:08:36 PM1/13/16
to Ozone-Dev, edja...@gmail.com, manish...@gmail.com
Hello Robert,

Any further news on this?. By the way I am using 14.04 TLS (32bit) Ubuntu machine
for compiling.

There has been similar issue reported( below link) , no resolution yet.

https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/%5Bchromium-dev%5D$20How$20to$20build$20chromium$20on$2032$20bit$20Linux$20machine/chromium-dev/jDBs0g9X8zE/__YayQ-ZAAAJ


Thanks

Robert Kroeger

unread,
Jan 13, 2016, 2:56:20 PM1/13/16
to edja...@gmail.com, Ozone-Dev, manish...@gmail.com

On Wednesday, January 13, 2016, <edja...@gmail.com> wrote:
Hello Robert,

Any further news on this?.  By the way I am using 14.04 TLS (32bit) Ubuntu machine
for compiling.

Sorry. I've not investigated your issue yet. Lots to do. :-)
 

There has been similar issue reported( below link) , no resolution yet.

I'm not convinced that it's the same issue. Wayland build still requires extra patches.

Rob.
 

https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-dev/%5Bchromium-dev%5D$20How$20to$20build$20chromium$20on$2032$20bit$20Linux$20machine/chromium-dev/jDBs0g9X8zE/__YayQ-ZAAAJ


Thanks

edja...@gmail.com

unread,
Jan 14, 2016, 8:29:12 AM1/14/16
to Ozone-Dev, edja...@gmail.com, manish...@gmail.com
Hello Robert


I just tried setting up clang=0 in GYP_DEFINES , I am getting errors from C++ headers now. ( My other C++ projects compile fine in my system)

This could be an additional input.

Much appreciate if you could give me some hint. I am breaking my head on this ...:(

Errors below:
--------------------------------------------------------------------

compilation terminated.
[6/13812] CXX obj/third_party/angle/src/compiler/preprocessor/preprocessor.MacroExpander.o
FAILED: c++ -MMD -MF obj/third_party/angle/src/compiler/preprocessor/preprocessor.MacroExpander.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -B/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wno-unused-local-typedefs -msse2 -mfpmath=sse -mmmx -m32 --sysroot=/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/build/linux/debian_wheezy_i386-sysroot -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -std=gnu++11 -Wno-narrowing -c ../../third_party/angle/src/compiler/preprocessor/MacroExpander.cpp -o obj/third_party/angle/src/compiler/preprocessor/preprocessor.MacroExpander.o
c++: error trying to exec '/home/wipro/HBBTv2.0/Blink/chromium/chromium/src/third_party/binutils/Linux_x64/Release/bin/as': execv: Exec format error
In file included from ../../third_party/angle/src/compiler/preprocessor/MacroExpander.cpp:7:0:
../../third_party/angle/src/compiler/preprocessor/MacroExpander.h:10:19: fatal error: cassert: No such file or directory

-------------------------------------------------------------------------------

Thanks again

Robert Kroeger

unread,
Jan 14, 2016, 6:55:57 PM1/14/16
to edja...@gmail.com, Ozone-Dev, manish...@gmail.com
I can't replicate this failure case. Builds fine for me. (Though I used GN instead of GYP.)  But that won't matter. Perhaps you should freshen your depot. Why are you on a 32bit system?

You are on a linux system? Can you build Linux x11 Chromium?
Message has been deleted

edja...@gmail.com

unread,
Feb 1, 2016, 11:20:50 AM2/1/16
to Ozone-Dev, edja...@gmail.com, manish...@gmail.com
Hello Robert,
Sorry for late response..

After long struggle i managed to compile my chromium source , and my chromium browser works fine with normal build. ( I am trying with 64bit ubuntu 14.04 TLS)

The ozone build also compiles fine but It doesn't execute with dri platform.

I am trying to run content_shell with,
./out/Release/content_shell --disable-setuid-sandbox --ozone-platform=dri

When i looked at the src/ui/ozone/platform ..there were no dri folder generated.

( I was able to execute only with headless platform)


Any insight on the error ?.


Thanks

Reply all
Reply to author
Forward
0 new messages