Public bug reported:

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.

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1784397

Title:
  dev channel (69.0.3497.12) FTBFS on cosmic amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1784397/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to