Re: [hwloc-users] Embedded hwloc and Name Mangling Convention

2019-10-10 Thread Gutierrez, Samuel K. via hwloc-users
Brice, Ah, okay. That’s pretty slick. I have some renaming to do :-). Thank you, Sam On Oct 10, 2019, at 11:14 AM, Brice Goglin mailto:brice.gog...@inria.fr>> wrote: Yes. Once you call HWLOC_SET_SYMBOL_PREFIX(), hwloc takes care of automatically renaming your external callers and our

Re: [hwloc-users] Embedded hwloc and Name Mangling Convention

2019-10-10 Thread Gutierrez, Samuel K. via hwloc-users
Sorry, I sent the previous email too quickly. Is the recommended usage of embedded hwloc when using HWLOC_SET_SYMBOL_PREFIX to use the non-renamed symbols and avoid altogether the prefixed ones? Thank you, Sam On Oct 10, 2019, at 10:30 AM, Brice Goglin mailto:brice.gog...@inria.fr>> wrote:

Re: [hwloc-users] Embedded hwloc and Name Mangling Convention

2019-10-10 Thread Gutierrez, Samuel K. via hwloc-users
Thank you, Brice. A prudent approach. I’ll carry on. Best, Sam On Oct 10, 2019, at 10:30 AM, Brice Goglin mailto:brice.gog...@inria.fr>> wrote: Le 10/10/2019 à 17:38, Gutierrez, Samuel K. via hwloc-users a écrit : Good morning, I have a question about expected name mangling behavior when

Re: [hwloc-users] Embedded hwloc and Name Mangling Convention

2019-10-10 Thread Brice Goglin
Le 10/10/2019 à 17:38, Gutierrez, Samuel K. via hwloc-users a écrit : > Good morning, > > I have a question about expected name mangling behavior when using > HWLOC_SET_SYMBOL_PREFIX in hwloc v2.1.0 (and perhaps other versions). > > Say, for example, I do the following in a project embedding

[hwloc-users] Embedded hwloc and Name Mangling Convention

2019-10-10 Thread Gutierrez, Samuel K. via hwloc-users
Good morning, I have a question about expected name mangling behavior when using HWLOC_SET_SYMBOL_PREFIX in hwloc v2.1.0 (and perhaps other versions). Say, for example, I do the following in a project embedding hwloc: HWLOC_SET_SYMBOL_PREFIX(foo_internal_) HWLOC_SETUP_CORE(…) ... Now, entry