diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2020-04-13 21:39:40 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-05 16:30:44 +0300 |
commit | 82c905dc58a36aeae40b1b273a12f63fb1973cf4 (patch) | |
tree | 38caf00263451b5036435cdc36e035b25d32e623 /poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch | |
parent | 83ecb75644b3d677c274188f9ac0b2374d6f6925 (diff) | |
download | openbmc-82c905dc58a36aeae40b1b273a12f63fb1973cf4.tar.xz |
meta-openembedded and poky: subtree updates
Squash of the following due to dependencies among them
and OpenBMC changes:
meta-openembedded: subtree update:d0748372d2..9201611135
meta-openembedded: subtree update:9201611135..17fd382f34
poky: subtree update:9052e5b32a..2e11d97b6c
poky: subtree update:2e11d97b6c..a8544811d7
The change log was too large for the jenkins plugin
to handle therefore it has been removed. Here is
the first and last commit of each subtree:
meta-openembedded:d0748372d2
cppzmq: bump to version 4.6.0
meta-openembedded:17fd382f34
mpv: Remove X11 dependency
poky:9052e5b32a
package_ipk: Remove pointless comment to trigger rebuild
poky:a8544811d7
pbzip2: Fix license warning
Change-Id: If0fc6c37629642ee207a4ca2f7aa501a2c673cd6
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch')
-rw-r--r-- | poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch b/poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch new file mode 100644 index 0000000000..97bf6ae50e --- /dev/null +++ b/poky/meta/recipes-extended/sysklogd/files/0001-fix-one-rarely-reproduced-parallel-build-problem.patch @@ -0,0 +1,40 @@ +From dcaa75391ff267c38e776d48c579cdb734b91af3 Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Mon, 23 Mar 2020 15:52:32 +0800 +Subject: [PATCH] fix one rarely reproduced parallel build problem + +fix for this issue: +https://github.com/troglobit/sysklogd/issues/17 + +Signed-off-by: Robert Yang <liezhi.yang@windriver.com> +Signed-off-by: Changqing Li <changqing.li@windriver.com> + +Upstream-Status: Backport +[https://github.com/troglobit/sysklogd/commit/b88e21d1770a262f0e5d0f6b84f0abd4a5de55b7] + +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + src/Makefile.am | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 993dbfd..06b706d 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -56,3 +56,13 @@ libsyslog_la_SOURCES = syslog.c syslog.h compat.h + libsyslog_la_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600 + libsyslog_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 + libsyslog_la_LIBADD = $(LTLIBOBJS) ++ ++# Both libsyslog_la and syslogd/logger requires objects like lib/pidfile.o, for ++# libsyslog_la, the objects should be compiled with -fPIC, but for ++# syslogd/logger, it doesn't need -fPIC, so there is a race issue when the two ++# different lib/pidfile.o are compiled at the same time, which would cause errors like: ++# ld: syslogd-syslogd.o: in function `main': ++# syslogd.c:417: undefined reference to `__pidfile' ++# ++# Make LIBOBJS depend on LTLIBOBJS to fix the problem. ++$(LIBOBJS): $(LTLIBOBJS) +-- +2.7.4 + |