Re: [SQL] Install: Undefined symbol `_TAS' - Mailing list pgsql-sql

From Tom Lane
Subject Re: [SQL] Install: Undefined symbol `_TAS'
Date
Msg-id 1848.949646901@sss.pgh.pa.us
Whole thread Raw
In response to Install: Undefined symbol `_TAS'  (Frank Bax <fbax@execulink.com>)
Responses Re: [SQL] Install: Undefined symbol `_TAS'  (Vince Gonzalez <vince@nycrc.net>)
List pgsql-sql
Frank Bax <fbax@execulink.com> writes:
> I've got an installation problem:
> OpenBSD 2.6 - gmake 3.78.1 - Postgres 6.5.3 (new install)

> storage/SUBSYS.o: Undefined symbol `_TAS' referenced from text segment

Hm.  tas() is a machine-dependent subroutine for low-level spinlocking.
It's typically provided as a macro in src/include/storage/s_lock.h
or a function in src/backend/storage/buffer/s_lock.c; some platforms
have assembly-coded versions in src/backend/port/tas/.  It sounds like
for some reason none of the provided alternatives are getting compiled
on your platform.  Please dig through the #ifdefs in those files and
figure out what needs to be changed to make it work on your setup.

(A likely possibility is that configure misidentified your platform;
did you notice whether it printed a reasonable platform ID?)
        regards, tom lane


pgsql-sql by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Next
From: Taral
Date:
Subject: Concurrency problem