https://swiftshader.googlesource.com/SwiftShader.git/+/c4972610c38bcf8478016572a92843f165d9bfb4 is the commit that introduced the revision on the chromium side.
Reverting to default visibility when building libGLESv2 fixes it. In the corresponding swiftshader bug report (https://bugs.chromium.org/p/swiftshader/issues/detail?id=64), it says "the GCC and gold linkers only support it as an extension by using unsafe assumptions about the symbol's address being unimportant". It looks like as of 2.31, the GNU linker doesn't use those unsafe assumptions any longer. ** Changed in: chromium-browser (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1784397 Title: dev channel (69.0.3497.12) FTBFS on cosmic amd64 Status in chromium-browser package in Ubuntu: New Bug description: Since a recent binutils update in cosmic, chromium-browser 69 fails to build on cosmic/amd64. It builds fine on other supported architectures (i386, armhf, arm64): [11790/33363] SOLINK swiftshader/libGLESv2.so FAILED: swiftshader/libGLESv2.so swiftshader/libGLESv2.so.TOC python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="swiftshader/libGLESv2.so" --tocfile="swiftshader/libGLESv2.so.TOC" --output="swiftshader/libGLESv2.so" -- ../../../../../usr/bin/clang++ -shared -Wl,--version-script=../../third_party/swiftshader/src/OpenGL/libGLESv2/libGLESv2.lds -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=bfd -m64 -Wl,-O2 -Wl,--gc-sections -nostdlib++ -rdynamic -Wl,--hash-style=both -Wl,--gc-sections -o "swiftshader/libGLESv2.so" -Wl,-soname="libGLESv2.so" @"swiftshader/libGLESv2.so.rsp" /<<PKGBUILDDIR>>/out/Release/../../../../../usr/bin/ld.bfd: obj/third_party/swiftshader/src/OpenGL/libGLESv2/libswiftshader_libGLESv2_static.a(libGLESv2.o): relocation R_X86_64_PC32 against protected symbol `glBlendEquationSeparate' can not be used when making a shared object /<<PKGBUILDDIR>>/out/Release/../../../../../usr/bin/ld.bfd: final link failed: bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) I have downgraded to binutils 2.30-22ubuntu1 and this builds fine. Then upgraded to binutils 2.31-1ubuntu1 and it failed to build. https://sourceware.org/git/gitweb.cgi?p=binutils- gdb.git;h=451875b4f976a527395e9303224c7881b65e12ed looks related. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1784397/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

