axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] [Axiom-mail] Broken compile?


From: daly
Subject: Re: [Axiom-developer] [Axiom-mail] Broken compile?
Date: Sun, 21 Aug 2011 03:24:45 -0400

Whew. Thanks for that. 
Constructing a gentoo machine is a bit of work.
If you look at the download page of the Axiom website
http://axiom-developer.org/axiom-website/download.html
there is a section called "Compile Notes".

If you write up a Gentoo section I will include it.

Tim


On Sun, 2011-08-21 at 03:03 -0400, James Cloos wrote:
> [Sometimes just talking/writing publicly is enough to discover the solution.]
> 
> It turns out that the problem was gentoo's portage.
> 
> The axiom ebuild in gentoo, on which I based mine, is for 2008-May.
> Since then portage has added code to eliminate text relocations,
> executable stacks, writable+executable segments, and .hash sections
> from ELF files.  I had to modify and add these annotations:
> 
> -RESTRICT="strip"
> +RESTRICT="strip binchecks installsources"
> 
> +QA_TEXTRELS="opt/${P}/{algebra,autoload}/*.o opt/${P}/bin/AXIOMsys"
> +QA_EXECSTACK="opt/${P}/{algebra,autoload}/*.o opt/${P}/bin/AXIOMsys"
> +QA_WX_LOAD="opt/${P}/{algebra,autoload}/*.o opt/${P}/bin/AXIOMsys"
> +QA_DT_HASH="opt/${P}/{algebra,autoload}/*.o opt/${P}/bin/AXIOMsys"
> +QA_PRESTRIPPED="opt/${P}/{algebra,autoload}/*.o opt/${P}/bin/AXIOMsys"
> 
> to get a working installation.
> 
> (I haven't confirmed whether all of those are required -- it only takes
> about one hour to compile and four to run the tests -- but they are
> sufficient.)
> 
> I suspect that the ebuilds for the forks also will require similar 
> annotations.
> 
> Appoloies for the false alarm.
> 
> After a bit more polishing I will publish my ebuild at:
> 
>       http://cgit.freedesktop.org/~cloos/overlay/
> 
> -JimC






reply via email to

[Prev in Thread] Current Thread [Next in Thread]