* Himanshu Chauhan: > I searched the internet for the failure and it looks like it has something > to do with default visibility of symbols in gcc 7.2. I have tried > -fvisibility etc but to no avail. You need to provide a minimal example of what you have tried. Best would be an example which reproduces the linker error with an off-the-shell toolchain from a GNU/Linux distribution.