#10572: compiler/binutils wrapper
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: build | Resolution:
Keywords: compiler gcc | Merged in:
wrapper rpath spkg | Reviewers: Jean-Pierre Flori
Authors: Volker Braun, | Work issues:
Jean-Pierre Flori | Commit:
Report Upstream: N/A | f9f826ab1265d843db7d48f74dec831928ecdba8
Branch: | Stopgaps:
u/jpflori/ticket/10572 |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun, Jean-Pierre Flori', 'oldvalue':
u'Volker Braun'}):
* commit: => f9f826ab1265d843db7d48f74dec831928ecdba8
* reviewer: => Jean-Pierre Flori
* branch: => u/jpflori/ticket/10572
* author: Volker Braun => Volker Braun, Jean-Pierre Flori
Old description:
> This ticket implements a wrapper for the compiler that lets us rewrite
> compiler options on the fly. The goal is to fix:
>
> 1. Clashes between system and Sage's libraries due to LD_LIBRARY_PATH
> abuse.
> 1. Relocation issues, i.e., "dead" (hard-coded) RPATHs in binaries
> (shared libraries and executables) created by Sage, upon moving the
> installation (which includes installing a pre-built / binary
> distribution).
> 1. Broken compiler versions / tool chains; work around by messing with
> (e.g.) optimization flags, depending on the present compiler and its
> known issues.
>
> The wrapper is implemented in pure C++ and does not depend on any Sage
> component. At the moment it only wraps gcc and does not do anything for
> other compilers.
>
> Code repository https://bitbucket.org/vbraun/compilerwrapper
>
> spkg is here:
> http://boxen.math.washington.edu/home/vbraun/spkg/compilerwrapper-1.2.spkg
>
> Apply trac_10572_compilerwrapper_root.patch to the sage root repository.
New description:
This ticket implements a wrapper for the compiler that lets us rewrite
compiler options on the fly. The goal is to fix:
1. Clashes between system and Sage's libraries due to LD_LIBRARY_PATH
abuse.
1. Relocation issues, i.e., "dead" (hard-coded) RPATHs in binaries (shared
libraries and executables) created by Sage, upon moving the installation
(which includes installing a pre-built / binary distribution).
1. Broken compiler versions / tool chains; work around by messing with
(e.g.) optimization flags, depending on the present compiler and its known
issues.
The wrapper is implemented in pure C++ and does not depend on any Sage
component. At the moment it only wraps gcc and does not do anything for
other compilers.
Code repository https://bitbucket.org/vbraun/compilerwrapper
Use tarball at:
*
http://boxen.math.washington.edu/home/jpflori/upstream/compilerwrapper-1.2.tar.bz2
--
Comment:
I've gitified the ticket without making it a standard package (basically,
Volker's hg patch).
I think should definitely make it optional at least.
And I give positive review to what Volker done, except for maybe not
making the package standard, at least now...
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=f9f826ab1265d843db7d48f74dec831928ecdba8
f9f826a]||{{{Gitify compiler/binutils wrapper.}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/10572#comment:65>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.