This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/56296] Undefined reference to __sync_add_and_fetch_8 for int64_t on MIPS32.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Feb 2013 18:21:34 +0000
- Subject: [Bug libgcc/56296] Undefined reference to __sync_add_and_fetch_8 for int64_t on MIPS32.
- Auto-submitted: auto-generated
- References: <bug-56296-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56296
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-02-12 18:21:34 UTC ---
To get 64bit __sync_add_and_fetch on MIPS, you need to use either n32, n64 or
o64 ABIs or manually use the 64bit instructions if you know you are only to run
on some 64bit processors.