diff options
Diffstat (limited to 'open_issues')
-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? |