← Back to team overview

touch-packages team mailing list archive

[Bug 1371636]

 

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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1371636

Title:
  [2.24.51.20140918-1ubuntu1 regression] - /usr/bin/ld: .eh_frame_hdr
  refers to overlapping FDEs

Status in The ARB phylogenetic analysis suite:
  New
Status in Mesa:
  Confirmed
Status in “binutils” package in Ubuntu:
  Confirmed

Bug description:
  Since today mesa fails to build on Ubuntu 14.10 (both i386 and amd64)
  while it still builds fine on Ubuntu 14.04. Nothing relevant changed
  in mesa since previous build in my PPA (indeed just some vc4 code only
  built on arm), the bug is reported by ld which I noticed just got
  updated with binutils package.

  Full PPA build log:
  https://launchpadlibrarian.net/185286922/buildlog_ubuntu-utopic-i386.mesa_10.4~git1409190730.195891~gd~u_FAILEDTOBUILD.txt.gz

  Error:
  libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-linux-gnu/4.9/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/4.9/crtbeginS.o  -Wl,--whole-archive ../../../../src/gallium/auxiliary/pipe-loader/.libs/libpipe_loader_client.a ../../../../src/gallium/state_trackers/clover/.libs/libclover.a ../../../../src/gallium/auxiliary/.libs/libgallium.a ../../../../src/util/.libs/libmesautil.a ../../../../src/gallium/winsys/sw/null/.libs/libws_null.a ../../../../src/gallium/winsys/sw/dri/.libs/libswdri.a ../../../../src/gallium/winsys/sw/xlib/.libs/libws_xlib.a -Wl,--no-whole-archive  -L/usr/lib/llvm-3.5/lib /usr/lib/i386-linux-gnu/libexpat.so -lX11 -lXext -lXfixes -lxcb-dri2 -lxcb -ldrm -ldl -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization -lclangCodeGen -lclangParse -lclangSema -lclangAnalysis -lclangAST -lclangEdit -lclangLex -lclangBasic -lLLVM-3.5.0 -L/usr/lib/gcc/i686-linux-gnu/4.9 -L/usr/lib/gcc/i686-linux-gnu/4.9/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.9/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.9/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/4.9/crtendS.o /usr/lib/gcc/i686-linux-gnu/4.9/../../../i386-linux-gnu/crtn.o  -O2 -march=pentium3 -Wl,--gc-sections -Wl,--no-undefined -Wl,--version-script=../../../../../../src/gallium/targets/opencl/opencl.sym -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro   -Wl,-soname -Wl,libMesaOpenCL.so.1 -o .libs/libMesaOpenCL.so.1.0.0
  /usr/bin/ld: .eh_frame_hdr refers to overlapping FDEs.
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status
  Makefile:636: recipe for target 'libMesaOpenCL.la' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/arb/+bug/1371636/+subscriptions


References