forked from mhatle/prelink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
58 lines (40 loc) · 2.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Please contact <mark.hatle@windriver.com> if you have a question about this
version. The original author is not responsible for the modified version!
Compilation
-----------
In order to build this, you will need to regenerate the autotools files:
autoreconf -if
Patch submission
----------------
When submitting patches to the cross-prelink project, please do the
following:
To: mark.hatle@windriver.com
Cc: yocto@yoctoproject.org
Subject: [prelink-cross] ....
Additionally, a 'Developer's Certificate of Origin' statement will be required
for all submitted patches. See:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin
Effectively this means at then end of your commit, please add a
Signed-off-by: line. If you are not the original author of the patch, please
indicate this and then add your Signed-off-by: line after.
Known Issues
------------
The --preload option does not always work. The preload1 test currently fails.
quick2 test will fail if you do not have static libc installed.
IFUNC on glibc. glibc appears to have a bug related to specific IFUNC
ordering. build_local_scope in glibc is processing depth first instead of
breadth-first processing as it should be. The prelink-rtld version works
around this issue. (Prelink-rtld is only available in the cross compile
version.) See:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9131
https://sourceware.org/bugzilla/show_bug.cgi?id=20488
ARM & PPC: both are currently failing the reloc8 and reloc9 tests. The
issue has been traced down to the latest binutils being unable to link with
'-Wl,-z,nocopyreloc'. This problem is not related to prelink, as the binaries
fail before being prelinked. See:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10168
AArch64 prelink may not support big-endian (it only knows about the
little-endian dynamic linker name) and does not support ILP32. TLS
only works with AArch64 prelink if the -mtls-dialect=trad option is
used or the subtraction of the thread pointer from the return value is
removed from _dl_tlsdesc_undefweak in glibc.