LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2014, 07:10 AM   #1
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Rep: Reputation: Disabled
Can't build open source Chromium on Slackware 14.1


I've upgraded Slackware 64x14.0 to 64x14.1 with multilib packages.
And I'm trying to build source from

http://www.slackware.com/~alien/slac...hromium/build/

and having ending of log

Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libevent.so when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/libevent.a when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/../lib64/libevent.so when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/../lib64/libevent.a when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../libevent.so when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../libevent.a when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libevent.so when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libevent.a when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libevent.so when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libevent.a when searching for -levent
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -levent
collect2: error: ld returned 1 exit status
make: *** [out/Release/obj.target/ppapi/native_client/src/trusted/plugin/libppGoogleNaClPluginChrome.so] Error 1
install: cannot stat 'out/Release/chrome': No such file or directory
./chromium.SlackBuild FAILED at line 346
I installed Google-Chromium from Debian package and it works, but chromium project just doesn't want go. It might be something wrong with my slack.

Any ideas?

Last edited by zhen_khokh; 03-18-2014 at 07:37 AM.
 
Old 03-18-2014, 07:28 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Can't build open source Chromium on Slackware 14.1

there's something wrong with libevent, did configure said something about this?
 
Old 03-18-2014, 07:33 AM   #3
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Can't build package Chromium on Slackware 14.1

I'm using 64 bit Slackware and cant start up installed Chromium package from

http://www.slackware.com/~alien/slackbuilds/chromium/

and get

/usr/lib64/chromium/chromium: error while loading shared libraries: libevent-2.0.so.5: wrong ELF class: ELFCLASS32

I've also installed Google-Chromium from Debian package and it works fine.

When I bash

Code:
$ cat /etc/slackware-version
$ uname -a
$ ls -la /var/log/packages/chrom*
$ file /usr/lib64/chromium/chromium
I get

Code:
Slackware 14.1
Linux black 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz GenuineIntel GNU/Linux
-rw-r--r-- 1 root root 13560 мар 15 00:22 /var/log/packages/chromium-33.0.1750.149-x86_64-1alien
/usr/lib64/chromium/chromium: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped
Any suggestions?
 
Old 03-19-2014, 12:41 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
did your steps, same problem, system is missing libevent, while i think you have the 32 bit version installed
 
Old 03-19-2014, 03:37 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
libevent-2.0.so.5: wrong ELF class: ELFCLASS32
are you running multi lib from alein bob. I run into this all the time. My way of getting around this problem is not the correct way please contact slackbuilds alienbob and the configure on chromium. If you are not using the multi lib then this is very strange.

here is a link to how I handle this problem when this occurs. I call it a switch

Last edited by Drakeo; 03-19-2014 at 03:40 AM.
 
Old 03-19-2014, 04:51 AM   #6
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
did your steps, same problem, system is missing libevent, while i think you have the 32 bit version installed
Sounds strange but I checked

