[SOLVED] unsupported reloc 42 (Ubuntu 16.04)

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

[SOLVED] unsupported reloc 42 (Ubuntu 16.04)

Postby romariorios » Sat Jun 18, 2016 11:17 pm

Hello.

I'm trying to build CEF 2623 in Ubuntu 16.04, but I get this "unsupported reloc 42" error when linking chrome_sandbox:

Code: Select all
[584/15509] LINK chrome_sandbox
FAILED: chrome_sandbox
../../third_party/llvm-build/Release+Asserts/bin/clang -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -fuse-ld=gold -B/home/hitleapviewer/cef-2623/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -m64 -Wl,--detect-odr-violations -Wl,--icf=all -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o chrome_sandbox -Wl,--start-group obj/sandbox/linux/suid/chrome_sandbox.process_util_linux.o obj/sandbox/linux/suid/chrome_sandbox.sandbox.o -Wl,--end-group 
/home/hitleapviewer/cef-2623/chromium/src/third_party/binutils/Linux_x64/Release/bin/ld.gold: erro: /usr/lib/gcc/x86_64-linux-gnu/5.3.1/../../../x86_64-linux-gnu/crti.o: reloc 42 não suportado contra símbolo global __gmon_start__
/usr/lib/gcc/x86_64-linux-gnu/5.3.1/../../../x86_64-linux-gnu/crti.o(.init+0x7): erro: reloc 42 não suportado
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any way around this issue? My gcc version is 5.3.1.
Last edited by romariorios on Tue Jun 28, 2016 6:00 am, edited 1 time in total.
romariorios
Mentor
 
Posts: 50
Joined: Thu Apr 30, 2015 6:13 am
Location: Brazil

Re: unsupported reloc 42 (Ubuntu 16.04)

Postby magreenblatt » Mon Jun 20, 2016 10:13 am

Ubuntu 16.04 is not supported for building 2623 branch. See https://bitbucket.org/chromiumembedded/cef/issues/1907 for possible workarounds.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: unsupported reloc 42 (Ubuntu 16.04)

Postby romariorios » Tue Jun 28, 2016 6:00 am

Thanks for the help.
romariorios
Mentor
 
Posts: 50
Joined: Thu Apr 30, 2015 6:13 am
Location: Brazil


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 84 guests