Re: uuids on freebsd
| От | Andrew Gierth |
|---|---|
| Тема | Re: uuids on freebsd |
| Дата | |
| Msg-id | 877i5x7i6x.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
| Ответ на | uuids on freebsd (Andrew Gierth <andrew@tao11.riddles.org.uk>) |
| Список | pgsql-hackers |
>>>>> "Peter" == Peter Eisentraut <peter_e@gmx.net> writes: > Andrew Gierth wrote:>> Has anyone ever managed to get uuid generation working on FreeBSD?>> There seems to be no way tobuild contrib/uuid-ossp successfully,>> and no apparent agreement anywhere as to whether this is problem>> with pg or withthe misc/ossp-uuid port. Peter> So what's the problem? Error messages etc.? On my system (7.1-pre on amd64), it refuses to link (presumably due to the misc/ossp-uuid port building the .a without -fPIC). The guy whose report on IRC caused me to look into it had a very similar system, but in his case the module did link, but segfaulted the backend if called. I get a segfault too if I force misc/ossp-uuid to build with -fPIC: test=# select uuid_generate_v1(); server closed the connection unexpectedly (gdb) where #0 0x000000087d404fb5 in uuid_export () from /usr/local/lib/postgresql/uuid-ossp.so #1 0x000000087d40598a in uuid_make () from /usr/local/lib/postgresql/uuid-ossp.so #2 0x000000087d4031d8 in uuid_nil () from /usr/local/lib/postgresql/uuid-ossp.so #3 0x0000000000556cf9 in ExecMakeFunctionResult () I can try this on another box with a debug-enabled pg build later. -- Andrew (irc:RhodiumToad)
В списке pgsql-hackers по дате отправления: