[Bug 1371636]

Alan Modra 1371636 at bugs.launchpad.net
Fri Oct 3 03:34:40 UTC 2014


Build libOpenCL.so.1 with -Wl,-noinhibit-exec,-Map,libOpenCl.map and
look at the mapfile entries for .eh_frame.  Try to match up with
addresses given for the overlapping FDE.  This should give you the
object file(s) at fault.  My guess is that further analysis will point
at an llvm bug.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  Confirmed
Status in binutils:
  Unknown
Status in Mesa:
  Confirmed
Status in “binutils” package in Ubuntu:
  Confirmed
Status in “llvm-toolchain-3.5” 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



More information about the foundations-bugs mailing list