Error in compiling Chrome in OpenSuse 13.1

101 views
Skip to first unread message

manik sheeri

unread,
Sep 12, 2014, 6:02:26 PM9/12/14
to chromium...@chromium.org
Hi,

I downloaded the chromium source using the following steps :

> fetch --nohooks chromium
> cd src
> git checkout master

I did not run the below command because it fails for OpenSuse 13.1. Since it is installing dependencies, I thought to install them manually upon errors with 'gclient sync'
# if you are building for Linux only:
build/install-build-deps.sh

> gclient sync

After installing all the dependencies, the above command succeeded.

However, when I did the following:

> cd src; ninja -C out/Debug chrome

I am getting the error immediately as :

/bin/sh: ../../third_party/llvm-build/Release+Asserts/bin/clang: cannot execute binary file [4/16724] ACTION build_source_frame_module: build_source_frame_module_e4cd903cc21fd8eac53751e4b6b14cc9 ninja: build stopped: subcommand failed

Primiano Tucci

unread,
Sep 15, 2014, 5:56:03 AM9/15/14
to sheeri1...@gmail.com, Chromium-discuss
Are you using a 32-bit or 64-bit host? From the error sounds like the former.
I am not sure that we support building on 32 bit hosts anymore for Linux. You can give a shot trying to use gcc instead of clang, by doing the following:

$ build/gyp_chromium -Dclang=0
$ ninja ....

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

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



--
Primiano Tucci
Software Engineer
Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Reply all
Reply to author
Forward
0 new messages