[Mesa-dev] [Bug 84242] New: Mesa-10.3: libOpenCL.so.1.0.0: ld: .eh_frame_hdr table[5707] FDE at 0000000000c45b8c overlaps table[5708] FDE at 0000000000c45a88

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 23 04:54:50 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84242

          Priority: medium
            Bug ID: 84242
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Mesa-10.3: libOpenCL.so.1.0.0: ld: .eh_frame_hdr
                    table[5707] FDE at 0000000000c45b8c overlaps
                    table[5708] FDE at 0000000000c45a88
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: nheghathivhistha at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Other
           Product: Mesa

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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140923/2d15cf52/attachment-0001.html>


More information about the mesa-dev mailing list