-
Tor Didriksen authored
When building with "bundled" libraries, we get ODR violations in misc. router libraries, and the X plugin. These ODR violations are caused by our own shared libraries exporting symbols from zlib and libevent. To avoid the ODR violations, we build zlib and libevent with -fvisibility=hidden The patch also adds missing linker dependencies for libprobuf version files. The patch also adds sanitizer environments to router unit testing, so that these tests can benefit from existing ASAN/LSAN suppressions used for mtr tests. Change-Id: I68f057b843d4b5821e581085866109c748eeac69 (cherry picked from commit 57ae3907345c1eb9c6da8a8ed3b28812d58c22e0)
Tor Didriksen authoredWhen building with "bundled" libraries, we get ODR violations in misc. router libraries, and the X plugin. These ODR violations are caused by our own shared libraries exporting symbols from zlib and libevent. To avoid the ODR violations, we build zlib and libevent with -fvisibility=hidden The patch also adds missing linker dependencies for libprobuf version files. The patch also adds sanitizer environments to router unit testing, so that these tests can benefit from existing ASAN/LSAN suppressions used for mtr tests. Change-Id: I68f057b843d4b5821e581085866109c748eeac69 (cherry picked from commit 57ae3907345c1eb9c6da8a8ed3b28812d58c22e0)
Loading