Hi Friends
While compiling mod pagespeed I'm getting below error :
$make AR.host=`pwd`/build/wrappers/ar.sh AR.target=`pwd`/build/wrappers/ar.sh BUILDTYPE=Release V=1
LD_LIBRARY_PATH=/www/tools/mod_pagespeed/src/out/Release/lib.host:/www/tools/mod_pagespeed/src/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd build; mkdir -p /www/tools/mod_pagespeed/src/out/Release/obj/gen/build; /bin/sh ../build/lastchange.sh .. -o "/www/tools/mod_pagespeed/src/out/Release/obj/gen/build/LASTCHANGE" -d ../LASTCHANGE.in
LD_LIBRARY_PATH=/www/tools/mod_pagespeed/src/out/Release/lib.host:/www/tools/mod_pagespeed/src/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd build; mkdir -p /www/tools/mod_pagespeed/src/out/Release/obj/gen/net/instaweb/public; python version.py -f ../net/instaweb/public/VERSION -f "/www/tools/mod_pagespeed/src/out/Release/obj/gen/build/LASTCHANGE" ../net/instaweb/public/
version.h.in "/www/tools/mod_pagespeed/src/out/Release/obj/gen/net/instaweb/public/version.h"
cc '-DCHROMIUM_REVISION=256281' '-DV8_DEPRECATION_WARNINGS' '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' '-D_FILE_OFFSET_BITS=64' '-DPAGESPEED_SUPPORT_POSIX_SHARED_MEM' '-DGTEST_HAS_RTTI=1' '-DCHROMIUM_BUILD' '-DTOOLKIT_VIEWS=1' '-DUI_COMPOSITOR_IMAGE_TRANSPORT' '-DUSE_AURA=1' '-DUSE_CAIRO=1' '-DUSE_GLIB=1' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DUSE_CLIPBOARD_AURAX11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DUSE_XI2_MT=2' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_NEW_GAMEPAD_API=1' '-DUSE_UDEV' '-DENABLE_EGLIMAGE=1' '-DENABLE_TASK_MANAGER=1' '-DENABLE_EXTENSIONS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_PLUGINS=1' '-DENABLE_SESSION_SERVICE=1' '-DENABLE_THEMES=1' '-DENABLE_AUTOFILL_DIALOG=1' '-DENABLE_BACKGROUND=1' '-DENABLE_AUTOMATION=1' '-DENABLE_GOOGLE_NOW=1' '-DCLD_VERSION=2' '-DENABLE_FULL_PRINTING=1' '-DENABLE_PRINTING=1' '-DENABLE_SPELLCHECK=1' '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' '-DENABLE_APP_LIST=1' '-DENABLE_SETTINGS_APP=1' '-DENABLE_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DBORINGSSL_IMPLEMENTATION' '-DBORINGSSL_NO_STATIC_INITIALIZER' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/chromium/src -Ithird_party/boringssl/src/include -Ithird_party/boringssl/src/crypto -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -fexceptions -fasynchronous-unwind-tables -D_POSIX_C_SOURCE=200112L -Wno-format -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -MMD -MF out/Release/.deps/out/Release/obj.target/openssl/third_party/boringssl/src/crypto/cpu-intel.o.d.raw -c -o out/Release/obj.target/openssl/third_party/boringssl/src/crypto/cpu-intel.o third_party/boringssl/src/crypto/cpu-intel.c
{standard input}: Assembler messages:
{standard input}:171: Error: no such instruction: `xgetbv'
make: *** [out/Release/obj.target/openssl/third_party/boringssl/src/crypto/cpu-intel.o] Error 1
============================================
I found there are reference to xgetbv into ./third_party/chromium/src/base/cpu.cc file. Do we need to modify it's content please let me know.
============================================
NOTE : I'm installing mod page speed with non root user.
============================================
Thanks in Advance. :)
--
Thanks & regards,
Sanket