This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/28671] [4.2 regression] undefined reference to `__sync_fetch_and_add_4'



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]