* [Buildroot] [git commit] package/liburing: fix static build
@ 2022-02-01 21:23 Arnout Vandecappelle
0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2022-02-01 21:23 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=d3e453e96401e0df74b385e296373bd29ddd6c4c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following static build failure raised since the addition of the
package in commit 03ca6f4e39874583060317e7e15e9e360220877e:
>>> liburing 2.1 Installing to staging directory
PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/liburing-2.1 DESTDIR=/home/buildroot/autobuild/instance-3/output-1/host/arc-buildroot-linux-uclibc/sysroot install
make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/liburing-2.1'
sed -e "s%@prefix@%/usr%g" \
-e "s%@libdir@%/usr/lib%g" \
-e "s%@includedir@%/usr/include%g" \
-e "s%@NAME@%liburing%g" \
-e "s%@VERSION@%2.0%g" \
liburing.pc.in >liburing.pc
make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/liburing-2.1/src'
CC setup.os
CC queue.os
CC syscall.os
CC register.os
CC liburing.so.2.1.0
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-3/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini':
__uClibc_main.c:(.text+0xa2): undefined reference to `__fini_array_start'
Fixes:
- http://autobuild.buildroot.org/results/54c67e0f5bd2b5f520a250dc13b5846f94fc1790
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/liburing/liburing.mk | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/liburing/liburing.mk b/package/liburing/liburing.mk
index 74ce4156f8..874e268d43 100644
--- a/package/liburing/liburing.mk
+++ b/package/liburing/liburing.mk
@@ -30,11 +30,13 @@ define LIBURING_BUILD_CMDS
endef
define LIBURING_INSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \
+ DESTDIR=$(STAGING_DIR) install
endef
define LIBURING_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \
+ DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-01 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01 21:23 [Buildroot] [git commit] package/liburing: fix static build Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.