[Bug 1199940] New: windows:mingw:win{32|64}/mingw{32|64}-angleproject: Unwanted export of shader related functions
http://bugzilla.opensuse.org/show_bug.cgi?id=1199940 Bug ID: 1199940 Summary: windows:mingw:win{32|64}/mingw{32|64}-angleproject: Unwanted export of shader related functions Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: fstrba@suse.com Reporter: ralf.habacker@freenet.de QA Contact: screening-team-bugs@suse.de CC: fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com Found By: --- Blocker: --- Compiling the package mingw32-libqt5-qtwebkit (https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-libqt5-q...) fails with [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShInitialize': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:92: multiple definition of `ShInitialize'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000114.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShInitBuiltInResources': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:114: multiple definition of `ShInitBuiltInResources'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000113.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShDestruct': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:166: multiple definition of `ShDestruct'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000107.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShConstructCompiler': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:147: multiple definition of `ShConstructCompiler'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000106.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShCompile': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:188: multiple definition of `ShCompile'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000105.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShGetInfo': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:205: multiple definition of `ShGetInfo'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000110.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShGetInfoLog': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:262: multiple definition of `ShGetInfoLog'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000111.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShGetObjectCode': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:278: multiple definition of `ShGetObjectCode'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000112.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShGetActiveAttrib': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:297: multiple definition of `ShGetActiveAttrib'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000108.o):(.text+0x0): first defined here [ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShGetActiveUniform': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:309: multiple definition of `ShGetActiveUniform'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000109.o):(.text+0x0): first defined here -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1199940
http://bugzilla.opensuse.org/show_bug.cgi?id=1199940#c1
--- Comment #1 from Ralf Habacker
Compiling the package mingw32-libqt5-qtwebkit
[ 2546s] /usr/lib64/gcc/i686-w64-mingw32/10.3.0/../../../../i686-w64-mingw32/bin/ld: /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ ANGLE/release/libANGLE.a(ShaderLang.o): in function `ShInitialize': [ 2546s] /home/abuild/rpmbuild/BUILD/qtwebkit-opensource-src-5.9.1/Source/ThirdParty/ ANGLE/src/compiler/ShaderLang.cpp:92: multiple definition of `ShInitialize'; /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a(d000114.o):(. text+0x0): first defined here
The mentioned import library exports those symbols $ nm /usr/i686-w64-mingw32/sys-root/mingw/lib/libGLESv2.dll.a | grep " T _Sh" 00000000 T _ShInitialize 00000000 T _ShInitBuiltInResources 00000000 T _ShGetObjectCode 00000000 T _ShGetInfoLog 00000000 T _ShGetInfo 00000000 T _ShGetActiveUniform 00000000 T _ShGetActiveAttrib 00000000 T _ShDestruct 00000000 T _ShConstructCompiler 00000000 T _ShCompile which are not exported by the related dll $ objdump -x /usr/i686-w64-mingw32/sys-root/mingw/bin/libGLESv2.dll | grep "] Sh" <empty list> On linux those symbols are exported by libglslang $ nm -D /usr/lib64/libglslang.so.suse9 | grep "T Sh" 00000000000e15c0 T ShCompile 00000000000d9010 T ShConstructCompiler 00000000000d9050 T ShConstructLinker 00000000000d9090 T ShConstructUniformMap 00000000000d90c0 T ShDestruct 00000000000d9540 T ShExcludeAttributes 00000000000d9140 T ShFinalize 00000000000d9450 T ShGetExecutable 00000000000d93c0 T ShGetInfoLog 00000000000d95b0 T ShGetUniformLocation 00000000000d8f90 T ShInitialize 00000000000dbf30 T ShLinkExt 00000000000d93b0 T ShSetEncryptionMethod 00000000000d94f0 T ShSetFixedAttributeBindings 00000000000d94a0 T ShSetVirtualAttributeBindings which let me think that the import library libGLESv2.dll.a should not export those symbols. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com