[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-bugs
Subject:    Undefined symbol : __sync_fetch_and_add_4  in file  t-assign.o
From:       dclarke () blastwave ! org (Dennis Clarke)
Date:       2011-06-21 16:47:38
Message-ID: 55712.10.0.66.17.1308674858.squirrel () interact ! purplecow ! org
[Download RAW message or body]


> On Tue, 21 Jun 2011, Dennis Clarke wrote:
>
>> -mtune=i386 -march=i386
> [...]
>> Undefined                       first referenced
>> symbol                             in file
>> __sync_fetch_and_add_4              t-assign.o
>
> A classic. You need to replace -march=i386 with something more recent.
> Blame it on gcc if you must.
>

Yeah, thing of beauty, -march=pentiumpro fixes everything.

As for GCC, well, I am in fact working on a build of the GCC 4.6.1 RC that
was release yesterday or the day before and I wanted fresh gmp/mpfr/mpc.

Everythign seems to be going well thus far on both Sparc and x86.

--
+-------------------------+---------------------------------+
| Dennis Clarke           |     Elected Member of the       |
| dclarke at blastwave.org   |  OpenSolaris Governance Board   |
+-------------------------+---------------------------------+



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic