diff options
author | Lukasz Nowak <lnowak@tycoint.com> | 2016-12-13 09:39:04 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-26 08:23:19 +0100 |
commit | 2d2bb4fd86d913d9f22081af66d55ff17633d9e2 (patch) | |
tree | 10560bf4306c056b126f805604f61fcea506bccd /meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch | |
parent | b4659368a01a5b4209d9e1e571bb569ef4a06195 (diff) | |
download | meta-openembedded-2d2bb4fd86d913d9f22081af66d55ff17633d9e2.tar.gz |
protobuf: switch from mips16 to mips32 due to in-line assembler
| mipsel-poky-linux-musl-libtool: compile: mipsel-poky-linux-musl-g++ -mel -mabi=32 -msoft-float -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. -I../../git/src -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -fvisibility-inlines-hidden -c ../../git/src/google/protobuf/repeated_field.cc -fPIC -DPIC -o google/protobuf/.libs/repeated_field.o
| {standard input}: Assembler messages:
| {standard input}:113: Error: unrecognized opcode `sync'
| {standard input}:140: Error: unrecognized opcode `ll $2,0($16)'
| {standard input}:143: Error: unrecognized opcode `sc $4,0($16)'
| {standard input}:202: Error: unrecognized opcode `sync'
| {standard input}:275: Error: unrecognized opcode `sync'
| Makefile:2064: recipe for target 'google/protobuf/stubs/once.lo' failed
| make[3]: *** [google/protobuf/stubs/once.lo] Error 1
Protobuf implements atomics for mips, using ASM "sync" instruction.
It is not available in mips16e. Switching the library to mips32 is
the easiest solution.
Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch')
0 files changed, 0 insertions, 0 deletions