<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - FTBFS: libOpenCL.so.1.0.0: ld: .eh_frame_hdr table[5707] FDE at 0000000000c45b8c overlaps table[5708] FDE at 0000000000c45a88"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84242#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - FTBFS: libOpenCL.so.1.0.0: ld: .eh_frame_hdr table[5707] FDE at 0000000000c45b8c overlaps table[5708] FDE at 0000000000c45a88"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84242">bug 84242</a>
              from <span class="vcard"><a class="email" href="mailto:nheghathivhistha@gmail.com" title="David Kredba <nheghathivhistha@gmail.com>"> <span class="fn">David Kredba</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>