dbTalk Databases Forums  

[BUGS] BUG #1584: undefined symbol _tas

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1584: undefined symbol _tas in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Benjamin Reed
 
Posts: n/a

Default [BUGS] BUG #1584: undefined symbol _tas - 04-10-2005 , 02:27 PM







The following bug has been logged online:

Bug reference: 1584
Logged by: Benjamin Reed
Email address: ranger (AT) befunk (DOT) com
PostgreSQL version: 7.3.9
Operating system: Mac OS X 10.4.0 ("Tiger")
Description: undefined symbol _tas
Details:

Something has changed between 10.3 and 10.4; my PostgreSQL 7.3.9 Fink
package builds just fine on 10.3, but fails on 10.4 with:

gcc -no-cpp-precomp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -fno-common
-L/sw/build/root-postgresql73-7.3.9-21/sw/lib -L/sw/lib -L/sw/lib
-L/usr/lib access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o
libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o
tcop/SUBSYS.o utils/SUBSYS.o -lpam -lkrb5 -lz -lreadline -lresolv -ldl -lm
-o postgres
/usr/bin/ld: warning -L: directory name
(/sw/build/root-postgresql73-7.3.9-21/sw/lib) does not exist
/usr/bin/ld: Undefined symbols:
_tas

I've found some references to similar issues, but have been unable to figure
out how to apply them to the current situation.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1584: undefined symbol _tas - 04-10-2005 , 04:30 PM






"Benjamin Reed" <ranger (AT) befunk (DOT) com> writes:
Quote:
Something has changed between 10.3 and 10.4; my PostgreSQL 7.3.9 Fink
package builds just fine on 10.3, but fails on 10.4 with:
/usr/bin/ld: Undefined symbols:
_tas
Perhaps Apple stopped defining __APPLE__ ? Or switched from
__ppc__ to __powerpc__ ? But in any case, updating to PG 7.4
or later should make the problem go away. If you really don't
want to move off 7.3, look in src/backend/storage/lmgr/s_lock.c.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
  #3  
Old   
Benjamin Reed
 
Posts: n/a

Default Re: [BUGS] BUG #1584: undefined symbol _tas - 04-10-2005 , 11:47 PM



Tom Lane wrote:

Quote:
Perhaps Apple stopped defining __APPLE__ ? Or switched from
__ppc__ to __powerpc__ ? But in any case, updating to PG 7.4
or later should make the problem go away. If you really don't
want to move off 7.3, look in src/backend/storage/lmgr/s_lock.c.
Yeah, I got that far, but was having trouble backporting the 7.4 bits to
7.3.

The package really only exists for people with pre-existing installs; we
have packages for 7.4 and 8.0 as well.

The strange thing is, it *seems* like both __ppc__ and __powerpc__ are
defined, and __APPLE__ is definitely defined.

I'm having a really hard time narrowing down what's missing.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #4  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1584: undefined symbol _tas - 04-11-2005 , 12:54 AM



Benjamin Reed <ranger (AT) befunk (DOT) com> writes:
Quote:
The strange thing is, it *seems* like both __ppc__ and __powerpc__ are
defined, and __APPLE__ is definitely defined.
Hmm, then maybe Apple changed something about the assembler syntax,
such that 7.3's "asm" code is failing to define a global symbol?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.