Problem building in a directory shared from Mac to Ubuntu

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Problem building in a directory shared from Mac to Ubuntu
Дата
Msg-id CAFjFpRfqi_7AiWvcBOqGKtUed7kw78FqoLOcR7khZ7MCdZzp7g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Problem building in a directory shared from Mac to Ubuntu  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Re: Problem building in a directory shared from Mac to Ubuntu  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi,
I am observing a strange problem when I build latest PostgreSQL head on Ubuntu 12.04. I am running Ubuntu 12.04 as VM on Mac 10.7. The build directory points to a sub-directory of host directory shared from Mac to Ubuntu 12.04. The source is also located in a sub-directory of the shared directory.

postmaster builds without any error, but all the binaries in src/bin fail to link with error "undefined reference to `pthread_sigmask'". If I add -pthread to the link command the binaries link without error.

If I build it on a directory local to VM and also place my source in a directory local to VM, the build goes fine.

Is this a known issue? What's the cure?
--
Best Wishes,
Ashutosh Bapat
EntepriseDB Corporation
The Postgres Database Company

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rushabh Lathia
Дата:
Сообщение: Re: proposal 9.4 plpgsql: allows access to call stack from GET DIAGNOSTICS statement
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Problem building in a directory shared from Mac to Ubuntu