Re: uuids on freebsd
| От | Andrew Gierth |
|---|---|
| Тема | Re: uuids on freebsd |
| Дата | |
| Msg-id | 87ocz95xxw.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
| Ответ на | uuids on freebsd (Andrew Gierth <andrew@tao11.riddles.org.uk>) |
| Список | pgsql-hackers |
>>>>> "Andrew" == Andrew Gierth <andrew@tao11.riddles.org.uk> writes: Andrew> I get a segfault too if I force misc/ossp-uuid to build withAndrew> -fPIC:[...]Andrew> I can try this on anotherbox with a debug-enabled pg buildAndrew> later. The problem, unsurprisingly, is that the call to uuid_create in contrib/uuid-ossp.c ends up resolving to the libc function rather than to the ossp libuuid.a one. Since the functions do completely different things, hilarity ensues. It can apparently be made to work by jumping through enough flaming hoops: you have to build misc/ossp-uuid with CFLAGS=-fPIC, and then build contrib/uuid-ossp with LDFLAGS_SL=-Wl,-Bsymbolic (but I think this would break again if misc/ossp-uuid ever installed a .so rather than just the .a). So I don't think this is a realistic fix. -- Andrew (irc:RhodiumToad)
В списке pgsql-hackers по дате отправления: