diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-07-06 00:50:43 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-07-06 00:50:43 +0200 |
commit | 087b212655d8bf03d24333a53920f2b5087d0e33 (patch) | |
tree | b25a054517912e7a43c4f1c00eafa5efc1b9971f | |
parent | d09ebd34303f74df2c3031b0930316449c61c821 (diff) |
open_issues/prelink: New.
-rw-r--r-- | open_issues/prelink.mdwn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/open_issues/prelink.mdwn b/open_issues/prelink.mdwn new file mode 100644 index 00000000..ad85b9e2 --- /dev/null +++ b/open_issues/prelink.mdwn @@ -0,0 +1,27 @@ +[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag open_issue_porting]] + +The *prelink* package, as distributed via Debian unstable, does build on +GNU/Hurd. After installing the satisfiable dependencies, use +`dpkg-buildpackage -b -uc -d` to ignore SELinux and libc6-dev dependencies. + +It is unclear whether it also does work. The testsuite (run manually) does +*FAIL* on all tests, which is due to the prelinker doing something to the +copied `ld.so.1` so that it faults on every invocation. This does not happen +on GNU/Linux. + +Not much in the prelinker is Linux-specific. `src/get.c`'s `is_ldso_soname` +should already cover our `ld.so.1` case (and what about `ld.so`?). At the end +of `src/arch-i386.c`, `.dynamic_linker` has to be set properly. And, in that +file there are some Linux process VM constants, of which `REG2S` and `REG2E` +are the only relevant in the `!exec_shield` case. Probably these need to be +adjusted. What else? |