All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: chromium detected as stripped
Date: Wed, 16 Aug 2017 12:06:09 -0400	[thread overview]
Message-ID: <20170816160609.GA29490@linux-uys3> (raw)
In-Reply-To: <CALbNGRS1ywFbSNAoY976cPgJ4STQLqUEqzwq34XGaMH_CYhAaw@mail.gmail.com>

On Tue 2017-08-15 @ 11:53:42 PM, Andreas Müller wrote:
> On Tue, Aug 15, 2017 at 6:23 PM, Raphael Kubo da Costa
> <raphael.kubo.da.costa@intel.com> wrote:
> > Khem Raj <raj.khem@gmail.com> writes:
> >
> >> what are main architectures targetted with crosswalk ? I think scope is
> >> important, since meta-browser supports, almost all oe-core supported
> >> architectures. including x86/arm/mips/ppc, any cross build patches are
> >> required in anycase, but architecture patches will be additional if you
> >> were only considering a subset of architectures.

I was wondering the same thing myself :-) This recipe lists "armv7a" in
COMPATIBLE_MACHINE but the (32-bit version of) raspberrypi3, for
example, is armv7ve. Therefore I get:

	ERROR: Nothing PROVIDES 'chromium'
	chromium was skipped: incompatible with machine raspberrypi3 (not in COMPATIBLE_MACHINE)

> > There's nothing Crosswalk-related in my Chromium recipe; it's in
> > meta-crosswalk simply due to a historical accident and the fact that I
> > haven't found a proper home for it so far.

Okay, good to know.

> > With that said, I've tested my builds with x86, x86-64, ARMv7 (IIRC
> > Chromium doesn't support earlier ARM processors) and aarch64.

Can you provide a list of "MACHINE = ..." that were used?

> I think the update stopper for chromium on meta browser is the new
> build system (don't remember the name).

Maybe you're referring to "gn"? If so, it's not a show-stopper. The source
tarballs for chromium now include working sources for gn that can be built
prior to the configure step.

gn is a "makefile generator" much like the autotools. It's not the build
system itself. However, instead of generating makefiles for make (as the
autotools does), gn generates ninja files for ninja (which is the build
system, and remains unchanged from earlier versions of chromium).

> To take this step and have a
> more recent version of chromium in meta-browser would be really great!

The problem I was having was in trying to force the build system to use the
toolchain I wanted it to use. The Igalia people solved this problem by
tricking the build system to think it was building for CrOS, and then
redefining the toolchain for CrOS to use the toolchain generated by OE. This
worked for x86_64 (minnowboard) but would fail for the raspberrypi3 with
"illegal instruction". So somewhere in the build, the specified toolchain was
being ignored and the host's toolchain was being used instead.

I'd be happy to work on trying to integrate Raphael's excellent work into
meta-browser. However, it depends on nodejs, and nodejs is currently failing
to build (Martin's "State of Bitbake World" just exploded in the last
iteration). I'm looking into that now, somewhat. node hasn't been happy since
the switch to gcc7.

There are (now) a number of distros that make a distribution for the
raspberrypi, many of which include chromium. It would be great if it were
easy/possible to find the scripts/steps/setup they're using for comparative
reasons:
	- raspbian
	- suse
	- fedora
	- arch
	- (others?)


  reply	other threads:[~2017-08-16 16:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-12 23:10 chromium detected as stripped Andreas Müller
2017-08-14  7:04 ` Jussi Kukkonen
2017-08-14 10:22   ` Jussi Kukkonen
2017-08-14 14:10     ` Andreas Müller
2017-08-14 19:38       ` Andreas Müller
2017-08-14 19:43         ` Otavio Salvador
2017-08-14 21:51           ` Khem Raj
2017-08-15 13:05           ` Raphael Kubo da Costa
2017-08-15 14:18             ` Otavio Salvador
2017-08-15 14:43             ` Trevor Woerner
2017-08-15 14:47               ` Otavio Salvador
2017-08-15 16:14                 ` Khem Raj
2017-08-15 16:10               ` Khem Raj
2017-08-15 16:19             ` Khem Raj
2017-08-15 16:23               ` Raphael Kubo da Costa
2017-08-15 21:53                 ` Andreas Müller
2017-08-16 16:06                   ` Trevor Woerner [this message]
2017-08-16 16:12                     ` Martin Jansa
2017-08-16 16:17                       ` Khem Raj
2017-08-16 16:18                       ` Andreas Müller
2017-08-16 17:00                         ` Trevor Woerner
2017-09-13  4:31                           ` Trevor Woerner
2017-09-15 12:05                             ` Raphael Kubo da Costa
2017-09-19 14:33                     ` Raphael Kubo da Costa
2017-09-20 17:43                       ` Trevor Woerner
2017-09-21 23:06                         ` Trevor Woerner
2017-09-22 12:32                           ` Raphael Kubo da Costa
2017-09-23 20:53                             ` Trevor Woerner
2017-09-22 12:22                         ` Raphael Kubo da Costa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170816160609.GA29490@linux-uys3 \
    --to=twoerner@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.