This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2006 23:55:12 -0000
- Subject: [Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'
- References: <bug-28671-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from bero at arklinux dot org 2006-08-09 23:55 -------
Ok, misunderstanding about the compiler flags -- -march=i586 was used to build
the compiler, strigi was built without any -march= tags (making the default
i386, I guess).
Using -march=i586 in strigi makes the problem go away, and the problem is 100%
reproducable even when compiling a simple test app without -march=i586.
Maybe it's just the combination of compiling the compiler (and libstdc++) with
-march=i586 and then compiling an app without it
--
bero at arklinux dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671