Ubuntu 21.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.

Ubuntu 21.04

Postby cherusker » Thu Jun 17, 2021 11:07 am

We're currently trying to build CEF on Ubuntu 21.04 but the `install-build-deps.sh` doesn't (yet?) list 21.04 as officially supported. Running the script with `--unsupported` works like a charm though. Is the script just not yet updated or are there issues with the build process on 21.04 that we should be aware of?

Thanks in advance! :)
cherusker
Newbie
 
Posts: 4
Joined: Thu Jun 17, 2021 10:51 am

Re: Ubuntu 21.04

Postby magreenblatt » Thu Jun 17, 2021 11:22 am

You might be the first person to try it ;). Please let us know if you run into any issues.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Ubuntu 21.04

Postby cherusker » Thu Jun 17, 2021 11:27 am

Sounds great + will report; so far things look as expected! :ugeek:
cherusker
Newbie
 
Posts: 4
Joined: Thu Jun 17, 2021 10:51 am

Re: Ubuntu 21.04

Postby cherusker » Thu Jun 17, 2021 12:34 pm

Mhm unfortunately it looks like libc on hirsute might have broken something there :|

I'm getting

Code: Select all
In file included from ../../third_party/swiftshader/third_party/llvm-subzero/lib/Support/Process.cpp:85:
../../third_party/swiftshader/third_party/llvm-subzero/lib/Support/Unix/Process.inc:91:10: error: 'mallinfo' is deprecated [-Werror,-Wdeprecated-declarations]
  mi = ::mallinfo();
         ^
/usr/include/malloc.h:118:48: note: 'mallinfo' has been explicitly marked deprecated here
extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
                                               ^


Looking at

- https://sourceware.org/pipermail/libc-a ... 00030.html

it appears that this deprecation got introduced in libc 2.33 this February, which is distributed with 21.04. Meanwhile, 20.10 is on 2.32:

- https://packages.ubuntu.com/groovy/libc6
- https://packages.ubuntu.com/hirsute/libc6
cherusker
Newbie
 
Posts: 4
Joined: Thu Jun 17, 2021 10:51 am

Re: Ubuntu 21.04

Postby magreenblatt » Thu Jun 17, 2021 3:53 pm

You might have better luck with use_sysroot=true. See step #7 here.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 22 guests