Quote:
file $(locate libevent) |grep libevent-2.0.so.5
grep libevent-2.0.so.5 /var/log/packages/*
and get
Quote:
/usr/lib64/libevent-2.0.so.5.1.9: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
/usr/lib64/libevent-2.0.so.5: symbolic link to `libevent-2.0.so.5.1.9'
/usr/lib64/libevent.so: symbolic link to `libevent-2.0.so.5.1.9'
/usr/lib64/libevent-2.so: symbolic link to `libevent-2.0.so.5.1.9'

/var/log/packages/libevent-2.0.21-x86_64-1:usr/lib64/libevent-2.0.so.5.1.9
You may rigth I'll try to reinstall it.

Last edited by zhen_khokh; 03-20-2014 at 08:02 AM.
 
Old 03-19-2014, 04:58 AM   #7
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
are you running multi lib from alein bob. I run into this all the time. My way of getting around this problem is not the correct way please contact slackbuilds alienbob and the configure on chromium. If you are not using the multi lib then this is very strange.
Yes I use multilib and all my x32 software is work.

Quote:
here is a link to how I handle this problem when this occurs. I call it a switch
I used UPGRATE.TXT file for upgrading Slackware. Why do I must use switch for that?
 
Old 03-19-2014, 05:11 AM   #8
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes it works. But how library went to lib64 and package has libevent-2.0.21-x86_64-1 name?
 
Old 03-19-2014, 05:13 AM   #9
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Can't build package Chromium on Slackware 14.1

doesn't a 32 bit library should be in /usr/lib rather than /usr/lib64?
 
Old 03-19-2014, 05:31 AM   #10
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
I reinstalled libevent from packages, but now have

Code:
In file included from v8/src/v8globals.h:31:0,
                 from v8/src/v8.h:54,
                 from v8/src/accessors.cc:28:
v8/src/globals.h:117:2: error: #error Target architecture x64 is only supported on x64 host
 #error Target architecture x64 is only supported on x64 host
  ^
In file included from v8/src/v8globals.h:31:0,
                 from v8/src/v8.h:54,
                 from v8/src/accessors.cc:28:
v8/src/globals.h:200:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 # define V8_UINT64_C(x)   (x ## ULL)
                                    ^
v8/src/execution.h:276:44: note: in expansion of macro 'V8_UINT64_C'
   static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);
                                            ^
v8/src/globals.h:200:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 # define V8_UINT64_C(x)   (x ## ULL)
                                    ^
v8/src/execution.h:277:42: note: in expansion of macro 'V8_UINT64_C'
   static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);
                                          ^
make: *** [out/Release/obj.target/v8_base.x64/v8/src/accessors.o] Error 1
install: cannot stat 'out/Release/chrome': No such file or directory
./chromium.SlackBuild FAILED at line 346
How to see configure?

Last edited by zhen_khokh; 03-19-2014 at 05:37 AM.
 
Old 03-19-2014, 06:09 AM   #11
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Can't build open source Chromium on Slackware 14.1

configure is executed before make, in a terminal it's hard to scroll back too much lines, i usually do slackbuild &> config.log to get all output. there's even ter command but i've never used it

beside, in you're other post i see you have problems with 32/64 bit libevent, i think it's related
 
Old 03-19-2014, 06:51 AM   #12
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes it is. That's why I'm asking.
 
Old 03-19-2014, 08:11 AM   #13
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
in your terminal in setting edit it for unlimited scroll. 2 watch it and when you see the "no" word press ctrl c . well that builds just fine for me on a Slackware 64 14.1 multi lib install. you may need to figure out why your installation is different from a stock install of Slackware with the standard alien bob multi lib install. hang in there that is a big one to build.

Last edited by Drakeo; 03-19-2014 at 08:18 AM.
 
Old 03-19-2014, 08:43 AM   #14
zhen_khokh
LQ Newbie
 
Registered: Mar 2014
Location: zelenograd
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
I copy beginning. As I see it's compile sources. Such disgusting string with g++ seems to repeat for every .c file.

Code:
++
|| chromium-33.0.1750.149
++
Extracting the source archive(s) for chromium...
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- build/gyp_chromium.orig	2013-12-11 03:07:03.941915587 +0000
|+++ build/gyp_chromium	2013-12-11 03:07:29.812073301 +0000
--------------------------
patching file build/gyp_chromium
Using Plan A...
Hunk #1 succeeded at 245 (offset 24 lines).
done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- native_client/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.c.orig	2013-11-16 01:22:50.000000000 +0100
|+++ native_client/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.c	2013-11-19 00:04:46.354265032 +0100
--------------------------
patching file native_client/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.c
Using Plan A...
Hunk #1 succeeded at 14.
done
Building ...
Updating projects from gyp files...
  LD_LIBRARY_PATH=/tmp/build/tmp-chromium/chromium-33.0.1750.149/out/Release/lib.host:/tmp/build/tmp-chromium/chromium-33.0.1750.149/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd chrome; mkdir -p /tmp/build/tmp-chromium/chromium-33.0.1750.149/out/Release/obj/gen/chrome/common; python tools/build/version.py -f VERSION -f app/theme/chromium/BRANDING -f ../build/util/LASTCHANGE common/chrome_version_info_posix.h.version "/tmp/build/tmp-chromium/chromium-33.0.1750.149/out/Release/obj/gen/chrome/common/chrome_version_info_posix.h"
  touch out/Release/obj.target/chrome/common_version.stamp
  g++ '-DV8_DEPRECATION_WARNINGS' '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DCHROMIUM_BUILD' '-DUSE_CAIRO=1' '-DUSE_GLIB=1' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DUSE_XI2_MT=2' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DUSE_UDEV' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DLOGGING_IS_OFFICIAL_BUILD=1' '-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_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_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DGOOGLE_PROTOBUF_NO_RTTI' '-DGOOGLE_PROTOBUF_NO_
STATIC_INITIALIZER' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/protobuf -Ithird_party/protobuf/src  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -Wno-format -Wno-unused-result -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -MMD -MF out/Release/.deps/out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.o.d.raw  -c -o out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.o third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc
  g++ '-DV8_DEPRECATION_WARNINGS' '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DCHROMIUM_BUILD' '-DUSE_CAIRO=1' '-DUSE_GLIB=1' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DUSE_XI2_MT=2' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DUSE_UDEV' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DLOGGING_IS_OFFICIAL_BUILD=1' '-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_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_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DGOOGLE_PROTOBUF_NO_RTTI' '-DGOOGLE_PROTOBUF_NO_
STATIC_INITIALIZER' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/protobuf -Ithird_party/protobuf/src  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -Wno-format -Wno-unused-result -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -MMD -MF out/Release/.deps/out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o.d.raw  -c -o out/Release/obj.host/protobuf_full_do_not_use/third_party/protobuf/src/google/protobuf/stubs/strutil.o third_party/protobuf/src/google/protobuf/stubs/strutil.cc
and ending one more time

Code:
  g++ '-DV8_DEPRECATION_WARNINGS' '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DCHROMIUM_BUILD' '-DUSE_CAIRO=1' '-DUSE_GLIB=1' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DUSE_XI2_MT=2' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DUSE_UDEV' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DLOGGING_IS_OFFICIAL_BUILD=1' '-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_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_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DGL_IMPLEMENTATION' '-DSK_ENABLE_INST_COUNT=0' '-
DSK_SUPPORT_GPU=1' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DSK_ENABLE_LEGACY_API_ALIASING=1' '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' '-DSK_SUPPORT_LEGACY_COLORTYPE=1' '-DGR_GL_IGNORE_ES3_MSAA=0' '-DSK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1' '-DSK_USE_POSIX_THREADS' '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' '-DU_USING_ICU_NAMESPACE=0' '-D__STDC_CONSTANT_MACROS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' '-D_FORTIFY_SOURCE=2' -Iout/Release/obj/gen/shim_headers/icui18n/target -Iout/Release/obj/gen/shim_headers/icuuc/target -Iout/Release/obj/gen/shim_headers/nspr/target -Iout/Release/obj/gen/shim_headers/libevent/target -Ithird_party/swiftshader/include -Ithird_party/mesa/src/include -Iout/Release/obj/gen/ui/gl -Ithird_party/khronos -Igpu -I. -Iskia/config -Ithird_party/skia/src/core -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/include/gpu -Ithird_party/skia/include/lazy -Ithird_party/skia/
include/pathops -Ithird_party/skia/include/pipe -Ithird_party/skia/include/ports -Ithird_party/skia/include/utils -Iskia/ext  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/lib64png14 -I/usr/include/harfbuzz -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-unknown-pragmas -O2 -fno-ident -fdata-sections -ffunction-sections -O2 -fPIC -Wno-unused-local-typedefs -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -MMD -MF out/Release/.deps/out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_glx.o.d.raw  -c -o out/Release/obj.target/
gl/gen/ui/gl/gl_bindings_autogen_glx.o out/Release/obj/gen/ui/gl/gl_bindings_autogen_glx.cc
  rm -f out/Release/obj.target/ui/gl/libgl_wrapper.a && ar crsT out/Release/obj.target/ui/gl/libgl_wrapper.a out/Release/obj.target/gl/ui/gl/gl_bindings_skia_in_process.o out/Release/obj.target/gl/ui/gl/gl_context.o out/Release/obj.target/gl/ui/gl/gl_context_osmesa.o out/Release/obj.target/gl/ui/gl/gl_context_stub.o out/Release/obj.target/gl/ui/gl/gl_context_x11.o out/Release/obj.target/gl/ui/gl/gl_fence.o out/Release/obj.target/gl/ui/gl/gl_gl_api_implementation.o out/Release/obj.target/gl/ui/gl/gl_image.o out/Release/obj.target/gl/ui/gl/gl_image_shm.o out/Release/obj.target/gl/ui/gl/gl_image_stub.o out/Release/obj.target/gl/ui/gl/gl_image_x11.o out/Release/obj.target/gl/ui/gl/gl_implementation.o out/Release/obj.target/gl/ui/gl/gl_implementation_linux.o out/Release/obj.target/gl/ui/gl/gl_implementation_x11.o out/Release/obj.target/gl/ui/gl/gl_interface.o out/Release/obj.target/gl/ui/gl/gl_osmesa_api_implementation.o out/Release/obj.target/gl/ui/gl/gl_share_group.o out/Release/obj.target/gl/ui/gl/gl_state_
restorer.o out/Release/obj.target/gl/ui/gl/gl_surface.o out/Release/obj.target/gl/ui/gl/gl_surface_stub.o out/Release/obj.target/gl/ui/gl/gl_surface_x11.o out/Release/obj.target/gl/ui/gl/gl_surface_osmesa.o out/Release/obj.target/gl/ui/gl/gl_switches.o out/Release/obj.target/gl/ui/gl/gpu_switching_manager.o out/Release/obj.target/gl/ui/gl/scoped_binders.o out/Release/obj.target/gl/ui/gl/scoped_make_current.o out/Release/obj.target/gl/ui/gl/sync_control_vsync_provider.o out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_gl.o out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_mock.o out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_osmesa.o out/Release/obj.target/gl/ui/gl/egl_util.o out/Release/obj.target/gl/ui/gl/gl_context_egl.o out/Release/obj.target/gl/ui/gl/gl_surface_egl.o out/Release/obj.target/gl/ui/gl/gl_egl_api_implementation.o out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_egl.o out/Release/obj.target/gl/ui/gl/gl_context_glx.o out/Release/obj.target/gl/ui/gl/gl_glx_api_
implementation.o out/Release/obj.target/gl/ui/gl/gl_image_glx.o out/Release/obj.target/gl/ui/gl/gl_surface_glx.o out/Release/obj.target/gl/gen/ui/gl/gl_bindings_autogen_glx.o
  g++ '-DV8_DEPRECATION_WARNINGS' '-D_FILE_OFFSET_BITS=64' '-DNO_TCMALLOC' '-DCHROMIUM_BUILD' '-DUSE_CAIRO=1' '-DUSE_GLIB=1' '-DUSE_DEFAULT_RENDER_THEME=1' '-DUSE_LIBJPEG_TURBO=1' '-DUSE_NSS=1' '-DUSE_X11=1' '-DENABLE_ONE_CLICK_SIGNIN' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DUSE_XI2_MT=2' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_PEPPER_CDMS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DUSE_UDEV' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DLOGGING_IS_OFFICIAL_BUILD=1' '-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_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_MANAGED_USERS=1' '-DENABLE_MDNS=1' '-DV8_TARGET_ARCH_X64' '-DENABLE_DEBUGGER_SUPPORT' '-
DV8_I18N_SUPPORT' '-DV8_USE_DEFAULT_PLATFORM' '-DU_USING_ICU_NAMESPACE=0' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Iout/Release/obj/gen/shim_headers/icuuc/target -Iout/Release/obj/gen/shim_headers/icui18n/target -Iv8/src  -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -Wno-format -Wno-unused-result -m64 -fno-ident -fdata-sections -ffunction-sections -fPIC -Wno-unused-local-typedefs -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-deprecated -MMD -MF out/Release/.deps/out/Release/obj.target/v8_base.x64/v8/src/accessors.o.d.raw  -c -o out/Release/obj.target/v8_base.x64/v8/src/accessors.o v8/src/accessors.cc
In file included from v8/src/v8globals.h:31:0,
                 from v8/src/v8.h:54,
                 from v8/src/accessors.cc:28:
v8/src/globals.h:117:2: error: #error Target architecture x64 is only supported on x64 host
 #error Target architecture x64 is only supported on x64 host
  ^
In file included from v8/src/v8globals.h:31:0,
                 from v8/src/v8.h:54,
                 from v8/src/accessors.cc:28:
v8/src/globals.h:200:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 # define V8_UINT64_C(x)   (x ## ULL)
                                    ^
v8/src/execution.h:276:44: note: in expansion of macro 'V8_UINT64_C'
   static const uintptr_t kInterruptLimit = V8_UINT64_C(0xfffffffffffffffe);
                                            ^
v8/src/globals.h:200:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 # define V8_UINT64_C(x)   (x ## ULL)
                                    ^
v8/src/execution.h:277:42: note: in expansion of macro 'V8_UINT64_C'
   static const uintptr_t kIllegalLimit = V8_UINT64_C(0xfffffffffffffff8);
                                          ^
make: *** [out/Release/obj.target/v8_base.x64/v8/src/accessors.o] Error 1
./chromium.SlackBuild FAILED at line 346
The main differences after re-installation libevent that compiling is failed and before link part is not pass.
 
Old 03-19-2014, 05:48 PM   #15
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
looking at sources, there's something about with native client (v8/src/globals.h:54) causing a mismatch between host and target arch (host is forced to 32bit); i don't know if you must force a 32bit build or try to build without native client, i never compiled chromium (first time i download sources)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't build open source Chromium on Slackware 14.1 zhen_khokh Linux - Software 5 03-19-2014 08:43 AM
Chromium - Slackware 14.0 build error CFet Linux - Software 1 11-04-2012 07:27 PM
[SOLVED] Slackware 13.37 -- chromium-15.0.874.121 build error igxz Slackware 10 03-26-2012 03:31 AM
What are the steps to build and install a Slackware package from a RPM package? sudeepkulkarni Slackware 6 04-25-2011 12:51 PM
chromium os and chromium daily build Gnimmelf Linux - Newbie 0 03-15-2011 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration