Hello,

On 28/09/2021 05:55, Rachel Heaton wrote:
Hello,

While developing I got this error and it was difficult to figure out what was going on.

Thanks to Jacob, I was able to learn the context of the failure, so we created this small patch.

-       ! nm -A -u $< 2>/dev/null | grep -v __cxa_atexit | grep exit
+       @if nm -a -u $< 2>/dev/null | grep -v __cxa_atexit | grep exit; then \
+ echo 'libpq must not be linked against any library calling exit'; exit 1; \
+       fi

Could you please confirm that the change from -A to -a in nm arguments in this patch is intentional?

--
Anton Voloshin
Postgres Professional, The Russian Postgres Company
https://postgrespro.ru


Reply via email to