After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685626 - configure should be more careful with linker script
configure should be more careful with linker script
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-06 20:31 UTC by Igor Pashev
Modified: 2012-11-21 06:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.08 KB, patch)
2012-10-06 20:31 UTC, Igor Pashev
none Details | Review

Description Igor Pashev 2012-10-06 20:31:29 UTC
Created attachment 225958 [details] [review]
patch

configure script tries to guess how to pass "version script" to linker:

VERSION_SCRIPT_FLAGS=
$(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
    VERSION_SCRIPT_FLAGS=-Wl,--version-script=
test "`uname`" == "SunOS" && \
    VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
AC_SUBST(VERSION_SCRIPT_FLAGS)
AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])

And now it sets "-Wl,-M -Wl," on illumos/solaris *even* if GNU ld is in use.
Comment 1 Daniel Veillard 2012-11-21 06:07:49 UTC
Okay, makes sense, slightly different from how libxml2 does but looks
correct, applied and pushed:

http://git.gnome.org/browse/libxslt/commit/?id=2fbfdd5dbb08724e29e3331b846a30785542c7d1

  thanks !

Daniel