Re: Problem building in a directory shared from Mac to Ubuntu

From: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem building in a directory shared from Mac to Ubuntu
Date: 2013-06-25 05:16:17
Message-ID: CAFjFpReGByt2P0kzA43Su_WgCk1fpjYjc28kM65XHnL0Zo8u3w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sorry, forgot to attach the config.log and output of make (a clean make).
here it is

On Tue, Jun 25, 2013 at 10:44 AM, Ashutosh Bapat <
ashutosh(dot)bapat(at)enterprisedb(dot)com> wrote:

> 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
>

--
Best Wishes,
Ashutosh Bapat
EntepriseDB Corporation
The Postgres Database Company

Attachment Content-Type Size
pg_build.tgz application/x-gzip 40.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message james 2013-06-25 05:36:51 Re: C++ compiler
Previous Message Ashutosh Bapat 2013-06-25 05:14:23 Problem building in a directory shared from Mac to Ubuntu