Re: [PATCH] Print error when libpq-refs-stamp fails
| От | Anton Voloshin |
|---|---|
| Тема | Re: [PATCH] Print error when libpq-refs-stamp fails |
| Дата | |
| Msg-id | bd2c8409-d6b3-5de9-ba0f-40c1381f630f@postgrespro.ru обсуждение исходный текст |
| Ответ на | [PATCH] Print error when libpq-refs-stamp fails (Rachel Heaton <rachelmheaton@gmail.com>) |
| Ответы |
Re: [PATCH] Print error when libpq-refs-stamp fails
|
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: