>>>>> "Andrew" == Andrew Gierth <and...@tao11.riddles.org.uk> writes:
Andrew> I get a segfault too if I force misc/ossp-uuid to build with Andrew> -fPIC: [...] Andrew> I can try this on another box with a debug-enabled pg build Andrew> 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) -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers