Re: [oe] [meta-browser] Problem building chromium

2014-11-02 Thread Gary Thomas

On 2014-10-31 21:36, Peter A. Bigot wrote:

On 10/31/2014 05:54 PM, Gary Thomas wrote:

I just tried to build chromium on the Raspberry-Pi.  All repos
are up to date as of 2014-10-31.  Here's the error I got:

| lib/libcontent.so: undefined reference to `WebRtc_GetCPUFeaturesARM'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
| WARNING: 
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/temp/run.do_compile.10091:1
 exit 1 from
|   ninja -C 
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/chromium-38.0.2125.101/out/Release
 chrome chrome_sandbox
| ERROR: Function failed: do_compile (log file is located at
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/temp/log.do_compile.10091)
ERROR: Task 592 
(/home/local/poky-latest/meta-browser/recipes-browser/chromium/chromium_38.0.2125.101.bb,
 do_compile) failed with exit code '1'

Note: I was able to build this same recipe just fine for my
i.MX6 platforms, so it must be something to do with armv6 vs
armv7a/cortex.  I've not found it yet but thought someone might
have ideas.

Thanks



As noted at 
http://lists.openembedded.org/pipermail/openembedded-core/2014-August/096568.html
 and related messages, raspi configures (or at that time configured) gcc to 
build for
armv6 but it's actually armv6zk.  It's entirely possible chromium doesn't 
support armv6 without armv6k features being enabled. My best guess is 
meta-raspberrypi needs to be fixed,
which might require some enhancements in oe-core's gcc.


While what you say may be true or even relevant, chromium
used to build and run fine for the RaspberryPi.  That said,
I don't see how an instruction set choice/mixup explains
a missing symbol.

Following up, I stubbed out this missing symbol.  Now I can
get it to link, but it gets an illegal instruction immediately :-(
I tried debugging using GDB, but for some reason the library that
it fails in has no symbols:

(gdb) tar rem 192.168.1.150:9000
Remote debugging using 192.168.1.150:9000
Reading symbols from tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3...Reading symbols from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/.debug/ld-2.20.so...done.

done.
Loaded symbols for 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3
0xb6fd8d10 in _start () from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3
(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0xb61f60ba in ?? ()
   from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/usr/lib/chrome/libbase.so
(gdb) x/10i 0xb61f60a8
   0xb61f60a8:  bkpt0x006c
   0xb61f60aa:  movsr6, r0
   0xb61f60ac:  ldr r3, [pc, #12]   ; (0xb61f60bc)
   0xb61f60ae:  ldr r2, [pc, #16]   ; (0xb61f60c0)
   0xb61f60b0:  add r3, pc
   0xb61f60b2:  movsr1, #0
   0xb61f60b4:  ldr r0, [r3, r2]
   0xb61f60b6:  b.w 0xb61f24d4
= 0xb61f60ba:  nop
   0xb61f60bc:  b.n 0xb61f61d8
(gdb) x/x 0xb61f60ba
0xb61f60ba: 0xe08cbf00

Anyone have any ideas what might be illegal here (and how to
figure out where this code is in the source tree)?

This platform seems a bit shaky when using Poky/Yocto :-(
I tried other web browsers without much joy - firefox seems
to work OK but midori also dies quickly in its javascript
engine...

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser] Problem building chromium

2014-11-02 Thread Peter A. Bigot

On 11/02/2014 07:41 AM, Gary Thomas wrote:

On 2014-10-31 21:36, Peter A. Bigot wrote:

On 10/31/2014 05:54 PM, Gary Thomas wrote:

I just tried to build chromium on the Raspberry-Pi.  All repos
are up to date as of 2014-10-31.  Here's the error I got:

| lib/libcontent.so: undefined reference to `WebRtc_GetCPUFeaturesARM'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.
| WARNING: 
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/temp/run.do_compile.10091:1 
exit 1 from
|   ninja -C 
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/chromium-38.0.2125.101/out/Release 
chrome chrome_sandbox

| ERROR: Function failed: do_compile (log file is located at
/home/local/rpi-latest_2014-10-30/tmp/work/armv6-vfp-amltd-linux-gnueabi/chromium/38.0.2125.101-r0/temp/log.do_compile.10091) 

ERROR: Task 592 
(/home/local/poky-latest/meta-browser/recipes-browser/chromium/chromium_38.0.2125.101.bb, 
do_compile) failed with exit code '1'


Note: I was able to build this same recipe just fine for my
i.MX6 platforms, so it must be something to do with armv6 vs
armv7a/cortex.  I've not found it yet but thought someone might
have ideas.

