pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Install: Undefined symbol `_TAS'
4+ messages / 3 participants
[nested] [flat]

* Install: Undefined symbol `_TAS'
@ 2000-02-03 18:38  Frank Bax <fbax@execulink.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Frank Bax @ 2000-02-03 18:38 UTC (permalink / raw)
  To: pgsql-sql

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
collect2: ld returned 1 exit status
make[1]: *** [postgres] Error 1
make: *** [all] Error 2

Frank



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Install: Undefined symbol `_TAS'
@ 2000-02-04 06:48  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Frank Bax <fbax@execulink.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2000-02-04 06:48 UTC (permalink / raw)
  To: Frank Bax <fbax@execulink.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Install: Undefined symbol `_TAS'
@ 2000-02-04 13:52  Vince Gonzalez <vince@nycrc.net>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Vince Gonzalez @ 2000-02-04 13:52 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Frank Bax <fbax@execulink.com>; pgsql-sql

On Fri, Feb 04, 2000 at 01:48:21AM -0500, Tom Lane wrote:
> 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

OpenBSD 2.6 includes Postgres 6.5.3 in its ports collection, which
fixes this.

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

--vince



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [SQL] Install: Undefined symbol `_TAS'
@ 2000-02-04 15:07  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Vince Gonzalez <vince@nycrc.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2000-02-04 15:07 UTC (permalink / raw)
  To: Vince Gonzalez <vince@nycrc.net>; +Cc: Frank Bax <fbax@execulink.com>; pgsql-sql




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2000-02-04 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-02-03 18:38 Install: Undefined symbol `_TAS' Frank Bax <fbax@execulink.com>
2000-02-04 06:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2000-02-04 13:52   ` Vince Gonzalez <vince@nycrc.net>
2000-02-04 15:07     ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox