#19698: install_name_tool: changing install names or rpaths can't be redone
(libsingular)
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: defect | Status: positive_review
Priority: major | Milestone: sage-6.10
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 88632a35dd41996ab74658d889ecdddf255ff88a
u/vbraun/install_name_singular | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by leif):
Replying to [comment:11 fbissey]:
> It is very hard to solve #18892 by doing anything else but using `CXX`
as the linker - it is a valid from many 32bits recent install on any
distro. It was first reported to me on Gentoo a few weeks before it was
reported here.
Well, on Linux.
> In a lot of case you don't want to use the linker directly and let the
compiler do the magic for you.
Sure, but in this case (previously) libtool did the magic on Darwin, so if
you change that, upstream's assumptions do no longer hold and it's not too
surprising that such a change broke things elsewhere.
Hopefully we won't have to maintain Singular 3.x much longer.
[[BR]]
> Furthermore, if you are going to add `LDFLAGS=-Wl,-rpath=.....` globally
you don't want to use `ld` as your linker anywhere. `-Wl,` is a compiler
instruction to pass its argument to `ld`. Anywhere `ld` is used directly
you'll have to strip `-Wl,` from `LDFLAGS`.
... which would probably be easier with `-Xlinker` (by just dropping it),
since you wouldn't have to replace commas by spaces... ;-)
You can by the way also set `LD_RUN_PATH`, which is used by the linker if
no `-rpath` option is given.
--
Ticket URL: <http://trac.sagemath.org/ticket/19698#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.