Floating point exception (core dumped) Ubuntu 18.04 examples

I’m using the 0.10.0 release, and I’m trying to run the example projects in graphics (e.g. polygonExample). Compiling OF and the examples seemed to work alright.

$ make RunRelease
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
Floating point exception (core dumped)
/home/telega/Downloads/of_v0.10.0_linux64gcc6_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:197: recipe for target 'RunRelease' failed
make: *** [RunRelease] Error 136

Not sure how to interpret that. Something wrong with PKG_CONFIG_LIBDIR?

System information:

NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
4.16.18-041618-generic

OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon Graphics
OpenGL version string: 4.5.13529 Compatibility Profile Context

I would be grateful for any suggestions as to how I can start debugging this.

It seems like its an issue with the AMDGPU-PRO drivers.