Hi Novello,
Can you check please in your:
/media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty.inc
and
/media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc
that the Yocto recipe call the "ninja command line" with -j16 parameter? If
it's the case you have just to replace -j16 by nothing or ${PARALLEL_MAKE}.
If in your build you have already this fix, you can force cpu usage to 1 or 2
cores, it will take more time to compile CrossWalk but I hope it can reduce the
memory usage and by the way avoid your compilation issue to go further on the
build.
You can found a description of the bug and a reference of the commit to correct
it in comment here:
https://bugs.tizen.org/jira/browse/BTY-102
Regards,
Mohammed
> Today's Topics:
>
> 1. Re: [Tutorial] Connecting Tizen:Common device to a
> Smartphone via Bluetooth and Making Phone Calls (Bob Summerwill)
> 2. Re: [Tutorial] Connecting Tizen:Common device to a
> Smartphone via Bluetooth and Making Phone Calls (Leon Anavi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 Aug 2015 08:07:37 -0400
> From: Bob Summerwill <[email protected]>
> To: Leon Anavi <[email protected]>
> Cc: [email protected]
> Subject: Re: [Dev] [Tutorial] Connecting Tizen:Common device to a
> Smartphone via Bluetooth and Making Phone Calls
> Message-ID:
> <CAFTheUHwR456Hij8ubXr0JoUELa1Zd07ne=+abi8aohb_a0...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On that theme, Raster previously highlighted the Crosswalk compilation
> high-water mark to me as a current barrier to Tizen self-hosting.
>
> Total memory on SoC for phones has been slow to rise (presumably because
> 1Gb or 2Gb has been adequate for running mobile technology). Building
> mobile technology is a different use-case. Cross-compiling from Windows,
> Linux and Mac has generally provided enough 'head room'. As the line
> between these two use-cases blur with convergence scenarios like that
> proposed for the Ubuntu Edge (where your phone can do double duty as your
> desktop) memory becomes a constraint.
>
> I see that the newly announced Note 5 has 4Gb of memory. Hurrah! I
> think that is the highest I have seen so far in a SoC, and I think we can
> have reasonable hope that 4Gb of memory will arrive in a Tizen device at
> some point reasonably soon. We really need 8Gb.
>
> Is it the Crosswalk link step which fails, Leon? Or somewhere else?
>
> I just got hold of a Meizu MX4 Ubuntu Edition. 300 Euro. Still short of
> memory (2Gb) but the screen (1920x1152) and Octo-core CPU (Quad core 2.2
> GHz Cortex-A17 & quad core 1.7 GHz Cortex-A7) and camera (20MP and 4K
> video) are great. Those are the kind of flagship specs which Tizen is
> crying out for.
>
> Random games industry fact. Early versions of RenderWere did not provide
> cross-compilation of assets, so you had to have an incredibly expensive PS2
> devkit to build the binaries for your models and textures on target
> device. Really, really slowly! Because the CPU/memory specs sucked
> compared to desktop PCs of the same era -
> https://en.m.wikipedia.org/wiki/PlayStation_2
> On Aug 25, 2015 7:30 AM, "Leon Anavi" <[email protected]> wrote:
>
> > Hi Novello,
> >
> > On 25.08.2015 12:42, Novello wrote:
> >
> > It is a quadcore with 4g of ram.
> >
> > Crosswalk is huge and I guess the compiler might have run out of memory. I
> > am not experiencing this issue on a build machine with 8GB.
> >
> > Best regards,
> > Leon
> >
> > Best regards novello g.
> >
> > Messaggio inviato dal mio ASUS
> >
> > -------- Original Message --------
> > From:Leon Anavi
> > Sent:Tue, 25 Aug 2015 08:41:43 +0200
> > To:Novello Giampiero
> > Cc:[email protected]
> > Subject:Re: [Dev] [Tutorial] Connecting Tizen:Common device to a
> > Smartphone via Bluetooth and Making Phone Calls
> >
> > Hi Novello,
> >
> > On 23.08.2015 11:05, Novello Giampiero wrote:
> >
> > I have try to compile tizen-common -crosswalk un raspberry
> > but i have find this mistake.
> >
> > {standard input}: Assembler messages:
> > | {standard input}:138111: Warning: end of file not at end of a line;
> > newline inserted
> > | {standard input}:138542: Error: expected comma after name
> > `_ZZN5blink8Document31updateStyleInvalidationIfNeededEvE43trace_event' in
> > .size directive
> > | arm-oe-linux-gnueabi-g++: internal compiler error: Killed (program
> > cc1plus)
> > | Please submit a full bug report,
> > | with preprocessed source if appropriate.
> > | See <http://gcc.gnu.org/bugs.html> for instructions.
> > | ninja: build stopped: subcommand failed.
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_compile (log file is located at
> > /media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/buildcom/tmp-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-oe-linux-gnueabi/crosswalk-thirdparty/11.40.277.0-r0/temp/log.do_compile.12198)
> > ERROR: Task 4182
> > (/media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/
> > crosswalk-thirdparty_git.bb, do_compile) failed with exit code '1'
> > Waiting for 0 running tasks to finish:
> > NOTE: Tasks Summary: Attempted 3522 tasks of which 149 didn't need to be
> > rerun and 1 failed.
> > Waiting for 0 running tasks to finish:
> >
> > Summary: 1 task failed:
> >
> > /media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/
> > crosswalk-thirdparty_git.bb, do_compile
> > Summary: There were 2 WARNING messages shown.
> > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >
> >
> > Have you got some ideas?
> >
> >
> > The error affects the recipes related to Crosswalk web runtime. I am have
> > not seen it before. May be the compiler needs more memory than it was
> > available on build machine. What is the hardware configuration of your
> > build machine?
> >
> > Best regards,
> > Leon
> >
> > Best regards
> > Novello G.
> >
> > 2015-08-19 14:33 GMT+02:00 Leon Anavi <[email protected]>:
> >
> >> Hi,
> >>
> >> I have contributed a new Wiki article about connecting a smartphone with
> >> Bluetooth to a device with Tizen:Common (or with another Tizen 3 profile)
> >> and making phone calls:
> >>
> >> https://wiki.tizen.org/wiki/Connecting_to_a_Smartphone_with_Bluetooth_and_Making_Phone_Calls
> >>
> >> The article contains a tutorial with step by step instructions. It has
> >> been successfully tested on Tizen:Common running on HummingBoard with
> >> FreeScale i.MX6, Raspberry Pi 2, and Intel NUC and the following
> >> smartphones: Samsung Z1 (Tizen 2.3) and Samsung Note 3 Neo (Android 4.4.2).
> >>
> >> So far I have contributed fixes of the Yocto recipes for ofono at the
> >> tizen-distro forks for HummingBoard and Raspberry Pi 2 at GitHub. More
> >> testing in required before submitting these fixes to the upstream.
> >> https://github.com/konsulko/tizen-distro
> >> https://github.com/leon-anavi/tizen-distro-raspberrypi
> >>
> >> Best regards,
> >> Leon
> >>
> >> --
> >> Leon Anavi
> >> Software Engineer
> >> konsulko.com
> >>
> >> _______________________________________________
> >> Dev mailing list
> >> [email protected]
> >> https://lists.tizen.org/listinfo/dev
> >>
> >
> >
> > --
> > Leon Anavi
> > Software Engineerkonsulko.com
> >
> >
> > --
> > Leon Anavi
> > Software Engineerkonsulko.com
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [email protected]
> > https://lists.tizen.org/listinfo/dev
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.tizen.org/pipermail/dev/attachments/20150825/704e4e98/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 25 Aug 2015 15:24:39 +0300
> From: Leon Anavi <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [Dev] [Tutorial] Connecting Tizen:Common device to a
> Smartphone via Bluetooth and Making Phone Calls
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi Bob,
>
> On 25.08.2015 15:07, Bob Summerwill wrote:
> >
> > On that theme, Raster previously highlighted the Crosswalk compilation
> > high-water mark to me as a current barrier to Tizen self-hosting.
> >
> > Total memory on SoC for phones has been slow to rise (presumably
> > because 1Gb or 2Gb has been adequate for running mobile technology).
> > Building mobile technology is a different use-case. Cross-compiling
> > from Windows, Linux and Mac has generally provided enough 'head
> > room'. As the line between these two use-cases blur with convergence
> > scenarios like that proposed for the Ubuntu Edge (where your phone can
> > do double duty as your desktop) memory becomes a constraint.
> >
> > I see that the newly announced Note 5 has 4Gb of memory. Hurrah! I
> > think that is the highest I have seen so far in a SoC, and I think we
> > can have reasonable hope that 4Gb of memory will arrive in a Tizen
> > device at some point reasonably soon. We really need 8Gb.
> >
> Got your point but this is an offtopic. Just to make it clear that in
> this thread we are discussing cross compiling Tizen for ARM (Raspberry
> Pi 2 with 1GB RAM) and we were discussing the memory of the build
> machine (not of the embedded device).
> >
> > Is it the Crosswalk link step which fails, Leon? Or somewhere else?
> >
> Yes, you can see that recipe crosswalk-thirdparty_git.bb is failing in
> the partial log shared by Novello.
>
> Best regards,
> Leon
>
> > I just got hold of a Meizu MX4 Ubuntu Edition. 300 Euro. Still short
> > of memory (2Gb) but the screen (1920x1152) and Octo-core CPU (Quad
> > core 2.2 GHz Cortex-A17 & quad core 1.7 GHz Cortex-A7) and camera
> > (20MP and 4K video) are great. Those are the kind of flagship specs
> > which Tizen is crying out for.
> >
> > Random games industry fact. Early versions of RenderWere did not
> > provide cross-compilation of assets, so you had to have an incredibly
> > expensive PS2 devkit to build the binaries for your models and
> > textures on target device. Really, really slowly! Because the
> > CPU/memory specs sucked compared to desktop PCs of the same era -
> > https://en.m.wikipedia.org/wiki/PlayStation_2
> >
> > On Aug 25, 2015 7:30 AM, "Leon Anavi" <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > Hi Novello,
> >
> > On 25.08.2015 12:42, Novello wrote:
> >> It is a quadcore with 4g of ram.
> > Crosswalk is huge and I guess the compiler might have run out of
> > memory. I am not experiencing this issue on a build machine with 8GB.
> >
> > Best regards,
> > Leon
> >
> >> Best regards novello g.
> >>
> >> Messaggio inviato dal mio ASUS
> >>
> >> -------- Original Message --------
> >> From:Leon Anavi
> >> Sent:Tue, 25 Aug 2015 08:41:43 +0200
> >> To:Novello Giampiero
> >> Cc:[email protected] <mailto:Cc:[email protected]>
> >> Subject:Re: [Dev] [Tutorial] Connecting Tizen:Common device to a
> >> Smartphone via Bluetooth and Making Phone Calls
> >>
> >> Hi Novello,
> >>
> >> On 23.08.2015 11:05, Novello Giampiero wrote:
> >>> I have try to compile tizen-common -crosswalk un raspberry
> >>> but i have find this mistake.
> >>>
> >>> {standard input}: Assembler messages:
> >>> | {standard input}:138111: Warning: end of file not at end of a
> >>> line; newline inserted
> >>> | {standard input}:138542: Error: expected comma after name
> >>> `_ZZN5blink8Document31updateStyleInvalidationIfNeededEvE43trace_event'
> >>> in .size directive
> >>> | arm-oe-linux-gnueabi-g++: internal compiler error: Killed
> >>> (program cc1plus)
> >>> | Please submit a full bug report,
> >>> | with preprocessed source if appropriate.
> >>> | See <http://gcc.gnu.org/bugs.html> for instructions.
> >>> | ninja: build stopped: subcommand failed.
> >>> | WARNING: exit code 1 from a shell command.
> >>> | ERROR: Function failed: do_compile (log file is located at
> >>>
> >>> /media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/buildcom/tmp-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-oe-linux-gnueabi/crosswalk-thirdparty/11.40.277.0-r0/temp/log.do_compile.12198)
> >>> ERROR: Task 4182
> >>>
> >>> (/media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb
> >>> <http://crosswalk-thirdparty_git.bb>, do_compile) failed with
> >>> exit code '1'
> >>> Waiting for 0 running tasks to finish:
> >>> NOTE: Tasks Summary: Attempted 3522 tasks of which 149 didn't
> >>> need to be rerun and 1 failed.
> >>> Waiting for 0 running tasks to finish:
> >>>
> >>> Summary: 1 task failed:
> >>>
> >>> /media/novello/hd5/ae/tizen/tizen-distro-raspberrypi/meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk-thirdparty_git.bb
> >>> <http://crosswalk-thirdparty_git.bb>, do_compile
> >>> Summary: There were 2 WARNING messages shown.
> >>> Summary: There was 1 ERROR message shown, returning a non-zero
> >>> exit code.
> >>>
> >>>
> >>> Have you got some ideas?
> >>
> >> The error affects the recipes related to Crosswalk web runtime. I
> >> am have not seen it before. May be the compiler needs more memory
> >> than it was available on build machine. What is the hardware
> >> configuration of your build machine?
> >>
> >> Best regards,
> >> Leon
> >>
> >>> Best regards
> >>> Novello G.
> >>>
> >>> 2015-08-19 14:33 GMT+02:00 Leon Anavi <[email protected]
> >>> <mailto:[email protected]>>:
> >>>
> >>> Hi,
> >>>
> >>> I have contributed a new Wiki article about connecting a
> >>> smartphone with Bluetooth to a device with Tizen:Common (or
> >>> with another Tizen 3 profile) and making phone calls:
> >>>
> >>> https://wiki.tizen.org/wiki/Connecting_to_a_Smartphone_with_Bluetooth_and_Making_Phone_Calls
> >>>
> >>> The article contains a tutorial with step by step
> >>> instructions. It has been successfully tested on
> >>> Tizen:Common running on HummingBoard with FreeScale i.MX6,
> >>> Raspberry Pi 2, and Intel NUC and the following smartphones:
> >>> Samsung Z1 (Tizen 2.3) and Samsung Note 3 Neo (Android 4.4.2).
> >>>
> >>> So far I have contributed fixes of the Yocto recipes for
> >>> ofono at the tizen-distro forks for HummingBoard and
> >>> Raspberry Pi 2 at GitHub. More testing in required before
> >>> submitting these fixes to the upstream.
> >>> https://github.com/konsulko/tizen-distro
> >>> https://github.com/leon-anavi/tizen-distro-raspberrypi
> >>>
> >>> Best regards,
> >>> Leon
> >>>
> >>> --
> >>> Leon Anavi
> >>> Software Engineer
> >>> konsulko.com <http://konsulko.com>
> >>>
> >>> _______________________________________________
> >>> Dev mailing list
> >>> [email protected] <mailto:[email protected]>
> >>> https://lists.tizen.org/listinfo/dev
> >>>
> >>>
> >>
> >> --
> >> Leon Anavi
> >> Software Engineer
> >> konsulko.com <http://konsulko.com>
> >
> > --
> > Leon Anavi
> > Software Engineer
> > konsulko.com <http://konsulko.com>
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [email protected] <mailto:[email protected]>
> > https://lists.tizen.org/listinfo/dev
> >
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.tizen.org/pipermail/dev/attachments/20150825/4066fd6d/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
>
>
> ------------------------------
>
> End of Dev Digest, Vol 24, Issue 9
> **********************************
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev