Build failure with libxml2-2.9.10. #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
slibtool:
0.5.31libxml2: http://www.xmlsoft.org/sources/libxml2-2.9.10.tar.gz
libtool:
2.4.6After reading comment https://dev.midipix.org/cross/slibtool/issue/15#comment-23 I tried the libxml2 build where it fails with slibtool, but not libtool. Note that this is a different failure than discussed in the comment by @rossburton.
The issue goes away when running the slibtool link command in the
pythondirectory when the order of-Xlinkerand-sharedis reversed.Or if
-Xlinkeris omitted.Or can be avoided entirely when using
--with-python=noas a configure argument.Libtool never passes
-Xlinkerto the link command.Reproduction:
wget http://www.xmlsoft.org/sources/libxml2-2.9.10.tar.gztar xvf libxml2-2.9.10.tar.gzcd libxml2-2.9.10export MAKEFLAGS='LIBTOOL=rdlibtool V=1'autoreconf -fi6.
./configuremakeslibtool log: http://slackless.raccoons.tech/logs/libxml-slibtool-1.log
libtool log: http://slackless.raccoons.tech/logs/libxml-libtool.log
Thanks for the catch! slibtool's driver was missing proper support for -Xlinker (not to be confused with -XCClinker). Implemented in
2c4e5f9and verified to build libxml2 with python enabled.Metadata Update from @midipix: