← Back to team overview

touch-packages team mailing list archive

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

 

Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=84242.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-09-23T11:54:50+00:00 David Kredba wrote:

With Gentoo LLVM-3.5 and Mesa-10.3 I cannot link libOpenCL.so.1.0.0 in Mesa-10.3.0-abi_x86_32.x86/src/gallium/targets/opencl with ld message
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../../../x86_64-pc-linux-gnu/bin/ld: .eh_frame_hdr table[5707] FDE at 0000000000c45b8c overlaps table[5708] FDE at 0000000000c45a88.

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2-alpha20140918/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.9.2_alpha20140918/work/gcc-4.9-20140918/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2-alpha20140918 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2-alpha20140918 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2-alpha20140918/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.2-alpha20140918/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.2-alpha20140918/python --enable-languages=c,c++,go,objc,obj-c++,fortran,ada --enable-obsolete --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.2_alpha20140918' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --enable-lto --with-cloog --disable-isl-version-check
Thread model: posix
gcc version 4.9.2-alpha20140918 20140919 (prerelease) [gcc-4_9-branch revision 215375] (Gentoo 4.9.2_alpha20140918)

Binutils are today's GIT clone.
I saw bug report at https://bugs.launchpad.net/arb/+bug/1371636 stating this not happens with LLVM 3.4.

Link command:
gmake[3]: Entering directory '/var/tmp/portage/media-libs/mesa-10.3.0/work/Mesa-10.3.0-abi_x86_32.x86/src/gallium/targets/opencl'
/bin/sh ../../../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -m32  -flto=4 -fuse-linker-plugin -O2 -pipe -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx -mno-xop -mno-fma4 -mno-sse4a -Wall -fno-strict-aliasing -fno-builtin-memcmp  -L/usr/lib32  -no-undefined -version-number 1:0 -Wl,--gc-sections -Wl,--no-undefined -Wl,--version-script=../../../../src/gallium/targets/opencl/opencl.sym -Wl,-flto -fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -pipe -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx -mno-xop -mno-fma4 -mno-sse4a -o libOpenCL.la -rpath /usr/lib32  ../../../../src/gallium/auxiliary/pipe-loader/libpipe_loader_client.la ../../../../src/gallium/state_trackers/clover/libclover.la ../../../../src/gallium/auxiliary/libgallium.la ../../../../src/util/libmesautil.la ../../../../src/gallium/winsys/sw/null/libws_null.la ../../../../src/gallium/winsys/sw/dri/libswdri.la ../../../../src/gallium/winsys/sw/xlib/libws_xlib.la -lX11 -lXext -lXfixes -ldrm  -lxcb-dri2 -lxcb  -ldrm   -ldl -lclangCodeGen -lclangFrontendTool -lclangFrontend -lclangDriver -lclangSerialization -lclangCodeGen -lclangParse -lclangSema -lclangAnalysis -lclangAST -lclangEdit -lclangLex -lclangBasic -lLLVM-3.5.0
libtool: link: x86_64-pc-linux-gnu-g++ -m32  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../../../lib32/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/32/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/lib32 -Wl,--as-needed -lexpat -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/x86_64-pc-linux-gnu/4.9.2-alpha20140918/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../../../lib32 -L/lib/../lib32 -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2-alpha20140918/../../../../lib32/crtn.o  -m32 -flto=4 -fuse-linker-plugin -O2 -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx -mno-xop -mno-fma4 -mno-sse4a -Wl,--gc-sections -Wl,--no-undefined -Wl,--version-script=../../../../src/gallium/targets/opencl/opencl.sym -Wl,-flto -fuse-linker-plugin -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -march=core2 -mtune=core2 -mno-3dnow -mno-sse4.2 -mno-avx -mno-xop -mno-fma4 -mno-sse4a   -Wl,-soname -Wl,libOpenCL.so.1 -o .libs/libOpenCL.so.1.0.0

What more information do you need please?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1371636/comments/4


** Changed in: mesa
       Status: Unknown => Confirmed

** Changed in: mesa
   Importance: Unknown => Medium

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