diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-04-30 14:33:09 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-05-18 07:25:35 -0700 |
commit | 1480f646842d013ddaa1d45584a3400a0b759b9a (patch) | |
tree | dbc906af9c4481369f38eb2b7739d86422c2156f /meta-networking/recipes-daemons/openhpi/files/openhpi-glib-cross-compile.patch | |
parent | 07bd2623722cf6743bc112eebbe02a6125823c99 (diff) | |
download | meta-openembedded-1480f646842d013ddaa1d45584a3400a0b759b9a.tar.gz |
postgresql: fix compile error
configuration:
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
require conf/multilib.conf
SELECTED_OPTIMIZATION = "${DEBUG_OPTIMIZATION}"
DEBUG_BUILD = "1"
EXTRA_IMAGE_FEATURES += "dbg-pkgs"
with above configuration and option -Og, postgresql compile failed with:
| make[4]: Nothing to be done for 'all'.
| make[4]: Leaving directory '/tmp/work/mips-pokymllib32-linux/lib32-postgresql/11.2-r0/build/src/fe_utils'
| {standard input}: Assembler messages:
| {standard input}:58887: Error: branch out of range
| <builtin>: recipe for target 'tab-complete.o' failed
| make[3]: *** [tab-complete.o] Error 1
| make[3]: Leaving directory '/tmp/work/mips-pokymllib32-linux/lib32-postgresql/11.2-r0/build/src/bin/psql'
| Makefile:41: recipe for target 'all-psql-recurse' failed
| make[2]: *** [all-psql-recurse] Error 2
replace -Og with -O to fix this error
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-glib-cross-compile.patch')
0 files changed, 0 insertions, 0 deletions