Thanks



As noted at 
http://lists.openembedded.org/pipermail/openembedded-core/2014-August/096568.html 
and related messages, raspi configures (or at that time configured) 
gcc to build for
armv6 but it's actually armv6zk.  It's entirely possible chromium 
doesn't support armv6 without armv6k features being enabled. My best 
guess is meta-raspberrypi needs to be fixed,

which might require some enhancements in oe-core's gcc.


While what you say may be true or even relevant, chromium
used to build and run fine for the RaspberryPi.  That said,
I don't see how an instruction set choice/mixup explains
a missing symbol.


My thought was something titled WebRtc_GetCPUFeaturesARM might be 
related to the ARM features selected by the compiler.


But a little googling suggests there are plenty of alternative causes 
that don't warrant my instinctual it's not gcc's fault! response.


https://github.com/RobertCNelson/pkg-chromium/blob/master/patches/arm-webrtc-fix.patch 
looks relevant.


Possibly related to that is the following at the bottom of 
meta-browser's README:


TODO

[...]
- fix Chromium support other platforms than armv7

thought that TODO has been there since 2012, so perhaps that's not 
relevant either.


At any rate, it's not gcc's fault.  You might try reverting meta-browser 
back to get a chromium version that used to work.


Peter



Following up, I stubbed out this missing symbol.  Now I can
get it to link, but it gets an illegal instruction immediately :-(
I tried debugging using GDB, but for some reason the library that
it fails in has no symbols:

(gdb) tar rem 192.168.1.150:9000
Remote debugging using 192.168.1.150:9000
Reading symbols from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3...Reading 
symbols from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/.debug/ld-2.20.so...done.

done.
Loaded symbols for 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3
0xb6fd8d10 in _start () from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/lib/ld-linux.so.3

(gdb) c
Continuing.

Program received signal SIGILL, Illegal instruction.
0xb61f60ba in ?? ()
   from 
tmp/work/raspberrypi-amltd-linux-gnueabi/amltd-x11-image/1.0-r0/rootfs/usr/lib/chrome/libbase.so

(gdb) x/10i 0xb61f60a8
   0xb61f60a8:  bkpt0x006c
   0xb61f60aa:  movsr6, r0
   0xb61f60ac:  ldr r3, [pc, #12]   ; (0xb61f60bc)
   0xb61f60ae:  ldr r2, [pc, #16]   ; (0xb61f60c0)
   0xb61f60b0:  add r3, pc
   0xb61f60b2:  movsr1, #0
   0xb61f60b4:  ldr r0, [r3, r2]
   0xb61f60b6:  b.w 0xb61f24d4
= 0xb61f60ba:  nop
   0xb61f60bc:  b.n 0xb61f61d8
(gdb) x/x 0xb61f60ba
0xb61f60ba: 0xe08cbf00

Anyone have any ideas what might be illegal here (and how to
figure out where this code is in the source tree)?

This platform seems a bit shaky when using Poky/Yocto :-(
I tried other web browsers without much joy - firefox seems
to work OK but midori also dies quickly in its javascript
engine...



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] mariadb: update to 5.5.40

2014-11-02 Thread Kai Kang
Update mariadb from version 5.5.39 to 5.5.40

* rename mariadb_5.5.39.inc - mariadb.inc
* add dependency bision-native for mariadb-native

Signed-off-by: Kai Kang kai.k...@windriver.com
---
 .../mysql/{mariadb-native_5.5.39.bb = mariadb-native_5.5.40.bb}  | 4 ++--
 meta-oe/recipes-support/mysql/{mariadb_5.5.39.inc = mariadb.inc} | 4 ++--
 .../recipes-support/mysql/{mariadb_5.5.39.bb = mariadb_5.5.40.bb}| 3 +--
 3 files changed, 5 insertions(+), 6 deletions(-)
 rename meta-oe/recipes-support/mysql/{mariadb-native_5.5.39.bb = 
mariadb-native_5.5.40.bb} (82%)
 rename meta-oe/recipes-support/mysql/{mariadb_5.5.39.inc = mariadb.inc} (98%)
 rename meta-oe/recipes-support/mysql/{mariadb_5.5.39.bb = mariadb_5.5.40.bb} 
(96%)

diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.5.39.bb 
b/meta-oe/recipes-support/mysql/mariadb-native_5.5.40.bb
similarity index 82%
rename from meta-oe/recipes-support/mysql/mariadb-native_5.5.39.bb
rename to meta-oe/recipes-support/mysql/mariadb-native_5.5.40.bb
index 9148dee..4ce960d 100644
--- a/meta-oe/recipes-support/mysql/mariadb-native_5.5.39.bb
+++ b/meta-oe/recipes-support/mysql/mariadb-native_5.5.40.bb
@@ -1,8 +1,8 @@
-require mariadb_${PV}.inc
+require mariadb.inc
 inherit native
 
 PROVIDES += mysql5-native
-DEPENDS = ncurses-native zlib-native
+DEPENDS = ncurses-native zlib-native bison-native
 
 RDEPENDS_${PN} = 
 PACKAGES = 
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc 
b/meta-oe/recipes-support/mysql/mariadb.inc
similarity index 98%
rename from meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
rename to meta-oe/recipes-support/mysql/mariadb.inc
index ae2e92b..20f5de2 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -12,8 +12,8 @@ SRC_URI = 
http://mirror.stshosting.co.uk/mariadb/mariadb-${PV}/source/mariadb-$
file://mysqld.service \
   
 
-SRC_URI[md5sum] = 917a807d8cf2c8ef9deedd2a89b6decd
-SRC_URI[sha256sum] = 
cb850865ab55ce5f01c99a612cc75b76ead5d75adfa75a606f453d32f9089d14
+SRC_URI[md5sum] = 561bede89a8bd19c374dad2d8f24fdfe
+SRC_URI[sha256sum] = 
cbde17f4a31483143490def6fcce33310ebae49eafe92dc4ada0e7227202415a
 
 S = ${WORKDIR}/mariadb-${PV}
 
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb 
b/meta-oe/recipes-support/mysql/mariadb_5.5.40.bb
similarity index 96%
rename from meta-oe/recipes-support/mysql/mariadb_5.5.39.bb
rename to meta-oe/recipes-support/mysql/mariadb_5.5.40.bb
index fee5b62..f24cb43 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.39.bb
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.40.bb
@@ -1,4 +1,4 @@
-require ${PN}_${PV}.inc
+require mariadb.inc
 
 EXTRA_OECMAKE += -DSTACK_DIRECTION=-1
 
@@ -25,4 +25,3 @@ RCONFLICTS_${PN}-client += mysql5-client
 RPROVIDES_${PN}-server += mysql5-server
 RREPLACES_${PN}-server += mysql5-server
 RCONFLICTS_${PN}-server += mysql5-server
-
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] rabbitmq-c: update to v0.5.2.

2014-11-02 Thread Maciek Borzecki
On sob, 2014-11-01 at 14:20 +0200, Yevhen Kyriukha wrote:
 Signed-off-by: Yevhen Kyriukha kirg...@gmail.com
 ---
  .../rabbitmq-c/{rabbitmq-c_0.5.0.bb = rabbitmq-c_0.5.2.bb}   | 4 
 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-oe/recipes-connectivity/rabbitmq-c/{rabbitmq-c_0.5.0.bb = 
 rabbitmq-c_0.5.2.bb} (78%)
 
 diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb 
 b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.2.bb
 similarity index 78%
 rename from meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
 rename to meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.2.bb
 index 91acb1d..762ecd6 100644
 --- a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.0.bb
 +++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.5.2.bb
 @@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = 
 file://LICENSE-MIT;md5=6b7424f9db80cfb11fdd5c980b583f53
  LICENSE = MIT
  
  SRC_URI = 
 https://github.com/alanxz/${BPN}/releases/download/v${PV}/${BP}.tar.gz;
 -SRC_URI[md5sum] = b1f902c658c772cda464754678d8deb6
 -SRC_URI[sha256sum] = 
 53702ea2ab809af0f923e387458e2cad191d9549f50410035fe82ce5e6ccc4fa
 +SRC_URI[md5sum] = aa8d4d0b949f508c0da25a9c20bd7da7
 +SRC_URI[sha256sum] = 
 1ec3c1141593b91c57bf1051657a1d64fb87da38760c7128a9622b107990f2f2
  
  DEPENDS = popt openssl
  
Tested on top of 350139ba63fc1cf84d04c482a5407dfa8b724f63.

Acked-by: Maciej Borzecki maciej.borze...@open-rnd.pl


-- 
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem
lub poufne informacje i została wysłana wyłącznie do wiadomości i
użytku osób, do których została zaadresowana. Jeśli wiadomość została
otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do
osób trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej
sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto, may contain privileged
or confidential information and is sent solely for the attention and
use of the intended addressee(s). If you are not an intended addressee,
you may neither use this message nor copy or deliver it to anyone. In
such case, you should immediately destroy this message and kindly notify
the sender by reply email. Thank you.


-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel