From Craig.Miskell at agresearch.co.nz Tue Nov 1 22:27:08 2005 From: Craig.Miskell at agresearch.co.nz (Miskell, Craig) Date: Wed, 2 Nov 2005 16:27:08 +1300 Subject: [emboss-dev] Emboss on Opterons Message-ID: Re post archived at http://emboss.open-bio.org/pipermail/emboss-dev/2004-January/000336.html , the patch is out of date regarding at least my version of gcc: $ gcc -v Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53) This version of gcc doesn't define __amd64__, but rather defines __x86_64__. Ajfmt.[ch] need to be modified to use the latter define, otherwise they'll segfault. Just thought you might like to know, Craig Miskell, Technical Support, AgResearch Invermay 03 489-9279 The problem with sendmail is not that it has too few features. -- Alan J Rosenthal, in alt.sysadmin.recovery ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ======================================================================= From ajb at ebi.ac.uk Wed Nov 2 04:29:53 2005 From: ajb at ebi.ac.uk (ajb at ebi.ac.uk) Date: Wed, 2 Nov 2005 09:29:53 -0000 (GMT) Subject: [emboss-dev] Emboss on Opterons In-Reply-To: References: Message-ID: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> > This version of gcc doesn't define __amd64__, but rather defines > __x86_64__. Ajfmt.[ch] need to be modified to use the latter define, > otherwise they'll segfault. > > Just thought you might like to know, There seems to be little standardisation over the naming of that define, if anything is defined at all. Thanks for the info. I was intending waiting to see whether the compiler people came to some agreement. That may be wishful thinking. Of course, people can still do: setenv CFLAGS __amd64__ before configuring emboss and EMBOSS will then work even for those platforms that define __x86_64__. I'll put in a specific test for __x86_64__ into CVS soon. Thanks again. Alan From ajb at ebi.ac.uk Wed Nov 2 04:38:48 2005 From: ajb at ebi.ac.uk (ajb at ebi.ac.uk) Date: Wed, 2 Nov 2005 09:38:48 -0000 (GMT) Subject: [emboss-dev] Emboss on Opterons In-Reply-To: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> References: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> Message-ID: <54276.81.96.70.96.1130924328.squirrel@webmail.ebi.ac.uk> That should, of course, have been: setenv CFLAGS "-D__amd64__" Alan From Craig.Miskell at agresearch.co.nz Wed Nov 2 03:27:08 2005 From: Craig.Miskell at agresearch.co.nz (Miskell, Craig) Date: Wed, 2 Nov 2005 16:27:08 +1300 Subject: [emboss-dev] Emboss on Opterons Message-ID: Re post archived at http://emboss.open-bio.org/pipermail/emboss-dev/2004-January/000336.html , the patch is out of date regarding at least my version of gcc: $ gcc -v Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53) This version of gcc doesn't define __amd64__, but rather defines __x86_64__. Ajfmt.[ch] need to be modified to use the latter define, otherwise they'll segfault. Just thought you might like to know, Craig Miskell, Technical Support, AgResearch Invermay 03 489-9279 The problem with sendmail is not that it has too few features. -- Alan J Rosenthal, in alt.sysadmin.recovery ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ======================================================================= From ajb at ebi.ac.uk Wed Nov 2 09:29:53 2005 From: ajb at ebi.ac.uk (ajb at ebi.ac.uk) Date: Wed, 2 Nov 2005 09:29:53 -0000 (GMT) Subject: [emboss-dev] Emboss on Opterons In-Reply-To: References: Message-ID: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> > This version of gcc doesn't define __amd64__, but rather defines > __x86_64__. Ajfmt.[ch] need to be modified to use the latter define, > otherwise they'll segfault. > > Just thought you might like to know, There seems to be little standardisation over the naming of that define, if anything is defined at all. Thanks for the info. I was intending waiting to see whether the compiler people came to some agreement. That may be wishful thinking. Of course, people can still do: setenv CFLAGS __amd64__ before configuring emboss and EMBOSS will then work even for those platforms that define __x86_64__. I'll put in a specific test for __x86_64__ into CVS soon. Thanks again. Alan From ajb at ebi.ac.uk Wed Nov 2 09:38:48 2005 From: ajb at ebi.ac.uk (ajb at ebi.ac.uk) Date: Wed, 2 Nov 2005 09:38:48 -0000 (GMT) Subject: [emboss-dev] Emboss on Opterons In-Reply-To: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> References: <38190.81.96.70.96.1130923793.squirrel@webmail.ebi.ac.uk> Message-ID: <54276.81.96.70.96.1130924328.squirrel@webmail.ebi.ac.uk> That should, of course, have been: setenv CFLAGS "-D__amd64__" Alan