Hello,
I just encounter the same "bad pc-rel vanilla relocation length collect2" error on an Intel Mac running the Server version of Leopard and taking the CVS release as proposed by Erik fixed also the problem.
Many thanks!
Ioannis


Le 8 févr. 08 à 11:17, Erik Lindahl a écrit :

Hi Warner,

I think this is a bug in the assembler/linker shipped with Leopard since the instructions are perfectly valid.
In any case, I've worked around it in the release branch of CVS.

Cheers,

Erik

On Feb 7, 2008, at 8:52 PM, Warner Yuen wrote:

My apologies. I should have known better, but was too lazy to type all the configurations I tried. Its kind of like hitting the "I'm feeling lucky" button on Google. Anyway here's what I tried and always getting the following error:

ld: in ../gmxlib/.libs/libgmx.a(nb_kernel204_ia32_sse.o), in section __TEXT,__text reloc 1: bad pc-rel vanilla relocation length collect2: ld returned 1 exit status

make[3]: *** [grompp] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Compilers used:
gcc version 4.0.1 (Apple Inc. build 5465)
icc version 10.1.007
icc version 10.1.009

Gromacs:
version 3.3.1
version 3.3.2
./configure --prefix=/gromacs/gromacs_test
./configure --prefix=/gromacs/gromacs_test --disable-ia32-sse
./configure --prefix=/gromacs/gromacs_test --with-qmmm-cpmd -- disable-ia32-sse

FFTW-3.1.1
using gcc
./configure --enable-float



Warner Yuen
Scientific Computing
Consulting Engineer
Apple Computer
email: [EMAIL PROTECTED]
Tel: 408.718.2859
Fax: 408.715.0133



On Feb 7, 2008, at 1:21 AM, [EMAIL PROTECTED] wrote:

Message: 1
Date: Thu, 07 Feb 2008 08:20:44 +1100
From: Mark Abraham <[EMAIL PROTECTED]>
Subject: Re: [gmx-users] Re: installation problem for MAC OS
To: Discussion list for GROMACS users <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Warner Yuen wrote:
Hi Gromacs Users

I've looked at trying to build Gromacs 3.3.2 with the pretty much the same configuration and suggestions as below, but I am still running into
the ld error:

ld: in ../gmxlib/.libs/libgmx.a(nb_kernel300_ia32_3dnow.o), in section
__TEXT,__text reloc 1: bad pc-rel vanilla relocation length

Any other suggestions?

Computers are exacting, and so do you need to be when using them, and reporting problems. "pretty much" the same as another user configuring a
3rd-party modification of GROMACS could mean anything, even if the
people you're trying to get free help from can be bothered making sense
of that thread you quoted. They'll be much more interested in what
configure command(s) you are actually using, on what hardware and on
what OS with what results. :-)

Mark

_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

_______________________________________________
gmx-users mailing list    [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [EMAIL PROTECTED]
Can't post? Read http://www.gromacs.org/mailing_lists/users.php

Reply via email to