Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157870 - please stabilise paxctl-0.4 on remaining arches
Summary: please stabilise paxctl-0.4 on remaining arches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords: STABLEREQ
: 157869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-11 16:18 UTC by Kevin F. Quinn (RETIRED)
Modified: 2008-02-12 22:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-11 16:18:33 UTC
Affected arches on CC.

paxctl-0.4 adds the '-C' option.  This new functionality adds a PT_PAX_FLAGS header where one did not exist before (useful for pre-built binaries).  It's the last piece of functionality need before the old EI flags (which strictly speaking contravene the ELF specification) can be phased out.

This method is more invasive than the others.  Typically, ELF files do not have any spare room in their Program Header table, and also typically the header is included in the PT_LOAD sections (i.e. the header is included as part of the process image).  The -C option deals with this by extending the process image downwards by one page, reducing the base load address by one page and adjusting offsets in the ELF file so that the code etc in the process image remains at its original location.

You can check this if you have a binary not built with the Gentoo toolchain (which always adds a PT_PAX_FLAGS header).  I've tested it on amd64 with dev-java/sun-jdk, and the results seem to be fine there.  For other arches, I don't know of any packages that are not built by Gentoo and are provided only in binary form.

If you need me to provide detailed instructions on how to check that the new functionality works (i.e. beyond that it just emerges ok), just say and I'll write something up.
Comment 1 solar (RETIRED) gentoo-dev 2006-12-11 16:32:47 UTC
Stable on amd64.
sparc, hppa and mips remain.
hppa and mips have never had any version in stable.
Comment 2 Mike Doty (RETIRED) gentoo-dev 2006-12-11 22:32:57 UTC
*** Bug 157869 has been marked as a duplicate of this bug. ***
Comment 3 Ferris McCormick (RETIRED) gentoo-dev 2006-12-12 04:40:53 UTC
Seems good on sparc.  Sparc stable.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2006-12-12 06:58:52 UTC
Stable for HPPA.
Comment 5 solar (RETIRED) gentoo-dev 2007-03-11 20:11:32 UTC
Kumba.. poke..
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 22:39:02 UTC
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml