axiom-mail
[Top][All Lists]
Advanced

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

Re: [Axiom-mail] Broken compile?


From: James Cloos
Subject: Re: [Axiom-mail] Broken compile?
Date: Sun, 21 Aug 2011 03:03:41 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

[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
-- 
James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6



reply via email to

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