diff options
author | Changqing Li <changqing.li@windriver.com> | 2024-03-14 15:22:15 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-03-17 13:10:09 -0700 |
commit | 8aec805ac4b5f59a7716dad18461eeeb84872181 (patch) | |
tree | 1d81de51ed589ec80ca2987f3b6a7c496a3dc903 /meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch | |
parent | 4b09b8f12fb62e806968a1805bc1b4418b77f0ef (diff) | |
download | meta-openembedded-8aec805ac4b5f59a7716dad18461eeeb84872181.tar.gz |
postgresql: fix a runtime error
initdb on target will fail with below error:
2024-03-13 08:40:23.253 UTC [4410] FATAL: could not load library "/usr/lib64/postgresql/dict_snowball.so": /usr/lib64/postgresql/dict_snowball.so: undefined symbol: CurrentMemoryContext
Refer [1][2], for cross compile, --export-dynamic is assumed as not
supported, and cause above error. For oe, both gcc and clang support
--export-dynamic, fixed by set LDFLAGS_EX_BE directly
[1] https://www.postgresql.org/message-id/79e63515-0f5e-30f4-136d-96e23b1a817d%40posteo.de
[2] https://github.com/postgres/postgres/commit/9db49fc5bfdc0126be03f4b8986013e59d93b91d#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/yasm/yasm/0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch')
0 files changed, 0 insertions, 0 deletions