Comment 10 for bug 1371636

Revision history for this message
In , David Kredba (nheghathivhistha) wrote :

patch -p1 < ../../binutils-2.24-shared-pie.patch
patching file ld/emultempl/elf32.em
Hunk #1 FAILED at 1480.
Hunk #2 FAILED at 1504.
Hunk #3 FAILED at 1620.
3 out of 3 hunks FAILED -- saving rejects to file ld/emultempl/elf32.em.rej
The next patch would create the file ld/testsuite/ld-elf/ehdr_start-shared.d,
which already exists! Assume -R? [n]
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored
patching file ld/testsuite/ld-elf/ehdr_start-userdef.d
Reversed (or previously applied) patch detected! Assume -R? [n] patch: tty read failed: Bad file descriptor
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ld/testsuite/ld-elf/ehdr_start-userdef.d.rej
patching file ld/testsuite/ld-elf/ehdr_start-weak.d
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ld/testsuite/ld-elf/ehdr_start-weak.d.rej
patching file ld/testsuite/ld-elf/ehdr_start.d
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file ld/testsuite/ld-elf/ehdr_start.d.rej

So the patch is really included in my binutils. I will try no LTO and if it fails the same way your version of binutils + your patch to binutils.
In the mean time I will try find out if ld.gold can link it and if I can find out what symbol(s)/function(s) is(are) exactly reffered by that frame numbers.