You are not logged in.
Related upstream issue. When a static library is built the symbols marked __attribute__((__visibility__("internal"))) are linkable by the test programs. When the library is shared the internal symbols are not dynamic and the linker can not find them. Making the symbols public makes them dynamic and they can be linked against but these symbols are not meant to be public so is there an alternate solution?
Offline
https://stackoverflow.com/questions/555 … references but looking at just teh first one in https://github.com/google/XNNPACK/blob/ … hwc.cc#L24 those are actually used by the test programs.
It would seem that this isn't an intended build constellation and building the unit tests would imply static linking, does it work w/ whatever the "-DXNNPACK_LIBRARY_TYPE=default" option does (hybrid build?)?
Offline