#10572: gcc/binutils wrapper
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  GeorgSWeber      
       Type:  enhancement   |      Status:  new              
   Priority:  major         |   Milestone:  sage-4.6.2       
  Component:  build         |    Keywords:  gcc wrapper rpath
     Author:  Volker Braun  |    Upstream:  N/A              
   Reviewer:                |      Merged:                   
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by vbraun):

 * cc: drkirkby, jdemeyer (added)


Old description:

> This ticket aims to implement a gcc wrapper that will change gcc/ld/...
> arguments before passing them on to the underlying compiler binaries. The
> most current version is at
>
> https://bitbucket.org/vbraun/gcc-wrapper
>
> Right now, the wrappers
>   * remove any extra rpath that is set
>   * set the rpath to `$ORIGIN/../lib`. This makes the sage binaries look
> for their libraries in `$SAGE_LOCAL/lib` and no `LD_LIBRARY_PATH` hacks
> are necessary.
>   * some gcc optimization settings are removed on itanium and gcc 4.4.1.
> See also #10430.
>
> The wrapper is implemented in pure C++ and does not depend on any Sage
> component.
>
> TODO:
>   * Make the underlying ld binary independently configurable - this will
> simplify building Sage on Solaris.

New description:

 This ticket aims to implement a gcc wrapper that will suitably modify
 gcc/ld/... arguments before passing them on to the underlying compiler
 binaries. The most current version is at:

 https://bitbucket.org/vbraun/gcc-wrapper

 and a spkg is here:

 http://www.stp.dias.ie/~vbraun/Sage/spkg/gccwrapper-1.0.spkg

 Right now, the wrapper
   * removes any extra rpaths that are set
   * sets the rpath to `$ORIGIN/../lib`. This forces the sage binaries to
 first look for their libraries in `$SAGE_LOCAL/lib` and no
 `LD_LIBRARY_PATH` hacks are necessary any more.
   * removes some gcc optimization settings that are broken on itanium and
 gcc 4.4.1. See also #10430.

 The wrapper is implemented in pure C++ and does not depend on any Sage
 component.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10572#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to