← Back to team overview

touch-packages team mailing list archive

[Bug 1371636]

 

(In reply to comment #11)
> With Gentoo vanilla binutils 2.24-r3 with two slim LTO patches and the patch
> referred by Emil Velikov in Comment #3
> 
> https://projects.archlinux.org/svntogit/packages.git/plain/trunk/binutils-2.
> 24-shared-pie.patch?h=packages/
> binutils&id=47bdd59a9967ee8dd2bcc47797855185c6471546
> 
> it builds fine even with LTO enabled (using a trick with calling configure
> with LTO turned off and then -fno-lto -fno-use-linker-plugin removed from
> each Makefile).
> 
> So trunk binutils seems to be source of the problem.
> I have to start with bisecting them.

Nicely done. I hope that the problem does not end up a sheep in wolf's
clothing - i.e. somewhere else. Using gcc+bintutils, to compile a third
library, which links to another two compiler(ish) products... there are
so many things that can be happening in there.

Thank you for the great initiative :)

-- 
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:
  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


References