#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 fbissey):

 `LD_RUN_PATH` is great with gnu `ld`, I don't know if OS X `ld` takes it
 as well. One major problem with `LD_RUN_PATH` is that it is not additive
 to any extra `-rpath` option you pass to `ld`. If any `-Wl,-rpath` or
 `-rpath` is set, `LD_RUN_PATH` is just discarded.

 Case in point: in hashdist Ondrej asked a few months ago if it was
 possible to enforce a `rpath`, I provided a patch for `gcc` that change
 the spec for linking to add `-Wl-rpath=...`, this is added each time
 `gcc`, `g++` or `gfortran` is used linking and  `LD_RUN_PATH` will never
 be used if you link with that compiler. This is also done by IBM in their
 "advance toolchain" for power hardware, no working `LD_RUN_PATH` for you
 there either.

--
Ticket URL: <http://trac.sagemath.org/ticket/19698#comment:15>
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.

Reply via email to