Re: Can't Build 7.3.4 on OS X

From: Eric Ridge <ebr(at)tcdi(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hunter Hillegas <lists(at)lastonepicked(dot)com>, Theodore Petrosky <tedpet5(at)yahoo(dot)com>, Johan Henselmans <johan(at)netsense(dot)nl>, PostgreSQL <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Marko Karppinen <karppinen(at)pobox(dot)com>
Subject: Re: Can't Build 7.3.4 on OS X
Date: 2003-09-21 22:10:49
Message-ID: 75271F36-EC80-11D7-A174-0003930C70D8@tcdi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-hackers

On Sep 21, 2003, at 3:11 PM, Tom Lane wrote:

> Great. I was afraid it might have been new with 10.2.

Also, 7.3.4 doesn't link on the OS X 10.3 beta's. Apparently tas is
never being defined. I could never fix this. In the list archives I
found all sorts of references to tas()/TAS and older versions of
postgres on other operating systems, but I simply couldn't figure out
how to make it happen on OS X 10.3.

the #if defined(__APPLE__) || defined(__ppc__) section of s_lock.c was
being used, as best I could tell. It defines a method named "void
tas_dummy()". And s_lock.h declares "extern int tas(slock_t *lock)"
and "#define TAS(lock) tas(lock)".... but how those match up to
tas_dummy() I don't know.

Everything compiles, then ld says:

ld: Undefined Symbol
_tas

any ideas here? 7.3.2 and 7.4beta3 compile just fine (I noticed that
7.4 has something more cross-platform for tas). What happened in 7.3.4
that broke it?

eric

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-09-22 01:03:15 Re: Can't Build 7.3.4 on OS X
Previous Message Eric Ridge 2003-09-21 22:04:03 Re: Can't Build 7.3.4 on OS X

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-09-22 01:03:15 Re: Can't Build 7.3.4 on OS X
Previous Message Eric Ridge 2003-09-21 22:04:03 Re: Can't Build 7.3.4 on OS X

Browse pgsql-hackers by date

  From Date Subject
Next Message Kurt Roeckx 2003-09-21 22:34:15 Re: Improving REINDEX for system indexes (long)
Previous Message Eric Ridge 2003-09-21 22:04:03 Re: Can't Build 7.3.4 on OS X