Page 1 of 1

Ubuntu 21.04

PostPosted: Thu Jun 17, 2021 11:07 am
by cherusker
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! :)

Re: Ubuntu 21.04

PostPosted: Thu Jun 17, 2021 11:22 am
by magreenblatt
You might be the first person to try it ;). Please let us know if you run into any issues.

Re: Ubuntu 21.04

PostPosted: Thu Jun 17, 2021 11:27 am
by cherusker
Sounds great + will report; so far things look as expected! :ugeek:

Re: Ubuntu 21.04

PostPosted: Thu Jun 17, 2021 12:34 pm
by cherusker
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

Re: Ubuntu 21.04

PostPosted: Thu Jun 17, 2021 3:53 pm
by magreenblatt
You might have better luck with use_sysroot=true. See step #7 here.