dbTalk Databases Forums  

Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native

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


Discuss Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pierre Girard
 
Posts: n/a

Default Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native - 12-16-2005 , 09:45 PM






Tom Lane wrote:

Quote:
You'd need to do something about adapting src/backend/port/tas/solaris_i386.s

It's possible that the assembly code would work as-is on amd, in which
case you'd just need a one-liner change in s_lock.h and maybe some
adjustment of the template file.


It doesn't compile with the options to create amd code.
cc -Xa -xtarget=opteron -xarch=amd64 -c solaris_i386.s
Assembler: tas.s
"solaris_i386.s", line 12 : Illegal mnemonic
"solaris_i386.s", line 14 : Illegal mnemonic
"solaris_i386.s", line 15 : Syntax error
"solaris_i386.s", line 17 : Syntax error
"solaris_i386.s", line 26 : Illegal mnemonic
"solaris_i386.s", line 28 : Illegal mnemonic
cc: assembler failed for solaris_i386.s

The same file compiles without those options:
cc -Xa -c solaris_i386.s

Quote:
Please send a patch if you fix this.


Unfortunately i won't be able to help unless you have some code for me
to try out.



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


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.