[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1101/8267] glib: disable valgrind support when compiling in mips16e mode
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1101/8267] glib: disable valgrind support when compiling in mips16e mode
- Date: Sat, 16 Dec 2017 21:21:21 +0000 (UTC)
commit aa9fb3f5d4471fae734b136c9f5913bf11c8f9cd
Author: André Draszik <adraszik tycoint com>
Date: Fri Jun 24 11:58:30 2016 +0100
glib: disable valgrind support when compiling in mips16e mode
| mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -msoft-float \
| -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec \
| -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. \
| -I<glib>/glib -I.. -I.. -I../glib -I<glib>/glib -I<glib> \
| -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION \
| -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes \
| -Werror=declaration-after-statement -Werror=missing-prototypes \
| -Werror=implicit-function-declaration -Werror=pointer-arith \
| -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs \
| -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types \
| -c <glib>/glib/gslice.c -fPIC -DPIC -o .libs/libglib_2_0_la-gslice.o
| {standard input}: Assembler messages:
| {standard input}:2485: Error: invalid operands `move $11,$8'
| {standard input}:2487: Error: invalid operands `srl $0,$0,13'
| {standard input}:2488: Error: invalid operands `srl $0,$0,29'
| {standard input}:2489: Error: invalid operands `srl $0,$0,3'
| {standard input}:2490: Error: invalid operands `srl $0,$0,19'
| {standard input}:2491: Error: invalid operands `or $13,$13,$13'
| Makefile:2076: recipe for target 'libglib_2_0_la-gslice.lo' failed
The alternative would probably be to force compilation in normal mips
mode for all of glib (as is done for armv4 and armv5). While that
would retain the valgrind support, valgrind support itself shouldn't
be needed on the target device, and we rather keep the mips16e mode.
(From OE-Core rev: 50be6f861a6c1076ace0fdd3f4381706351987ba)
Signed-off-by: André Draszik <adraszik tycoint com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-core/glib-2.0/glib.inc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index c2cceda..906e0d4 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -68,6 +68,9 @@ FILES_${PN}-utils = "${bindir}/*"
ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"
+# Valgrind runtime detection works using hand-written assembly, which
+# doesn't support mips16e
+CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1"
USE_NLS = "yes"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]