[LLVMbugs] [Bug 4756] "Undefined reference" errors when linking a C++ program with static objects

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Aug 23 05:45:00 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4756


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asl at math.spbu.ru
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




--- Comment #1 from Anton Korobeynikov <asl at math.spbu.ru>  2009-08-23 07:44:59 ---
cxa_atexit-style destructors are not supported on mingw (well, they actually
are, but in non-standard way - we cannot backport these patches from mainline
gcc due to GPLv3). Unfortunately cross-builds by default assumes that they are
available (this is default gcc behaviour).

You need to configure with --enable-__cxa_atexit=no


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list