undefined reference to __pgi_pinned_new_nothrow


While compiling with the “pinned” option in the 16.10 version of pgc++, ld gives me an
‘undefined reference to __pgi_pinned_new_nothrow’ error. I’ve used nm to analyse the symbols of the library files in my install directory /opt/pgi/linux86-64/16.10/lib/, and I see things like __pgi_pinnned_array_new_nothrow and __pgi_pinned_nothrow, but not a __pgi_pinned_new_nothrow.

Any help regarding this would be greatly appreciated.


We are missing a definition of __pgi_pinned_new in our libraries.
I have filed a bug against this : TPR23861.

As a workaround, I can only suggest that you might be able to find a way to use the throw versions of operator new.

Thanks Deb.