diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-16 09:23:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-16 14:52:48 -0700 |
commit | 5c6f6797047d5d3fdf6d84c2d7fe441ed8eb89b6 (patch) | |
tree | 6857e38eee7407b6029292a86dd7e1062051f748 /meta-oe/recipes-support/uim | |
parent | d04f3a1be3a6d7f57b3cc26cb3159b1055a5ee22 (diff) | |
download | meta-openembedded-5c6f6797047d5d3fdf6d84c2d7fe441ed8eb89b6.tar.gz |
uim: Add patch to fix -fno-common link error
This is unearthed by gcc10 like below
| /mnt/b/yoe/master/build/tmp/hosttools/ld: .libs/gcroots.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here
| /mnt/b/yoe/master/build/tmp/hosttools/ld: .libs/mach_dep.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here
| collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/uim')
-rw-r--r-- | meta-oe/recipes-support/uim/uim/JMP_BUF_GC_jmp_buf.patch | 15 | ||||
-rw-r--r-- | meta-oe/recipes-support/uim/uim_1.8.8.bb | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/uim/uim/JMP_BUF_GC_jmp_buf.patch b/meta-oe/recipes-support/uim/uim/JMP_BUF_GC_jmp_buf.patch new file mode 100644 index 0000000000..adb9c4b06b --- /dev/null +++ b/meta-oe/recipes-support/uim/uim/JMP_BUF_GC_jmp_buf.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Fix error pointed out by gcc10 | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/sigscheme/libgcroots/include/private/gc_priv.h | ||
6 | +++ b/sigscheme/libgcroots/include/private/gc_priv.h | ||
7 | @@ -2026,7 +2026,7 @@ void GC_err_puts(const char *s); | ||
8 | |||
9 | # if defined(NEED_FIND_LIMIT) || \ | ||
10 | defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS) | ||
11 | -JMP_BUF GC_jmp_buf; | ||
12 | +extern JMP_BUF GC_jmp_buf; | ||
13 | |||
14 | /* Set up a handler for address faults which will longjmp to */ | ||
15 | /* GC_jmp_buf; */ | ||
diff --git a/meta-oe/recipes-support/uim/uim_1.8.8.bb b/meta-oe/recipes-support/uim/uim_1.8.8.bb index 0366ad85ae..507a341445 100644 --- a/meta-oe/recipes-support/uim/uim_1.8.8.bb +++ b/meta-oe/recipes-support/uim/uim_1.8.8.bb | |||
@@ -6,6 +6,7 @@ SECTION = "inputmethods" | |||
6 | 6 | ||
7 | SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2 \ | 7 | SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2 \ |
8 | file://0001-Fix-to-set-libedit-path-from-configure-option-proper.patch \ | 8 | file://0001-Fix-to-set-libedit-path-from-configure-option-proper.patch \ |
9 | file://JMP_BUF_GC_jmp_buf.patch \ | ||
9 | " | 10 | " |
10 | SRC_URI_append_class-target = "\ | 11 | SRC_URI_append_class-target = "\ |
11 | file://uim-module-manager.patch \ | 12 | file://uim-module-manager.patch \ |