broken build
Quoted 20 lines · Jacob Embree
This is a followup to https://xen.markmail.org/thread/6bzbtbbprexrli2f
According to
https://stackoverflow.com/questions/20369672/undefined-reference-to-dlsym
a couple more flags are needed.commit
22c7e6d2204114c25625558e1f9634f264f9ac7cAuthor: Jacob Embree Date: Sat Mar 24 15:51:31 2018 -0400Fix LDFLAGS for libxenstore.so
Signed-off-by Jacob Embreetools/xenstore/Makefile +0
-0
tools/xenstore/Makefile libxenstore.so.$(MAJOR): libxenstore.so.$(MAJOR).$(MINOR) · line 110
Quoted 8 lines
tools/xenstore/Makefile +1
-1@@ -104,7 +104,7 @@ libxenstore.so.$(MAJOR): libxenstore.so.$(MAJOR).$(MINOR) xs.opic: CFLAGS += -DUSE_PTHREAD ifeq ($(CONFIG_Linux),y) xs.opic: CFLAGS += -DUSE_DLSYM -libxenstore.so.$(MAJOR).$(MINOR): LDFLAGS += -ldl +libxenstore.so.$(MAJOR).$(MINOR): LDFLAGS += -Wl,--no-as-needed,-ldl else PKG_CONFIG_REMOVE += -ldl endif
I think this is fixed by 1a3731949 with another method.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel